How to set login and password and root password in suse 10.2
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.
How to set login and password and root password in suse 10.2
I have just installed suse 10.2. The install froze about half way to the end and I rebooted and finished the install using the 'update' option. It finished stage-two install and will boot using grub and stop at the login prompt. Since I never set the password, I can not log in. Is there a generic password or can I edit the file responsible for holding it? Is there a way to invoke yast and set it that way? I can use puppy linux and see the hda2 and hda3 partitions. Can I fix it that way?
Have you tried using root as the password as well as just blank, or no password? I am not sure I have heard of a behind the scenes default password other than using User:root/PW:root. I think if you find no solution, you are going to need and reinstall one more time.
I can boot in repair mode and it will log me in as root. From there I need to know how make a new root login, user and password. I have added users when I had a root login with suse 10.1 like this:
Boot into rescue mode, mount the file system then edit /etc/shadow removing everything between the first two colons, save and reboot. That will leave root with no password. Boot into the system as root and set the root password. You can then add users via the command line like sirius57 shows but without the -d /home/username or via YaST.
I have been able to set the root password and make a user account and password, but have not been able to start kde. I used puppy to look into /etc/shadow and saw that there was nothing for root in the root line. I rebooted without the puppy cd and at the grub screen for login options typed: init=/bin/bash. This allowed system to boot as root without root password. I then set a new root password, rebooted and logged in as the new root and made a user account, but I mistakenly did not give it a home directory so its home is /. I did not know how to change that fact, so I made a new account with /home, however neither one will start kde. I typed kde at the command line and got: can not contact kdeinit
and
trying to create local folder permission denied (this is for the user with /.)
cannot create directory /home..... permission denied
the user at /home said it could not start kdeinit.
I feel that I am very close. Is there a way to fix kde?
I got the box up and running. I had to nuke the hard drive and remove the video card in order to use the integrated onboard video on the motherboard to get it to install. After installing, to run x-org, I reinstalled the video card, started x manually and the kde desktop loaded. I also had to make new usernames and passwords.
I had to reinstall to remove zenworks. However, I am back to setting the root password again. I typed init=/bin/bash in the suse grub loader to boot as root, but it did not work, so I think I have to edit the shadow file. (Yast never lets me set one during the install). I was going to use my puppy cd to edit the file. From the above description, did I forget something using init=/bin/bash ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.