LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I can't add new users CentOS (https://www.linuxquestions.org/questions/linux-newbie-8/i-cant-add-new-users-centos-685394/)

Treikayan 11-22-2008 11:20 AM

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.

jtshaw 11-22-2008 11:40 AM

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.

Treikayan 11-22-2008 12:15 PM

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?

Treikayan 11-22-2008 12:17 PM

Quote:

Originally Posted by jtshaw (Post 3351048)
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? :/

Treikayan 11-22-2008 06:20 PM

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?


All times are GMT -5. The time now is 12:43 PM.