Results 1 to 4 of 4
Can we add multiple user with same uid....
help pls...
- 08-31-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 25
How to add multiple user with same uid
Can we add multiple user with same uid....
help pls
- 08-31-2010 #2
Yes we can.
- 08-31-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 6
Yes, we can add by the following command
# useradd -ou <uid> <username>
example # useradd -ou 1001 user1
#useradd -ou 1001 user2
(-o for non-unique and -u to give uid , as you know it)
- 09-02-2010 #4Just Joined!
- Join Date
- Sep 2010
- Location
- Dhaka, Bangladesh
- Posts
- 29
you could also manually edit /etc/passwd, /etc/shadow, /etc/group and if necessary /etc/gshadow..but kinda risky since permission is set based on UID instead of user names..


Reply With Quote