Welcome to the Linux Foundation Forum!

change password

how change root password in suse enterprise?

Comments

  • Goineasy9
    Goineasy9 Posts: 1,114
    As root, you have to use the "passwd" command. I believe once you're root, you just need to type passwd and hit enter, to be able to change root.
    Here's a link to the man passwd page:
    http://linux.die.net/man/1/passwd
  • hoseini
    hoseini Posts: 28
    but i forget to say that i dont have root password.
  • mfillpot
    mfillpot Posts: 2,177
    If the system is not encrypted you should be able to use chroot from a liveCD to launch the passwd command.
  • paul_t
    paul_t Posts: 1
    If im not totally wrong, you could boot up in runlevel 1, and then change the root pwd.

    /P
  • marc
    marc Posts: 647
    hoseini wrote:
    but i forget to say that i dont have root password.

    The passwords are usually in the /etc/shadow file (they are not simple text)

    If you happen to know any user password copy it from that file to the root line. For this of course you'll need to chroot to the partition (whether it'd be from a livecd or inserting the hard disk into another computer)

    Regards

Categories

Upcoming Training