Operating System - HP-UX
1753272 Members
5034 Online
108792 Solutions
New Discussion

Re: Duplicate root account.

 
SOLVED
Go to solution
Tingli
Esteemed Contributor

Re: Duplicate root account.

Take a look at man sudoers, there might be something to help you.
Raj D.
Honored Contributor

Re: Duplicate root account.

Bullz,

Yes, you can create duplicate root id, with -o option with useradd command.
#useradd -u 0 -o ..... -m /home/root1 root1

http://docs.hp.com/en/B2355-60105/useradd.1M.html



However it is wise to use sudo , and that way system will be secure and access can be delegated properly.

There is another good software available ($$) for access control is powerbroker and can be used for wide range of unix systems including linux:

http://www.beyondtrust.com/products/pbreviews.asp

HTH,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Dennis Handly
Acclaimed Contributor

Re: Duplicate root account.

bullz
Super Advisor

Re: Duplicate root account.

Folks,

I really appreciate the replies which you all sent.
Still points need to be assigned for ROOTSH posts. I do that shortly.

Major challenge here is, can I get a root access ( eventually I should login as root ) for normal user without below options.

â ¢ There shouldnâ t be any duplicate UID of 0 (zero)
â ¢ SUDO also strictly restricted for some reason

I got an advice to install ROOTSH, but my question here is, will it work without SUDO?
Also, will it work on Linux, and solaris too?