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
Solved

SUSE 9.0 user login failed

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

839 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