LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-12-2003, 01:29 AM   #1
nuttyvishal4u
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, 03:00 AM   #2
rmartine
Member
 
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, 08:57 AM   #3
mazzo
Member
 
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 !
 
  


Reply


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 01:02 AM
Can't get root account ssimontis Ubuntu 6 07-05-2005 08:07 PM
More than one root account?? pcdude Mandriva 2 09-17-2004 04:04 AM
Renaming of Root id RajaRC Linux - Security 1 08-30-2004 07:04 AM
Root Account???????? Silverado2000 Linux - General 5 02-01-2002 01:55 PM


All times are GMT -5. The time now is 04:26 AM.

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