* Auditing Tru64 unix systems - a few questions
@ 2001-06-05 9:23 Andy Sands
2001-06-05 11:36 ` John Ferlan
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Andy Sands @ 2001-06-05 9:23 UTC (permalink / raw)
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?
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?
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?
Hope this makes some sense,
Thanks in advance,
Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Auditing Tru64 unix systems - a few questions
2001-06-05 9:23 Auditing Tru64 unix systems - a few questions Andy Sands
@ 2001-06-05 11:36 ` John Ferlan
2001-06-05 13:03 ` Paul Victor Novarese
2001-06-05 14:05 ` Bob Koehler
2 siblings, 0 replies; 4+ messages in thread
From: John Ferlan @ 2001-06-05 11:36 UTC (permalink / raw)
Andy Sands wrote:
> 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
>
>
> 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?
"*"
The "password" will now be in the auth.db in the "u_pwd=" field. All that
happens is
that it's moved from /etc/passwd into the auth.db record. Then depending
on how one
converted from base to enhanced the account is tagged with must change
password on
next login. Of course there's no way to type a password, crypt it, and
get "NOLOGIN"
in return. So those accounts are disabled.
>
>
> 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?
/bin/sh is given. That's easy to test by the way...
--
John Ferlan
Tru64 UNIX Security
Compaq Computer Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Auditing Tru64 unix systems - a few questions
2001-06-05 9:23 Auditing Tru64 unix systems - a few questions Andy Sands
2001-06-05 11:36 ` John Ferlan
@ 2001-06-05 13:03 ` Paul Victor Novarese
2001-06-05 14:05 ` Bob Koehler
2 siblings, 0 replies; 4+ messages in thread
From: Paul Victor Novarese @ 2001-06-05 13:03 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Auditing Tru64 unix systems - a few questions
2001-06-05 9:23 Auditing Tru64 unix systems - a few questions Andy Sands
2001-06-05 11:36 ` John Ferlan
2001-06-05 13:03 ` Paul Victor Novarese
@ 2001-06-05 14:05 ` Bob Koehler
2 siblings, 0 replies; 4+ messages in thread
From: Bob Koehler @ 2001-06-05 14:05 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-05 14:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-05 9:23 Auditing Tru64 unix systems - a few questions Andy Sands
2001-06-05 11:36 ` John Ferlan
2001-06-05 13:03 ` Paul Victor Novarese
2001-06-05 14:05 ` Bob Koehler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox