About Linux FAQ

Browse More FAQs:

Can I create another root user account in Linux / UNIX?

Posted by Vivek Gite [Last updated: September 25, 2007]

Q. I’d like to create my root account in Linux. How do I do it?

A. Root user is superuser on a Unix / Linux system. Root user has all rights or permissions. . The root user can do many things an ordinary user cannot do on system such as start / stop services, grant / revoke any permissions, open ports (especially < 1024 ports), user management and much more. The root user is the most privileged user on the system and has absolute power over it.

By default almost all Linux distributions and UNIX like operating system creates the root account at the time of installation. You don’t have to create a new root account. Use su or sudo command to run administrative task as the root user.

Creating another root user can be a security risk. Root has a UID of zero in /etc/passwd. This means absolute control over the system for the root user. You can set any user id to 0 (zero) to grant unlimited permissions provided that you login as root.

However some variants of UNIX provides additional account. For example BSD provides a toor ("root" backwards) account in addition to a root account.

It is recommended that you use root only when required and there is no need to create a new root user account.

Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

Related Other Helpful FAQs:

Discussion on This FAQ

  1. SMak Says:

    In general when a response is label A for answer, the response will actually answer the question

  2. Nasim Says:

    Who can I change the root account Passward what was created at the time of installation.

    I know the existing passowrd but I need to chenge it for security.

  3. anthony Says:

    so how do i do it, i know its a security risk just how do i do it.

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , ,

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.