[SOLVED] I added a new user to the Linux server and can't logon as the user
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 added a new user to the Linux server and can't logon as the user
Hi,
My name is Sue and I am an absolutely newbie to Linux but I have worked for years on Unix.
I have root access to my Linux server and added a new user. However, when I try to log onto the server, using Putty, I get an access denied message. I am sure I am missing a piece, but I don't know what the piece is. Can someone help me?
If every user is being denied, perhaps you need to check your permissions in the sshd server, or maybe even just start the sshd server if it isn't running already.
Which linux distribution are you using? Did you check the logs? Are you able to login to this machine via Putty using root account? Did you set the password for newly created user using passwd <username> command?
Thanks for the quick response. I am using SuSE11 SP2. The vendor will not let me login as root, I have to sudo to root. I don't know where the logs are to check but I can certainly do that if someone tells me where they are.
I did setup the password for the new user. When I am logged into the server as myself, I can su to the new user, and put in the password, but I can't log into the server with the new password.
lithos is right. As you said that once you are logged in with your user account you are able to su - <username> then it appears that something has been setup in sshd_config file.
As you said that you are running SLES11 SP2. Did you contact SuSE / Novell and informed them about this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.