Solved

user cannot login....?

Posted on 1998-08-11
9
183 Views
Last Modified: 2012-05-04
Hello. i hope somebody can help me, My linux machine doesn"t allow anybody to login anymore, when someone try's the machien reply's with "login incorrect".

I have try to solve it using the "single-user mode" but in that mode the filsystem is Read Only"so i cannot change anything.

0
Comment
Question by:peterhartman
9 Comments
 
LVL 2

Expert Comment

by:vx
ID: 1637777
Did you recently add that user? Or did you install the shadow-suite? Have a look at /etc/shadow. If it exists and the new user isn't added, have a look at /etc/passwd. If the user's located there, run pwconv.

Regards
Ties
0
 

Author Comment

by:peterhartman
ID: 1637778
Can I run pwconv while in single-user mode ?????

Why does it say that the file system is Read-Only ?????
0
 
LVL 2

Expert Comment

by:vx
ID: 1637779
The filesystem must be mounted as read-only. Type mount to check that. I'm not sure if you can run pwconv in single-user mode, but normally you should be able to.

Did you check whether the user is added in /etc/shadow or /etc/passwd?
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:peterhartman
ID: 1637780
i,m going to check that
0
 

Author Comment

by:peterhartman
ID: 1637781
okay, i have checked it, the command pwconv isn't available.....!


My machine gives me a error concerning the kernel version, the version kernel isn't the good version?????
0
 
LVL 2

Expert Comment

by:vx
ID: 1637782
pwconv isn't available, but /etc/shadow is? Strange. The error message means nothing to me. What kernel do you run?
0
 
LVL 10

Expert Comment

by:rbr
ID: 1637783
Check the amount of free memory on your HD. Can sou login as root in multi-user mode. Linux stops the login of nun superuser accounts if the amount of free memory on your HD gets low.
0
 

Accepted Solution

by:
sylsan earned 100 total points
ID: 1637784
Reinstall LINUX. I've had the same problem. I've tried everithing but it didn't work.
Reinstalling seems to be the only  available  solution, unless you have some info to backup. This is my opinion. Bye.
0
 

Author Comment

by:peterhartman
ID: 1637785
That solved my problems , installing a new version off linux (2.0.34)

Thank you all for the suggestions


0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

829 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