Solved

Error while trying to remove user.  Red Hat - userdel

Posted on 2008-10-16
6
756 Views
Last Modified: 2013-12-15
I transferred users from the old to new Red Hat server.   Users with their own directories can't log in.  
If I created user with useradd , there are no problems.  

If I try to remove existing user using eserdel I get error Segmentation fault.
0
Comment
Question by:MontyDog
  • 4
6 Comments
 
LVL 8

Expert Comment

by:nognew
ID: 22733803
Hello!
how did you do the transfer?
What was the version of you old and new RHs?
what is the error message when you try to login with an old user account?
Do you know what type of password file encoding you had and you have now?
Regards,
t.
0
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 22734413
Please post the output of

pwck
grpck
0
 

Author Comment

by:MontyDog
ID: 22735554
Attached is output from pwck (pwck.txt) .    Grpck allowed me to correct single error, so there is no output now.

To move users I followed instructions from:
http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/

Thanks.
pwck.txt
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:MontyDog
ID: 22735575
Red Hat versions are both the same (4).
Login is SSH and there is no error displaying when you try to log in (just that Authentication failed).
0
 

Author Comment

by:MontyDog
ID: 22735770
Looks like pwck and grpck solved the main problem.  Thanks Tintin.
0
 

Author Closing Comment

by:MontyDog
ID: 31506842
Thank Tintin.  I will look at the rest of the errors later.  Main problem is solved (I had duplicate entries that are deleted now).
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…

773 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