Solved

SUSE 9.0 user login failed

Posted on 2004-08-04
3
424 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

623 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