From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,17a0b97e974fce01 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-05 06:05:58 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.mesh.ad.jp!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!koehler From: koehler@encompasserve.org (Bob Koehler) Newsgroups: comp.unix.tru64 Subject: Re: Auditing Tru64 unix systems - a few questions Message-ID: References: <9bbdf680.0106050123.7be20ef4@posting.google.com> Organization: Encompasserve Date: 5 Jun 2001 09:05:55 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 991746357 216.44.122.34 (Tue, 05 Jun 2001 13:05:57 GMT) NNTP-Posting-Date: Tue, 05 Jun 2001 13:05:57 GMT Xref: archiver1.google.com comp.unix.tru64:2432 In article <9bbdf680.0106050123.7be20ef4@posting.google.com>, andysands@yahoo.com (Andy Sands) writes: > 1) If a system IS NOT configured to use enhanced security, so that the > encrypted user passwords are still stored in the world readable > /etc/passwd file, does the existence of the asterisk (*) in the > password field indicate that the account cannot be used to login to > the system? > > In these circumstances are 'nologin' '*nologin' and '*' all valid > login disablers for the password field? One generally assumes any legible field would not be the result of a crypt() hash, so the account is effectively disabled. In particular short fields don't have storage enough for the seed. It might be possible to pick a password which does crypt() to a legible string, but at least nobody is likely to know what that password is by reading the string. > 2) If a system IS configured to use enhanced security, what value > should be placed in the password field in /etc/passwd to disable > logins to that profile? See other posts. > 3) If no login_shell is associated with a userid in /etc/passwd, does > this also disable logins to that profile, or does the system assign a > default login_shell from somewhere? Generally a login shell of /bin/true allows the account to "log in", but doesn't actually prompt for anything before logging out. Sometimes this is usefull for setting up an account to be used for non-interactive purposes (for example, it might be acceptable to an FTP deamon, don't know if it is on Tru64). ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying