From: Mike Mohr <Mike.Mohr@aut.ac.nz>
Subject: Re: Shadowed passwords?
Date: Wed, 11 Jul 2001 10:38:00 +1200 [thread overview]
Message-ID: <3B4B83C8.60B14A19@aut.ac.nz> (raw)
In-Reply-To: 3B49AFD9.6A823C8F@zk3.dec.com
John Ferlan wrote:
> Other unices implement shadow passwords by using /etc/shadow - as far as I
> understand it, /etc/shadow is nothing more than /etc/passwd except that it's
> not world readable (and may not live in /etc depending on implementation).
> The format is the exact same as /etc/passwd.
>
> "Protected passwords" or "Shadow Passwords" on a Digital UNIX, Tru64 UNIX,
> etc system is implemented using the "Enhanced Security" subset. Enhanced
> Security is also sometimes referred to as C2 security. The ES subsystem can
> be configured to meet/exceed C2 standards, but it can also be configured to
> implement a less strict system, while still providing the functionality of
> hiding the password from the general user. ES is really just a way of
> providing (and hiding) more functionality to the sysadmin for greater
> control over the security policy on the system. Read the 'prpasswd' (4) and
> 'default' (4) man pages as well as the security guide.
>
> Note that in 4.0 it wasn't explicitly called "shadow passwords", a sysadmin
> that knows what features they want out of ES could configure their system to
> not have all the strictness of a C2 system. In the 5.x release, what we did
> was create the ability to have it automagically configured for you. The
> "secsetup" script was replaced by "secconfig" (available from sysman) that
> allowed one more option - the ability to configure the ES system minimally
> to have the appearance of a shadow password system.
>
> In addition, the other "somewhat major" difference between 4.x and 5.x is
> the ability to turn off the logging of successful and unsuccessful logins to
> the authentication database that was added in the v5.x base. Other than
> that, if one wanted to configure their 4.x system to be a minimal ES system,
> they could do so with a little bit of effort.
>
I was under the impression that /etc/shadow was in actuality a small database
keyed to username, uid and encrypted password. In many of the unices I've dealt
with, the password field contains blanks if shadow passwords are in effect. The
only other value contained in that field might be an asterisk-comment indicating
the user is locked out of the system.
================================================================
Mike Mohr, Systems Administrator === Email: Mike.Mohr@aut.ac.nz
Information Technology Group === Phone: 64 9 917-9999 x8133
Auckland University of Technology === Fax: 64 9 917-9901
PO Box 92006, Auckland, New Zealand =
http://home.aut.ac.nz/staff/mmohr/
================================================================
Chaos reigns within. Repent, reflect, reboot. Order shall return.
next prev parent reply other threads:[~2001-07-10 22:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-26 13:38 Shadowed passwords? Jerome Bellet
2001-06-26 14:37 ` nick de Beer
2001-06-27 6:52 ` Jerome Bellet
2001-06-28 11:36 ` Jerome Bellet
2001-06-28 13:14 ` nick de Beer
2001-06-28 14:32 ` Jerome Bellet
2001-06-29 8:02 ` nick de Beer
2001-07-09 13:21 ` John Ferlan
2001-07-10 22:38 ` Mike Mohr [this message]
2001-07-13 15:47 ` Ann Majeske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox