Re: AIX 5.2 errormessage: Could not get "user" information "Greg Beeker" <gbeeker@gmail.com> schrieb im Newsbeitrag
news:1103813602.266049.67390@z14g2000cwz.googlegro ups.com...
> No wonder - only root can read /etc/passwd.
> chmod 644 /etc/passwd
> -rw-r--r-- 1 root security 4086 Dec 17 12:22 /etc/passwd
> chmod 640 /etc/security/user
> -rw-r----- 1 root security 10301 Dec 17 12:22
> /etc/security/user
>
Thank you, but this is not the answer.
That are the aix default values for permissions/owner/group for /etc/passwd.
Even if the user becomes owner of /etc/passwd the problem remains:
aix9:/> chown uucp:uucp /etc/passwd
aix9:/> ls -l /etc/passwd
-rw-r--r-- 1 uucp uucp 872 22 Dez 20:16 /etc/passwd
aix9:/>
aix9:/> su - uucp -c id -nu
3004-800 Could not get "user" information
aix9:/>
aix9:/> su - uucp -c id
uid=5 gid=5
aix9:/>
Rgds
Werner |