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:03:55 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: tyler_durden0x0@yahoo.com (Paul Victor Novarese) Newsgroups: comp.unix.tru64 Subject: Re: Auditing Tru64 unix systems - a few questions Date: 5 Jun 2001 06:03:54 -0700 Organization: http://groups.google.com/ Message-ID: References: <9bbdf680.0106050123.7be20ef4@posting.google.com> NNTP-Posting-Host: 161.114.88.71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 991746234 2402 127.0.0.1 (5 Jun 2001 13:03:54 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 5 Jun 2001 13:03:54 GMT Xref: archiver1.google.com comp.unix.tru64:2431 andysands@yahoo.com (Andy Sands) wrote in message news:<9bbdf680.0106050123.7be20ef4@posting.google.com>... > 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? Yes. > In these circumstances are 'nologin' '*nologin' and '*' all valid > login disablers for the password field? Yes. "*" is probably the best, however, since the crypt function will never produce that character. > 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? If enhanced security is enabled, the contents of the password field in /etc/passwd are effectively ignored. Instead, you need to lock the account using the enhanced security tools. The easiest way would be to turn the administrative lock on: # edauth -g username | sed 's/u_lock@/u_lock/' | edauth -s > 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? No, /bin/sh is used as a default, in both standard and enhanced security installations. -- paul victor novarese novarese AT novarese DOT net