The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can't login root account due to can't find root shell neikel AIX 2 01-30-2008 07:07 PM
how to access root priveliges if root password is lost wojtyla Linux 1 02-18-2005 02:24 AM
Run non-root script as root with non-root environment bubba112557 UNIX for Dummies Questions & Answers 2 12-02-2004 08:39 PM
Lost root password / Can't login as root Perderabo Answers to Frequently Asked Questions 0 06-22-2004 04:40 PM
Root creation under HP-UX platform Medhi Shell Programming and Scripting 1 04-03-2002 01:58 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-03-2002
Registered User
 

Join Date: Mar 2002
Location: France
Posts: 3
Question 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
Forum Sponsor
  #2 (permalink)  
Old 04-03-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
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?
  #3 (permalink)  
Old 04-03-2002
Kelam_Magnus's Avatar
Unix does a body good.
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
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.



__________________
My brain is your brain
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0