SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Okay, been fighting this one for 2 days so i figured I would go to the experts. I have a Suse 8.2 machine that we were using for a listserver for a few years now. We need to pull some data off of the machine, but no one knows the root password and we don't know any user passwords either.
I have tried going in and editing the shadow and passwd file, but it is almost like the revert back when I reboot. I have also tried rescue mode as root and then doing passwd root. It acts like it is letting me change the password, but when I try to use the one I set it doesn't work.
Any help on this one would be greatly appreciated.
A possibility is to get a livecd and log into root mode. Use mkdir to make a root dir called /listserver . Then edit the fstab to have /listerver /mnt/your_actual_listerver_root_partition.
Then effectively chroot into the root partition from the root cd and change password, this is what I did when I locked myself out of arch
Code:
[root@localhost flebber]# chroot /archroot su
[root@localhost flebber]# passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@localhost flebber]#
Gentoo docs are a good reference to this as well and I would recommend you read it before going ahead, my info is basically right but as its early morning and I am tired you should do some backup reading.
A liveCD is a Linux distro on cd which is bootable, and you run the distro from the cd, and not from a hard disk installation (you also have the option of installing to hard drive, but that's not required in this case). Running from cd is slower because all files are compressed and have to uncompress before your choice of application loads.
With the liveCD there are no passwords. To do something as root, your either type su and press enter to become root without password, or, in some liveCDs, you type 'sudo <command you want to run>' to run the command with root priviledge.
Last edited by bigrigdriver; 10-18-2007 at 01:18 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.