LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   renaming root account (https://www.linuxquestions.org/questions/linux-newbie-8/renaming-root-account-65122/)

nuttyvishal4u 06-12-2003 12:29 AM

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?

rmartine 06-12-2003 02:00 AM

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??

mazzo 06-12-2003 07:57 AM

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 !


All times are GMT -5. The time now is 07:30 AM.