Operating System - HP-UX
1753770 Members
5160 Online
108799 Solutions
New Discussion юеВ

creating the user with the uid '0'

 
SOLVED
Go to solution
gany59
Regular Advisor

creating the user with the uid '0'

how to create the multiple users with the id '0'.
Root is also the user owning the uid '0'.

could any body tell me how to create it ?

Thanks in advance
17 REPLIES 17
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: creating the user with the uid '0'

hi,

that it's not possible, because each user must have unique ID, but you could asign a special group to the specified users, or use sudo for example.

mikap
Johnson Punniyalingam
Honored Contributor

Re: creating the user with the uid '0'

>>how to create the multiple users with the id '0'.
Root is also the user owning the uid '0'.

could any body tell me how to create it ?<<



It depends of what purpose you are willing do ?

you can perform above safe and secure by "sudo"

Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: creating the user with the uid '0'

Check Below Thread, for more information on

Installation of Sudo and Configuration

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1259648615352+28353475&threadId=1237439
Problems are common to all, but attitude makes the difference
Steven Schweda
Honored Contributor

Re: creating the user with the uid '0'

A Forum search for
uid 0
should find many old threads on this topic,
most of which seem to advise against doing
it.
Venkatesh BL
Honored Contributor

Re: creating the user with the uid '0'

You could as well give the root passwd to that user! :)

Kapil Jha
Honored Contributor

Re: creating the user with the uid '0'

not a good idea to make user with userid '0'

well youcan not create it, but you can change it later in passwd file and that user would behave like root.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Nido
Trusted Contributor

Re: creating the user with the uid '0'

>>>>how to create the multiple users with the id '0'.
>>>>Root is also the user owning the uid '0'.

Please forgive your poor machine ;-) and install sudo with appropriate priviledges to specific users.

>>>>could any body tell me how to create it ?
You can manually change uid to 0 after user account creation but its highly NOT-RECOMMENDED.

Cheers!!
" Let Villagers Be Happy!! "
gany59
Regular Advisor

Re: creating the user with the uid '0'

Hi folks,

for giving the root permission to the some users . it is needed..
Kapil Jha
Honored Contributor

Re: creating the user with the uid '0'

NO its not needed[user_id 0] to give root permission.

Thats what people are talking about here is to install sudo which would give only necessary access to another user.

BR,
Kapil+
I am in this small bowl, I wane see the real world......