AIX

AIX

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


#Power
#Power
 View Only
  • 1.  problem switching to root

    Posted Fri November 07, 2008 08:56 AM

    Originally posted by: GurpreetSingh


    We are facing problem while switching as root user on the server. We are able to solve the problem, by running by mkpasswd -c (i.e by rebuilding the indexes), for time being but the problem re-occurs everyday.

    This is the message we are getting while loging in as root:

    local/users/username
    username@server $ su -
    root's Password:
    3004-502 Cannot get "LOGNAME" variable.

    Any solution???????
    #AIX-Forum


  • 2.  Re: problem switching to root

    Posted Fri November 07, 2008 11:42 AM

    Originally posted by: SystemAdmin


    Sounds like something is not set correctly in /.profile. The .profile in the / directory.

    #cd /
    #grep LOGNAME ./.profile

    May just need a LOGNAME=Something.
    #AIX-Forum