Solved

SUSE 9.0 user login failed

Posted on 2004-08-04
3
422 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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