Solved

Newbie: Can't login part II.

Posted on 1998-07-28
6
176 Views
Last Modified: 2013-12-15
I tried linux single. At bash# I input passwd. It responded with "Segmentation Fault".  I tried "adduser neil.  It responded with In: /etc/passwd: no such file or directory
/etc/passwd is locked. Try again later.

Help!!!

Neil
nlubin@hotmail.com
0
Comment
Question by:nlubin
6 Comments
 
LVL 2

Expert Comment

by:mlev
ID: 1628811
Looks like your installation went wrong.
I would try checking /tmp/install.log and/or installing anew,
while paying attention to any error messages that come up.
0
 

Author Comment

by:nlubin
ID: 1628812
I have tried reinstalling 3 times with the same results.  I hadn't noticed any error messages, but it goes by so quickly.  How can I check /tmp/install.log without being able to login?

Neil
nlubin@hotmail.com
0
 
LVL 2

Expert Comment

by:mlev
ID: 1628813
You can in single-user mode
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 3

Expert Comment

by:marcelofr
ID: 1628814
Are you reinstalling or upgrading? Do you format you filesystems every time?
0
 
LVL 2

Expert Comment

by:JYoungman
ID: 1628815
At
bash#
you're already logged in.
Do ls -l /etc/passwd /etc/passwd.lock

0
 
LVL 3

Accepted Solution

by:
marcelofr earned 50 total points
ID: 1628816
if you have /etc/.pwd.lock, remove it...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

911 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

17 Experts available now in Live!

Get 1:1 Help Now