AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

su is not working with AIX 5.2.0.0

  • 1.  su is not working with AIX 5.2.0.0

    Posted Thu March 04, 2010 11:25 PM

    Originally posted by: SystemAdmin


    HI Folkes,

    I am facing error with su in AIX 5.2.0.0

    I have tried to su form my id since yesterday it is now working,
    The su would give an error. 3004-503 Cannot set process
    credentials : No permission.
    Also all files and folders in /etc changed to 777 automatically.

    I have changed the /etc with comparing other aix machine after that i facing error as: 3004-501 Cannot su to "root" : Authentication is denied.

    I also done
    grpck -n system and ALL
    usrck -n ALL and root

    MY root user details.
    1. lsuser root
    root id=0 pgrp=system groups=system,bin,sys,security,cron,audit,lp home=/ shell=/usr/bin/ksh auditclasses=general login=true su=true rlogin=true daemon=true admin=true sugroups=ALL admgroups= tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=22 registry=files SYSTEM=compat logintimes= loginretries=0 pwdwarntime=0 account_locked=false minage=0 maxage=0 maxexpired=-1 minalpha=0 minother=0 mindiff=0 maxrepeats=8 minlen=0 histexpire=0 histsize=0 pwdchecks= dictionlist= fsize=-1 cpu=-1 data=-1 stack=-1 core=-1 rss=-1 nofiles=2000 stack_hard=-1 time_last_login=1267798121 time_last_unsuccessful_login=1267731428 tty_last_login=/dev/pts/6 tty_last_unsuccessful_login=/dev/pts/29 host_last_login=10.93.4.18 host_last_unsuccessful_login=10.92.2.23 unsuccessful_login_count=0 roles=
    Kindly suggest me to get it work with su.

    Thanks
    Harikrishnan L
    #AIX-Forum


  • 2.  Re: su is not working with AIX 5.2.0.0

    Posted Fri March 05, 2010 12:30 AM

    Originally posted by: Pvrajan


    Hi ,

    Check the below file have proper permission or not.

    ls -lrt /usr/bin/su
    -r-sr-xr-x 1 root security 32596 Sep 17 2008 /usr/bin/su

    ls -ld /
    drwxr-xr-x 29 root system 4096 Mar 02 11:18 /
    #AIX-Forum


  • 3.  Re: su is not working with AIX 5.2.0.0

    Posted Fri March 05, 2010 01:58 AM

    Originally posted by: SystemAdmin


    Hi Rajan,

    Thanks for your reply

    I have checked file permissions are ok.
    1. ls -ld /
    drwxr-xr-x 28 bin bin 1536 Mar 02 11:20 /
    1. ls -lrt /usr/bin/su
    -r-sr-xr-x 1 root security 19116 Jun 12 2002 /usr/bin/su
    #AIX-Forum