Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, I'd like to do something that is opposite to this forum's name: I'd like to login as root without the need to specify the password. How do I do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jul 2004
    Location
    Poland
    Posts
    368

    Root account with no password.


    Hello, I'd like to do something that is opposite to this forum's name: I'd like to login as root without the need to specify the password. How do I do this?
    "I don't know what I'm running from
    And I don't know where I'm running to
    There's something deep and strange inside of me I see"

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Just curious... why would you want a root account with no security?
    oz

  3. #3
    Linux User abhishek456's Avatar
    Join Date
    Dec 2006
    Posts
    470
    i think edditing /etc/shadow file or passing single as kernel argument would work for this(atleast temporarlly)
    life is the greatest opportunity that the nature had given you

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by kyku
    Hello, I'd like to do something that is opposite to this forum's name: I'd like to login as root without the need to specify the password. How do I do this?
    Enable AutoLogin and set root as default user. But as already mentioned by fellow members, its really a very bad idea.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Linux User
    Join Date
    Jul 2004
    Location
    Poland
    Posts
    368
    I'm building an embedded system that only trained operators will have physical access to. I guess that having them to memorize a password is a bit of overkill.
    "I don't know what I'm running from
    And I don't know where I'm running to
    There's something deep and strange inside of me I see"

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Alrighty. If you are using any Login Manager then enabling AutoLogin will be best solution imho.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    If you are not using a login manager, you can automatically login from the CLI. There are a some tips here that could help.

Posting Permissions

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