Operating System - HP-UX
1831407 Members
3433 Online
110025 Solutions
New Discussion

Re: How assign root privileges

 
Mauro Gatti
Valued Contributor

How assign root privileges

How can i assign root privileges to an user so he could use "root" statement before any command?
Thank You
Ubi maior, minor cessat!
6 REPLIES 6
eran maor
Honored Contributor

Re: How assign root privileges

Hi

you can put the user in the root group and also the user can do su to user root to work
with user root.
love computers
A. Clay Stephenson
Acclaimed Contributor

Re: How assign root privileges

I'm not quite sure of your question but you can get the sudo package from the HP-UX Porting Center to do this.
If it ain't broke, I can fix that.
boley janowski
Trusted Contributor

Re: How assign root privileges

I too was not clear on your question, but sudo is one. We also use powerbroker. Then you can also use restricted sam, which will allow your users some sam operation privlidges. As I'm sure you know becareful just how much power you give another user.
KapilRaj
Honored Contributor

Re: How assign root privileges

hi,

i failed to understand your question. Do you wanna make a user , root equivalent ?. if yes you can just change his user id to "0".

kaps
Nothing is impossible
Vincenzo Restuccia
Honored Contributor

Re: How assign root privileges

Shannon Petry
Honored Contributor

Re: How assign root privileges

I've seen people make users with UID=0. Remember that overlapping UID numbers can reak havock with X windows, and certain network applications. Some things check UID, while others check for USRNAME! To me IMHO this is a pretty lame method of eithere giving someone root password, or not installing SUDO!

Regards,
Shannon
Microsoft. When do you want a virus today?