LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 07-15-2009, 12:49 AM   #1
brainlesseinstein
LQ Newbie
 
Registered: Jul 2009
Location: Pakistan
Posts: 7

Rep: Reputation: 0
Question Alternate root user


Hello,

I want to create another user with the same rights as that of root but when that alternate user tries to switch to root, it is prompted to input the root password.

I can create a user with rights equal to that of root but I dont know anything about how it would be prompted for a root password when it tries to switch to root.

B.E.
 
Old 07-15-2009, 01:17 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
Can I just ask why?

Why do you need a second root user?

If you need to run administrative tasks from another user account, look into using sudo.
 
Old 07-15-2009, 02:11 AM   #3
brainlesseinstein
LQ Newbie
 
Registered: Jul 2009
Location: Pakistan
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I want to have several users with equivalent rights as that of root but they have to be identified by their own unique usernames so that any change made by them can be tracked.

B.E
 
Old 07-15-2009, 02:21 AM   #4
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
Really, use sudo. It was made for exactly this purpose.

Regards,

G
 
Old 07-15-2009, 10:45 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Or, for a pure Solaris solution, remove root as a user account and make it a role instead.

This is the trend and the default configuration with OpenSolaris.

You can also grant limited privileges instead of the whole root stuff to these accounts.

http://dlc.sun.com/osol/docs/content...V6/rbac-1.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
How can I have a script owned as root and run as root by a user: setuid? stickey bit? abefroman Linux - Newbie 9 04-19-2008 05:15 PM
why lftp command run failed when user isn't root, but ok when logining as root steven_yu Linux - Software 0 06-06-2007 08:36 PM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
run command as alternate user joeca Linux - General 1 08-06-2003 04:31 PM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration