If you really need shadow, you could conceivably edit the files 
yourself.  I have done it sucessfully under Solaris after ftping 
a working passwd file from a Dgux system.  I was naieve and did 
not know that Sun provided a utility to do this.  

Read the man pages to get the syntax right, but essentially the 
encrypted password is removed from passwd and replaced with a 
flag character.  The same encrypted password goes in the shadow 
file.  Field one, the uid, is the same in both files.  The rest 
of the fields in shadow have to to with ageing, etc.  

The important thing to remember is that there has to be a line 
for line coorespondence between passwd and shadow, and that 
shadow is unreadable, except by root (chmod 400 passwd).  

--Brian


Karl Ferguson wrote:
> 
> Hi Guys.
> 
> I'm trying to convert to the shadow system and running into a brick wall.
> There used to be a shadow package in expermental that you'd simply install
> and hey presto you'd be using a shadow system.  I see that there's a
> "login" and "passwd" package that pertain to this in the base directory,
> but installing these don't convert my system to shadow.  Can someone
> enlighten me?
> 
> Regards
> 
> --
> Karl Ferguson,
> Tower Networking Pty Ltd    Tel: +61-8-9456-0000        [EMAIL PROTECTED]
> t/a STAR Online Services    Fax: +61-8-9455-2776        [EMAIL PROTECTED]
>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to