Solved

Can't Login

Posted on 1997-05-16
3
231 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
[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
3 Comments
 
LVL 2

Expert Comment

by:jprohart
ID: 1627526
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
ID: 1627527
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
ID: 1627528
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…

688 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