Multiple root accounts in linux/unix......

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmberJain
    Recognized Expert Contributor
    • Jan 2008
    • 922

    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........ ......
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    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:
    Code:
    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:
    Code:
    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

    Comment

    Working...