AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Importing password files

    Posted 10/04/11 11:26 AM

    Originally posted by: alamb200


    Hi,

    I am pretty much a newbie to some aspects of AIX so please can you make any explantions given readable by an idiot.

    Basically my situation is this, I am helping to replace an AIX server at a customers site with a new one.

    So far I have copied the passwd and group files from the old server to a different location on the new server and then used the cat command to merge the old and new paswd and group files to new files called passwdnew and groupnew.

    I then edited these files to make sure that there were no duplicate entries and that the newer servers were the only system files left.

    I then renamed the files on the new server and added the new ones renaming them as I did but when I tried to log on as root it would not let me. I had kept a second session open and so put everything back as was and was able to get back in again.

    Can anyone help me to get this to work.

    Thanks,

    anthony
    #AIX-Forum


  • 2.  Re: Importing password files

    Posted 10/06/11 09:06 AM

    Originally posted by: MarkTaylor


    man mkuser, tab to the bottom and you will see a list of files that control user access .. my guess is that you did not merge /etc/security/passwd ..

    ref:

    Files

    /usr/bin/mkuser
    Contains the mkuser command.
    /usr/lib/security/mkuser.default
    Contains the default values for new users.
    /etc/passwd
    Contains the basic attributes of users.
    /etc/security/user
    Contains the extended attributes of users.
    /etc/security/user.roles
    Contains the administrative role attributes of users.
    /etc/security/passwd
    Contains password information.
    /etc/security/limits
    Defines resource quotas and limits for each user.
    /etc/security/environ
    Contains the environment attributes of users.
    /etc/group
    Contains the basic attributes of groups.
    /etc/security/group
    Contains the extended attributes of groups.
    /etc/security/.ids
    Contains standard and administrative user IDs and group IDs.
    HTH
    Mark Taylor
    #AIX-Forum


  • 3.  Re: Importing password files

    Posted 10/06/11 09:49 AM

    Originally posted by: alamb200


    Hi Mark,

    I think you could be right I remerged the files and it works now.

    Thanks for your reply,

    Anthony
    #AIX-Forum