Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-12-2003, 12:29 AM   #1
LQ Newbie
Registered: Dec 2002
Posts: 26

Rep: Reputation: 15
renaming root account

How do i rename root account?
Is it possible to add another user to root group so that he can also have root previleges, If yes how?
Old 06-12-2003, 02:00 AM   #2
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
Just to let you know renaming root is a very very bad idea. There are too many things that can go wrong and you could end up not being able to use your own system.

To add another user with root privaleges just make sure he's in the root group. If you really want to change the root name go into /etc/passwd and change the name....

Did I mention that was a bad idea??
Old 06-12-2003, 07:57 AM   #3
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 5 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux
Posts: 140

Rep: Reputation: 15
Alternatively you could add a user to your sudoers file in /etc

This will allow another user to have administrative rights and rather than type su they type sudo.

Like rmartine says - it isn't always a good idea !


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
How do I retain the PATH in the root account even when I switch to root using su? thearchitect Linux - Newbie 1 08-13-2005 12:02 AM
Can't get root account ssimontis Ubuntu 6 07-05-2005 07:07 PM
More than one root account?? pcdude Mandriva 2 09-17-2004 03:04 AM
Renaming of Root id RajaRC Linux - Security 1 08-30-2004 06:04 AM
Root Account???????? Silverado2000 Linux - General 5 02-01-2002 12:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 PM.

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