Solved

Can't Login

Posted on 1997-05-16
3
210 Views
Last Modified: 2013-12-15
I installed a new distribution a couple of weeks ago that uses a shadow
passwording system and today it decided not to let me login as anyone
except root. I got the following message when trying to login:

       


        Message from syslogd@localhost at Wed May 14 01:01:08 1997 ...
        localhost login[385]: no shadow password for `russ' on `ttyp2'

        Login denied. Shutdown in progress.     Tue May 13 12:57:06 PDT 1997
        Connection closed by foreign host.

Now I know there is no shutdown in progress. What could be the problem?

Thanks in advance.
0
Comment
Question by:toga
3 Comments
 
LVL 2

Expert Comment

by:jprohart
Comment Utility
at the boot prompt, type "YOUR_LERNEL_IMAGE" -b  to go in maintenance mode. Then mount -n -o remount,rw / to mount your filesystem read write. You can then look at your files without login.

good luck
0
 
LVL 1

Accepted Solution

by:
MikeCrist earned 50 total points
Comment Utility
Once you have the shadow suite installed, you have to check the passwords and onvert them to use shadowing.  As root, type:

pwconv5

This should convert all your passwords to the shadow suite.  Then run:

pwck

This will check all your passwords to make sure they conform.
0
 

Author Comment

by:toga
Comment Utility
My question probably wasn't as detailed as it should have been.
I did a complete reinstallation and the shadow suite was part of
that installation.I had been logging in as this user for weeks
before this problem happened. The problem was that I had some
files that didn't get cleaned from the system upon reboot (shutdown.pid or something). I did this manually some days ago and my system works fine now.

Thanks,
Russ
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
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…
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…

762 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

6 Experts available now in Live!

Get 1:1 Help Now