Welcome to the Linux Foundation Forum!

change password

how change root password in suse enterprise?


  • Goineasy9Goineasy9 Posts: 1,116
    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:
  • hoseinihoseini Posts: 29
    but i forget to say that i dont have root password.
  • mfillpotmfillpot Posts: 2,180
    If the system is not encrypted you should be able to use chroot from a liveCD to launch the passwd command.
  • paul_tpaul_t Posts: 1
    If im not totally wrong, you could boot up in runlevel 1, and then change the root pwd.

  • marcmarc 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)

Sign In or Register to comment.