Solved

Error while trying to remove user.  Red Hat - userdel

Posted on 2008-10-16
6
757 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
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…

809 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