Operating System - HP-UX
1752682 Members
5689 Online
108789 Solutions
New Discussion юеВ

Re: User account with root privilages

 
SOLVED
Go to solution
Subentu
Frequent Advisor

User account with root privilages

In HP-UX 11.23, is it possible to create a user account with root privileges ?

Thanks in advance
8 REPLIES 8
Johnson Punniyalingam
Honored Contributor
Solution

Re: User account with root privilages

>>In HP-UX 11.23, is it possible to create a user account with root privileges ?<<<

Yes,

Create "normal" user account
Install sudo

and use "sudo" for user account to have root privileges.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: User account with root privilages

>is it possible to create a user account with root privileges?

Since this quacks like a duck: :-)
This would then be a root account.

You could use sudo as Johnson said, or RBAC.
Kapil Jha
Honored Contributor

Re: User account with root privilages

Well if you want to create it for some time and u don have sudo or RBAC.
Just edit the userid of user to 0
and he would Njoy all root rights.

This is illegal though ;)

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

Re: User account with root privilages

As mentioned above (post) by changing the "uid" of the user account to "0" .. bit dangerous,
always better you "sudo"
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: User account with root privilages

-> what is your model of your server ?

# model

so that if you are interested will attached the depot for sudo
Problems are common to all, but attitude makes the difference
Subentu
Frequent Advisor

Re: User account with root privilages

wbscsp01[/]#model
ia64 hp server rx7620


Johnson Punniyalingam
Honored Contributor

Re: User account with root privilages

check attachment file.
Problems are common to all, but attitude makes the difference
madhuchakkaravarthy
Trusted Contributor

Re: User account with root privilages

Hi

create a user account and give root permission to that guy in sudo file.

cat /etc/sudoers

User_Alias ADMINS = [ add the user name who wants to enjoy root access ]

root ALL = (ALL) ALL
ADMINS ALL = NOPASSWD: ALL

regards

MC