Operating System - HP-UX
1838655 Members
3762 Online
110128 Solutions
New Discussion

assigning user root privileges

 
Amit Dixit_2
Regular Advisor

assigning user root privileges

Hi,
I want to create a user on my HP-UX 11 so
that it is having all the privilges of su

Thanks,
Amit
7 REPLIES 7
Joseph Loo
Honored Contributor

Re: assigning user root privileges

hi amit,

if u r asking about granting another user with root privileges, this username must have a UID of 0.

regards.
what you do not see does not mean you should not believe
MarkSyder
Honored Contributor

Re: assigning user root privileges

I would recommend using sudo so you can monitor what this user does.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
sreejith_4
Frequent Advisor

Re: assigning user root privileges

Hi,

You need to install sudo first.
get it from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.7p5/

Thanks
Sreejith M
Bharat Katkar
Honored Contributor

Re: assigning user root privileges

Amit,
Super user is root and su (switch user) is a command.
If you want to create root equivalent user then try creating users with UID 0, that will work but it is not a good idea to have more users with root priviledges instead go for sudo as suggested earlier.

Regards,
You need to know a lot to actually know how little you know
Sajeesh O.K
Advisor

Re: assigning user root privileges

Create the user with UID 0
But very careful

Sajeesh
Sanjay Kumar Suri
Honored Contributor

Re: assigning user root privileges

Previous post offers the way to do the same.

What is role/purpose that will be assigned to the new user with super user privileges?

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
KapilRaj
Honored Contributor

Re: assigning user root privileges

User id with "0" is an option , but i would prefer sudo so that you have control over prevgs given.

Kaps
Nothing is impossible