[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Shawdow passwords only half there



Paul Waldo wrote:
> 
> Hi all,
> 
> I am running Red Hat 5.2 with shadow passwords installed.  I have run
> the password and group conversion utilities, so I know have the files
> /etc/shadow and /etc/gshadow
> I manually set the /etc/passwd and /etc/group file's permission to 600.

I think this is your problem.  The passwd file can only be read by the
owner (root), and when you are some other user, you're locked out.  On
my machine, /etc/passwd has permissions 644.


> Most things work now.  For example I can log on (which is a good thing
> :-)  But other things are broken, for example:
> 
> [I have no name! delphi /etc]$ whoami
> whoami: cannot find username for UID 500
> 
> I have run strace on the whoami command and found that it is trying to
> look at /etc/passwd.  Is there something else that I need to do to get
> shadow passwords working fully?  TIA
> 
> Paul
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                 http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request redhat com with
>                        "unsubscribe" as the Subject.

-- 
By sending or receiving the following lines of text, you may be in
violation of United States law: see http://www.dcs.ex.ac.uk/~aba/rsa/

print pack"C*",split/\D+/,`echo
"16iII*o\U {$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]