LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-24-2014, 11:37 AM   #1
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
New users not able to log in.


LTSP on VM's. The clients boot flawlessly. I've got the basics figured out except no internet access on the clients. One problem at a time. The server VM is Debian Wheezy, the actual chroot is also Wheezy.

I am adding users to the system via :
Code:
useradd -m username -s /bin/bash
I have done this from a sudo while logged into a client. And I have done it directly on the server inside the chroot. The exact line above worked fine to create the first user and I can login perfectly. Any additional users I create though when trying to login just goes in a circle. Login screen > enter info > screen goes black > login screen again.

I don't know if this is an LTSP issue... pretty sure it isn't as this is inside the chroot. For what it's worth I am updating the image everytime I try adding users and such but no dice as yet.

What am I missing? Or possible causes for this issue?
 
Old 05-24-2014, 04:48 PM   #2
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by Tadaen View Post
LTSP on VM's. The clients boot flawlessly. I've got the basics figured out except no internet access on the clients. One problem at a time. The server VM is Debian Wheezy, the actual chroot is also Wheezy.

I am adding users to the system via :
Code:
useradd -m username -s /bin/bash
I have done this from a sudo while logged into a client. And I have done it directly on the server inside the chroot. The exact line above worked fine to create the first user and I can login perfectly. Any additional users I create though when trying to login just goes in a circle. Login screen > enter info > screen goes black > login screen again.

I don't know if this is an LTSP issue... pretty sure it isn't as this is inside the chroot. For what it's worth I am updating the image everytime I try adding users and such but no dice as yet.

What am I missing? Or possible causes for this issue?
useradd is a "low level utility" as the manual says. The recommended way is to use adduser. Maybe something wasn't set right. Can you login into a console session? (Press ctrl-alt-F1 to open a console when the login screen comes up)
Also might inspect system log files to see what is going wrong upon login.
 
Old 05-24-2014, 11:19 PM   #3
darthaxul
Member
 
Registered: Aug 2008
Distribution: Devuan; Gentoo; FreeBSD
Posts: 236

Rep: Reputation: 19
user login

you never specified the users home directory, the folder needs to be created and then specified as the login folder in order for it to work. also, the password will need to be configured.
 
Old 05-25-2014, 06:14 AM   #4
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by darthaxul View Post
you never specified the users home directory
... which by the way is something that adduser would have done for you ...
 
  


Reply



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
No Users Can Log In; Only Root Can JWilliamCupp Linux - Software 9 11-22-2023 05:12 AM
[SOLVED] vsftp users can log in, but then can't ls or anything! anon091 Linux - Server 8 06-25-2013 09:07 AM
[SOLVED] Log others users out Mark1986 Linux - Newbie 7 11-20-2010 10:06 AM
Other users can't log in Paul_md Mandriva 2 01-22-2007 04:38 AM
users cannot log in nongente Mandriva 1 11-17-2003 10:58 AM

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

All times are GMT -5. The time now is 03:28 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
Open Source Consulting | Domain Registration