AIX

AIX

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

 View Only
  • 1.  Create two accounts with the same username?

    Posted Sat August 29, 2009 09:11 AM

    Originally posted by: SystemAdmin


    Hi there, I am a newbie to Unix.

    I am doing some kinds of test that relate to duplicate username.

    Can anyone show me how to create two account with the same user name in AIX (not just add text to /etc/passwd)?

    Thanks in advance.


  • 2.  Re: Create two accounts with the same username?

    Posted Tue September 01, 2009 06:59 AM

    Originally posted by: ostost


    I don't think there is any other way than directly editing /etc/passwd. Having two accounts with the same name should be avoided. Therefore the normal user management commands (mkuser) will not let you do it.


  • 3.  Re: Create two accounts with the same username?

    Posted Thu September 03, 2009 09:48 PM

    Originally posted by: SystemAdmin


    Hi,

    It should not be possible to have two accounts with the same username. Unless you are refering to a situation, similar to one we have, where a user uses a lowercase username for normal operations and an uppercase username for administrative operations. In UNIX, the two usernames are considered as being two separate accounts, as they possess separate user ID's.

    From a security point of view, two users with the same user ID is more of an issue.

    Regards,
    George