Solved

Error while trying to remove user.  Red Hat - userdel

Posted on 2008-10-16
6
761 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
[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
  • 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 

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

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

732 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