Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you make a user no log, but still can be sued to?

Status
Not open for further replies.

SNSA

IS-IT--Management
May 10, 2005
1
US
On Sco UNIX I need to make a user be a no log user, but other users can still su to it. Is there an attribute that will allow me to do this type of action? I've searched through the userls command and found the attribute suOnly, but am really not sure what that is, can anyone help?

Thanks,

SNSA
 
There might be a better way, but this works for me:

Create the user in the normal fashion. Modify their login script ( .profile in their home directory ) to exit immediately.

Now other users can "su" to that account. They will still need to enter the password. They cannot use the "su - accountname" syntax, or they will process the .profile and get bounced right back out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top