Welcome to the Linux Foundation Forum!

change password

how change root password in suse enterprise?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

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

    /P
  • 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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training