LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-18-2005, 08:53 AM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
Mainly out of curiousity, is it possible to change the username of the root account?


Again, is it possible to change the name of the root account? I don't necesarilly want to do this, it is mainly just a curiousity. THoughts?
 
Old 07-18-2005, 09:41 AM   #2
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 32
Yes, just change /etc/passwd, /etc/group and /etc/shadow.

It's not recommended though, as this may cause big problems. You can also create another user with GID and UID set to 0.

To get root access, use of su or sudoers is recommended.

Last edited by saman007uk; 07-18-2005 at 09:42 AM.
 
Old 07-19-2005, 11:37 AM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
ok, thanks, I got sudoers set up. I was just curious.
 
Old 07-21-2005, 04:11 PM   #4
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
__Any__ user account on the machine with UID of 0 has root privs; the machine doesn't care about the user name. There can be multiple names with UIDs of 0 and they will all be root.
 
  


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
Can unlock screen with root password in my user account - want to change this sm1 Linux - Newbie 2 07-24-2005 06:54 AM
Change the username rahul_kulkarni Linux - Newbie 3 12-23-2004 12:18 PM
How to change root and username passwords? wardialer Mandriva 8 10-04-2004 08:32 AM
Can't access user account web page in browser - ~username DogTags Mandriva 6 01-29-2004 09:29 AM
Possible to change the root username? Thaidog Linux - Security 1 05-15-2003 08:59 PM


All times are GMT -5. The time now is 07:09 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration