Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 9th, 2008, 03:49 PM
ambrnewlearner's Avatar
Expert
 
Join Date: Jan 2008
Location: My country ;)
Age: 18
Posts: 587
Default Multiple root accounts in linux/unix......

Is it possible to have multiple accounts in Linux/unix with privileges equal to 'root' account? If yes, how to do that (i.e. how to provide an account in linux with ROOT privileges)?

THANKS in advance..............
Reply
  #2  
Old August 11th, 2008, 08:05 AM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Age: 21
Posts: 1,996
Default

For a lot of things, it should be enough to add an existing user to the root group. You would use a command like this:
Expand|Select|Wrap|Line Numbers
  1. usermod -a -G root myusername
("root" being the group in this case and "myusername" being the user name)
Of course, you'll have to do this as root.

A further possibility would be to use sudo, which will allow users to run commands as root like this:
Expand|Select|Wrap|Line Numbers
  1. sudo runmycommand
In some distributions sudo is installed by default, in others you'll have to install it yourself. If you need further instructions on that, please tell us your distribution.

Greetings,
Nepomuk
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles