Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2004
    Posts
    245

    How can i add another root ( user with full root access) ?

    Hi folks,
    i want to know what is the command can i use it to add another user to my LINUX system with full root access ?

    also can i add this user without showing his home in /home dir. i mean a hidden user ...

    thnx in advance

  2. #2
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    The easy way to do this is by editing the password file and changing the user, group entries to '0' . For example if you like to give root access to user 'learnerman', just edit the file

    vi /etc/passwd

    and change it to :

    suburban:x:0:0::/home/learnerman:/bin/bash

    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  3. #3
    Join Date
    May 2001
    Location
    @ Work - Usually!
    Posts
    835
    When you create the user you can specify the directory to be somewhere other than /home

  4. #4
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    Ahh..small correction it should be :

    learnerman:x:0:0::/home/learnerman:/bin/bash
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  5. #5
    Join Date
    Apr 2004
    Location
    SF Bay Area
    Posts
    879

    Re: How can i add another root ( user with full root access) ?

    Originally posted by learnerman
    Hi folks,
    i want to know what is the command can i use it to add another user to my LINUX system with full root access ?
    Why?

    My suggestion is to use sudo.

  6. #6

    Re: Re: How can i add another root ( user with full root access) ?

    Originally posted by boethius
    Why?

    My suggestion is to use sudo.
    I would second this strongly!
    Game control panels - control your game world your way. Server-Genie.com
    http://www.server-genie.com

  7. #7
    you can also do it in WHM in the resellers "feature list" put "all features" which will give that account root access.

  8. #8
    Join Date
    Oct 2004
    Location
    India
    Posts
    509
    User sudo as another user in the root's group can caused damage if you fail to remember that you didnt log in as a general user. You may accidentally delete files that were not supposed to be done.
    ESC :wq!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •