[TriLUG] how to unshadow

Jeremy Portzer jeremyp at pobox.com
Mon Nov 4 13:13:13 EST 2002


On Mon, 2002-11-04 at 13:04, Ryan Leathers wrote:
> 
> 
> Quick one I hope - - - im in a pinch - how do I unshadow my passwd 
> 	Is there a shell script - do I have to do it by hand - or is
> there a passwd argument
> 

Just curious --

Why would you want to "unshadow" your password files?  All current
programs should be able to use a shadow password file just fine.  Are
you trying to run something really really old that doesn't use PAM or
even shadow password files?

The shadow passwords are in /etc/shadow, so you could just copy them
into the password fields in /etc/passwd by hand, or write a simple shell
script to do it.

--Jeremy




More information about the TriLUG mailing list