LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2012, 10:31 PM   #1
dantes990
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Troubleshooting authentication issues


I have a CentOS 5.6 server whose users I need to migrate over to a newly setup server running CentOS 6.2. I followed the instructions outlined here:

http://www.ghacks.net/2010/02/10/mig...ne-to-another/

But I am unable to login with users I copied over, I get an Authentication failure error.

Any idea's why that would be or what I can do to troubleshoot it?

Thanks
 
Old 04-06-2012, 08:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by dantes990 View Post
I followed the instructions outlined here
Ghacks may advertise itself as "one of the largest independent tech sites on today's Internet" but those instructions:
- don't explain UGIDLIMIT (see UID_MIN in /etc/login.defs),
- the tar command doesn't take into account SELinux contexts (tar: "--selinux"), extended attributes (tar: "--xattrs"), ACLs (tar: "--acls") and sparse files and
- copies /home contents indiscriminately (some daemons run as unprivileged user and you might not want to copy that),
- it copies the complete mail spool (including root and any system user spools: could have used "--exclude" or "--exclude-from")
- it doesn't copy the at and cron spool nor any local settings in /etc like /etc/security or /etc/{at,cron}.{allow,deny} settings, and
- it doesn't tell you about and doesn't check for check UID and GID duplication.
*** More importantly it doesn't tell you to back up files on your target server first.


Quote:
Originally Posted by dantes990 View Post
I am unable to login with users I copied over, I get an Authentication failure error.
The first admin reflex should be to check the log files as they often hold clues. Based on that you 'pwck -qr', 'grpck -r', 'restorecon -vv -nri /home' etc, etc or whatever the clues tell you to.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFSv4 with Kerberos 5 Authentication Troubleshooting rdibley Linux - Networking 2 10-29-2009 10:40 AM
Authentication issues MeeLee Linux - Newbie 0 10-28-2009 11:16 AM
RPC Authentication Issues ToddAtWSU Programming 3 07-07-2009 08:21 PM
Winbind authentication issues lpwevers Linux - Server 1 05-12-2009 05:55 AM
LXer: Troubleshooting Veritas Cluster Server LLT Issues On Linux and Unix LXer Syndicated Linux News 0 05-30-2008 12:40 PM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration