Solved

Error while trying to remove user.  Red Hat - userdel

Posted on 2008-10-16
6
749 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
Comment Utility
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
Comment Utility
Please post the output of

pwck
grpck
0
 

Author Comment

by:MontyDog
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:MontyDog
Comment Utility
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
Comment Utility
Looks like pwck and grpck solved the main problem.  Thanks Tintin.
0
 

Author Closing Comment

by:MontyDog
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 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

13 Experts available now in Live!

Get 1:1 Help Now