LinuxQuestions.org
Visit Jeremy's Blog.
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, 12:37 PM   #1
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 207

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, 05:48 PM   #2
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
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-25-2014, 12:19 AM   #3
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; VoidLinux; Funtoo
Posts: 214

Rep: Reputation: 18
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, 07:14 AM   #4
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
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


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


All times are GMT -5. The time now is 06:50 PM.

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