Visit Jeremy's Blog.
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 02-22-2005, 10:29 PM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
Change root Name

A simple newbie question... Can I change the root's login name. For example: change root to rootuser.

I was just wondering because in Windows, it is advisable to change the Administrator name for security purposes. I would imagine that it would be a good idea in Linux too. Or am I wrong?

Old 02-23-2005, 12:05 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
I suppose that's a matter of how good your password is,
and how exposed the box is to potential attackers ...
E.g which services are open to the world, and how they're
set up ...

It's possible, not even overly hard, to rename root (for a time
[just for the heck of it] mine was called ruth) ... just edit
/etc/passwd and /etc/shadow and do your thing.

The thing is, however, that the problem is the quality of
ALL your passwords ... I have many login-attempts for other
users (randomly chosen names); once the attacker has
ANY access he can (necessarily) look at /etc/passwd
and try on knowing root's real name ... so you need "safe"
usernames for ALL users, and sensible passwords for all
of them.

Old 02-23-2005, 12:19 AM   #3
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 32

I don't know if you'd need to change /etc/group too though. I've never personally done it myself.


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 could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
change root name Smokey Linux - Security 4 07-19-2004 02:13 AM
change root alaios Linux - Software 5 03-18-2004 12:22 PM
change root leofer Linux - Newbie 8 07-27-2003 08:31 PM
how can i change the root name rinux Linux - Newbie 16 06-01-2003 10:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration