Linux.com

change password

Link to this post 25 Jan 11

how change root password in suse enterprise?

Link to this post 25 Jan 11

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

Link to this post 26 Jan 11

but i forget to say that i dont have root password.

Link to this post 26 Jan 11

If the system is not encrypted you should be able to use chroot from a liveCD to launch the passwd command.

Link to this post 07 Apr 11

If im not totally wrong, you could boot up in runlevel 1, and then change the root pwd.

/P

Link to this post 08 Apr 11

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

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board