LinuxQuestions.org
Review your favorite Linux distribution.
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 11-22-2008, 11:20 AM   #1
Treikayan
Member
 
Registered: Oct 2008
Location: Albany Park, Chicago IL
Distribution: RHEL 5.1 i386
Posts: 75

Rep: Reputation: 15
I can't add new users CentOS


I re-installed my OS. Now, when I go to add users to the system it just hangs up and dos nothing. In the setup, I used a user that existed on the previous installation. When I try to SSH with that user, it does nothing. What's going on? I tried useradd, adduser and in the GUI. Nothing is working. Please help.

EDIT: I finally added a user, but it's very, very, slow. The same goes for executing su <newuser> through SSH. Could this have something to do with LDAP. In the initial setup, I added my AD settings there. And, the new user I'm testing with is not in AD as well.

Last edited by Treikayan; 11-22-2008 at 11:30 AM.
 
Old 11-22-2008, 11:40 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
This is very very likely a result of LDAP. If you strace the adduser command does it pause for a long time on any particular step? If so, post what the step is. Not-quite-correct LDAP settings can really slow down anything on the system that uses PAM.
 
Old 11-22-2008, 12:15 PM   #3
Treikayan
Member
 
Registered: Oct 2008
Location: Albany Park, Chicago IL
Distribution: RHEL 5.1 i386
Posts: 75

Original Poster
Rep: Reputation: 15
I just verified with a Wireshark on the Domain Controller that I'm trying to authenticate via LDAP. Anyway I can change settings on this, so users can log on quicker if et al possible not shutting the feature off?
 
Old 11-22-2008, 12:17 PM   #4
Treikayan
Member
 
Registered: Oct 2008
Location: Albany Park, Chicago IL
Distribution: RHEL 5.1 i386
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jtshaw View Post
This is very very likely a result of LDAP. If you strace the adduser command does it pause for a long time on any particular step? If so, post what the step is. Not-quite-correct LDAP settings can really slow down anything on the system that uses PAM.
Yes, very slow. It looks like in the capture that it tried to authenticate two or three times. I'm not sure what step it is or how to find it. If worse comes to worse, can you tell me how to turn it off? :/
 
Old 11-22-2008, 06:20 PM   #5
Treikayan
Member
 
Registered: Oct 2008
Location: Albany Park, Chicago IL
Distribution: RHEL 5.1 i386
Posts: 75

Original Poster
Rep: Reputation: 15
I'm re-installing again. This sucks.

Now, I can't run simple commands like tar and ls. It just hangs up and does nothing. It can't be the CPU; it's the same one from the first installation and everything was fine. What's up?
 
  


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
Compiz + ADD Helper Plugin + CentOS 5 Doctorzongo Linux - Software 1 01-13-2011 02:42 PM
How to add users as authorised users in Ftp server zerocool3008 Linux - Newbie 3 07-16-2008 04:01 PM
Users cannot add VMs in VMware server console on CentOS host archangel_617b Linux - Server 1 03-06-2008 12:08 PM
CentOs - how to Add different Mirror ? marshalx Linux - Newbie 2 01-03-2008 03:08 AM
CentOS 5 Add-Remove Software is not Opening mukundmurari Linux - Software 1 10-21-2007 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 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