Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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? :/
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.