LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 02-20-2018, 09:22 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
One user can log in the rest can't.


I installed 18.3 and created users for me and my kids. I can log in, kids can't -- after them entering their respective passwords the screen turns black for about 2 seconds, then the login screen comes back. No error message. Google didn't help. Any ideas here?
 
Old 02-20-2018, 09:34 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,681

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by JZL240I-U View Post
I installed 18.3 and created users for me and my kids. I can log in, kids can't -- after them entering their respective passwords the screen turns black for about 2 seconds, then the login screen comes back. No error message. Google didn't help. Any ideas here?
Permissions on their home directories would be the first place to check. If they're not owned and/or read/writeable to their respective user ID's, they can't create the necessary files/directories that KDE/Gnome/Whatever-DE is going to want to create.
 
Old 02-20-2018, 10:13 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Iwill try that, when I come home. What is the mechanism mint uses to connect users to their home directories? Is it the username, a user-ID (like 1001) and how can one check or change that "connection"?
 
Old 02-20-2018, 11:32 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,681

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by JZL240I-U View Post
Iwill try that, when I come home. What is the mechanism mint uses to connect users to their home directories? Is it the username, a user-ID (like 1001) and how can one check or change that "connection"?
When you create the user, it will either create the home directories (read the man page on the useradd command), or not. If it doesn't...that means you have to create them manually. Such information is tied both to user name and ID. Look at an entry in the /etc/passwd file to see what it looks like.

Easiest to delete the few users you created, and re-add them with the "-m" flag, and specify their home directories. Will automatically get created with proper permissions and skeleton files.
 
Old 02-20-2018, 11:37 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
When you create the user, it will either create the home directories (read the man page on the useradd command), or not. If it doesn't...that means you have to create them manually. Such information is tied both to user name and ID. Look at an entry in the /etc/passwd file to see what it looks like.

Okay. I'll read the man page and look at /etc/passwd.

Quote:
Originally Posted by TB0ne View Post
Easiest to delete the few users you created, and re-add them with the "-m" flag, and specify their home directories. Will automatically get created with proper permissions and skeleton files.


Here the problem is, that these directories exist on an extra partition and hold some data from a former installation of 17.3. I want to keep and re-use them. Never had this problem before ... .
 
Old 02-20-2018, 02:25 PM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Gah. Solved. And so easy, thanks TB0ne: The user:group values of my children just were exchanged (son <-> daughter), simply "chown -R <son>:<son> /home/<son> or daughter as it is and all is well. Thread marked as solved. There are situations or days when one is simply dense, it seems. Thanks again.
 
  


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
LXer: Creating Servers via REST API on RDO Mitaka via Chrome Advanced REST Client LXer Syndicated Linux News 0 04-24-2016 11:57 PM
Changing syslog log level to log every user login daraja Linux - General 2 05-23-2013 11:21 AM
PHP Site - Controlling User Environment for the Session During Log-in and Log-out devUnix Programming 2 03-27-2012 10:14 PM
[SOLVED] Some application installation questions: log in as root or log in as 'user' & do 'su' Robert.Thompson Slackware 9 02-25-2011 08:19 AM
C program to see user log on in system and print user with real user name also naveen245 Programming 2 12-21-2005 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 09:29 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