Find the answer to your Linux question:
Results 1 to 5 of 5
Hello! I have a problem with my suse enterprise server 10 I need to configure network card but i don't know root password. I boot from a live cd, i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    1

    root password


    Hello! I have a problem with my suse enterprise server 10
    I need to configure network card but i don't know root password. I boot from a live cd, i mount partition and i edited shadow file from etc by removing password. After reboot when i try to login, I type root and when i press enter i have this: login incorect.
    Any idea? Thx

  2. #2
    Just Joined!
    Join Date
    May 2011
    Location
    Brazil
    Posts
    21
    I believe this link can be a start for you

    SDB:Recover root password - openSUSE

  3. #3
    Just Joined!
    Join Date
    May 2011
    Location
    Brazil
    Posts
    21

  4. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hello and Welcome!
    You can also take a look here for some tips on recovering your root password.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,445
    One technique is to boot live cd, mount the system's root file system, edit the etc/sudoers file on that file system, giving yourself full privileges. IE, add this line to the file:
    Code:
    yourid ALL=(ALL) NOPASSWD: ALL
    Save file, then reboot and login as yourself. Now, you can run any process as root, or even su to root and reset its password:
    Code:
    sudo su -
    passwd
    In any case, editing /etc/shadow is NOT recommended!

    One final thing. It is possible that /etc/shadow isn't the password repository of record. There are alternatives, so even if you removed root's password from /etc/shadow, that may not work. This would be the case if your system has enabled another directory system such as YP or OpenLDAP. Making the change via sudo as shown should then work appropriately.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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