View Single Post

   
  #5 (permalink)  
Old 01-05-2008, 05:27 AM
Laurenz Albe
 
Posts: n/a
Default Re: AIX 5.2 errormessage: Could not get "user" information

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
Reply With Quote