[KLUG Members] RedHat 7.0/Bastille Linux passwd problem

Bruce Smith members@kalamazoolinux.org
13 Aug 2002 19:18:04 -0400


> I have been trying to add four users to a custom server installation of
> RedHat 7.0, hardened with Bastille linux. I can create user accounts, but
> cannot set the passwords. I really don’t have a clue, but I suspect it is a
> PAM auth setting that happened when I ran the Bastille linux hardening
> scripts.
> 
> >From runlevel 3, as root, I tried using linuxconf to add johndoe as a POP3,
> email only, account. When I got to the password dialog, I typed in the
> password, twice, but the password operation failed with a password not set
> error.
> 
> I quit linuxconf and did a less /etc/passwd. The user account had been
> created but had !! in the encrypted password field, so it was locked.

Not necessarily.   Your system probably has shadow passwords enabled.
(it sounds like something bastille would enable)

Check for the file /etc/shadow , if it exists then your passwords are
stored in there.  

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------