Second Root creation on a HP-UX platform

I wanna create a second root on a HP-UX platform.
Does someone knows how to do ???
I didn't find anything about that on hp site, and i am sure i've herad about it.

Thanks

Do you mean two root users?
If you are using a "normal" system, you could edit the /etc/passwd file copy the line that identifies root, rename the user, and passwd it or clear out the password.

This is generally not a great idea, since some things (like the mail command) can break.

Would su or sudo work for you?

We have veritas netbackup installed and it has root UID of 0.

However, it is setup with a different home directory, password. I believe in this case it doesn't interfere with our root mail.

root: password here:0:3::/root:/sbin/sh

rootnb: password here:0:3:Veritas Root account,,,:/home/nbu/rootnb:/usr/bin/sh

Create a new user with a different home direcotry and UID of 0. Just remember that this is somewhat dangerous. You may only wish to give sudo privledges to a user. edit the /etc/sudoers file to give root command authorization to a user or users.

:cool: