AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Change Same UID's Password

    Posted Thu July 10, 2008 10:19 PM

    Originally posted by: SystemAdmin


    I created a account "padm", uid=0. I logon "padm" and type "passwd" to change password, but it change the password of "root", instead of "padm". Is any setting can solve this problem?

    I don't want to use "passwd padm" command.
    #AIX-Forum


  • 2.  Re: Change Same UID's Password

    Posted Fri July 11, 2008 10:02 AM

    Originally posted by: alethad


    You created your user with the same UID as root. Hence the reason why when you changed the password for padm it changed root's password.
    Go change the UID for the padm user to something other than 0.

    Unless you are trying to do something else like make a second root user id.
    #AIX-Forum


  • 3.  Re: Change Same UID's Password

    Posted Fri July 11, 2008 11:47 AM

    Originally posted by: esv


    Tavon wrote:
    I created a account "padm", uid=0. I logon "padm" and type "passwd" to change password, but it change the password of "root", instead of "padm". Is any setting can solve this problem?

    I don't want to use "passwd padm" command.
    strange, I've lived with that environment for over 10yrs and never had an issue. if you are running AIX 5.3 try the chpasswd command.

    best regards,
    esv.
    #AIX-Forum


  • 4.  Re: Change Same UID's Password

    Posted Fri July 11, 2008 10:51 PM

    Originally posted by: SystemAdmin


    Yes. I must create a user have uid=0. I did not get this problem in solaris. I wonder AIX has limitation in this "passwd" command. or any setting I did wrong?
    #AIX-Forum


  • 5.  Re: Change Same UID's Password

    Posted Thu July 17, 2008 08:32 AM

    Originally posted by: SystemAdmin


    Hi

    as far as I can remember, you have the possibility the create multiple users with the same user-id under solaris (useradd -o), but this "concept" doesn't exist under AIX; strange thing anyway that you were able to do that. whatever you want to achieve with this padm-user, you have to do it via group access privileges or you might try the new rbac features of aix 6.1.

    best regards
    #AIX-Forum


  • 6.  Re: Change Same UID's Password

    Posted Thu July 17, 2008 08:37 AM

    Originally posted by: esv


    simple: manually edit /etc/passwd.

    I know, it is an awful practice but works.
    #AIX-Forum