Solved

SUSE 9.0 user login failed

Posted on 2004-08-04
3
415 Views
Last Modified: 2013-12-15
I am completely new at linux and loaded VMware, then SuSE 9.0 PRO yesterday for a UNIX class I am taking. Got some problems loading SUSE, but then everything looked fine... until I entered the user password. The system either told me there was not enough characters or too many, no matter how many I entered! If I entered 4 char. it asked me to enter at least 5. I entered 5, and the system said that it was too long and that it would truncate it to nil characters. Now, whatever I do, the login fails, when I enter the 5 characters originally selected, or nothing... Any idea how I can check the logins and circumvent this problem?
0
Comment
Question by:WebMuse
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 125 total points
ID: 11722614
You also setup a root password during setup. Use that to log into the system (user id: root, and the password that you specified). Once you are logged in, you can change your user password:

passwd <your user name>

Then, enter your password twice. So, if you want to change the password for the user "WebMuse", you would use this command:

passwd WebMuse

0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 11722627
If you cannot log in as root as well, boot from your SuSE installation CD and select the rescue mode. Do you still know which partition you used for your root partition (this is something like /dev/hda1). If you know that, mount the root partition (substitute the device name for your system):

mkdir /mnt
mount /dev/hda1 /mnt

cd /mnt
chroot /mnt

Then run the passwd command without a user name to set the root password. Once this is done, you can also set the user password. To return to your original login shell type:

exit

Now you can reboot and log in with either the root, or the user password.
0
 

Author Comment

by:WebMuse
ID: 11723030
Well, the biggest problems have the simplest solutions sometimes! Loging as the root allowed me to, indeed, change the password of the user! Thank you so much for your input. It did make a difference as had a block and I could not think anymore!
All the best to you!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now