Re: AIX 5.2 errormessage: Could not get "user" information
"Laurenz Albe" <albe@culturallNOSPAM.com> schrieb im Newsbeitrag
news:cqp276$apn$1@at-vie-newsmaster01.nextra.at...
> Werner Behnke <w.behnke@uni-bonn.de> wrote:
> > my problem: "normal" non-root-users on an AIX 5.2 system don't get their
> > username.
> > Example:
> >
> > aix9:/> id
> > uid=0(root) gid=0(system)
> > groups=2(bin),3(sys),7(security),8(cron),10(audit) ,11(lp)
> > aix9:/>
> > aix9:/> /bin/su - informix -c "id"
> > uid=1001 gid=1000
>
> >
> > ============== details =======================================
> >
> > I tried to debug what happens with
> > truss -e /bin/su - informix -c "id -nu"
> > These files were opened:
>
> > open("/etc/profile", O_RDONLY) Err#13 EACCES
>
> > but I cannot find s.th. unusual.
>
> I can :^)
> Maybe a 'chown 0644 /etc/profile' can remedy your problem.
>
> Yours,
> Laurenz Albe
thank you, but the problem still exists (r-xr-xr-x seem to be aix-default):
aix9:/> ls -l /etc/profile
-r-xr-xr-x 1 bin bin 1801 13 Sep 2002 /etc/profile
aix9:/>
aix9:/> chmod 0644 /etc/profile
aix9:/>
aix9:/> su - uucp -c id -nu
3004-800 Could not get "user" information
aix9:/>
Regards
Werner |