Find the answer to your Linux question:
Results 1 to 5 of 5
When installing linux, it will ask for root password. can anyone point out where the password will be maintained? and instead od root as user name can we change it ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Location
    India
    Posts
    78

    Help in root password

    When installing linux, it will ask for root password. can anyone point out where the password will be maintained? and instead od root as user name can we change it to anything(just name only) ?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You should not replace root username with custom username. root password is stored in encrypted form in /etc/passwd and /etc/shadow files.

    You can assign root privileges to any Regular User.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Theoretically you could change the root username to whatever you want, but I would advise against this because some programs may not work correctly if they specifically look for a user called "root" and that user can't be found. /etc/shadow contains all encrypted passwords (it used to be in /etc/password before encryption became the norm). Also look at the passwd and chage commands if you want to manage passwords on your system.

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Don't! The root account isn't a user account. It's user #0; the system account. When you're running as root the system no longer sees difference between itself and you, which is a bad thing unless it's absolutely necessary.

    You may brake your own system as often as you like (I know I have ), but I wouldn't put any effort into making this easier

    The permission system takes a while to get used to, but it's well worth the trouble IMHO
    Can't tell an OS by it's GUI

  5. #5
    Just Joined!
    Join Date
    Jan 2008
    Location
    India
    Posts
    78
    Thanks for the replies.
    When user clicks on "OK" button after giving correct password, which script will run infront?. I am trying to add a new button to that login window for my code development. is it possible.where should i change.......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...