Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Users rejected by every desktop environment [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pma
n00b
n00b


Joined: 14 Aug 2007
Posts: 16

PostPosted: Fri Apr 18, 2014 8:20 am    Post subject: Users rejected by every desktop environment [solved] Reply with quote

Hi,

I'm facing a pretty strange bug.

When I create new users, they can not login to any graphical environment !
Code:

root # useradd pma
root # usermod -a -G users pma
root # passwd pma
root # cp /etc/skel /home/pma
root # chown -R pma:users /home/pma
root # su pma

All those commands work perfectly.

Then when I try to login using gdm or kdm with THIS new user, I always get permission denied !

I've noticed this bug since updating my system to gnome3/systemd (It may have been present since longer…).
My usual user was still login in correctly at that time.
But all the other users were not able to login to any desktop environment.

Anyone got an idea on the way to check what is happening ?

__________________________________________________
EPILOGUE :

Ends up it was the later mentioned strange line in /etc/security/access.conf that was preventing
none wheel users to login in desktop environments.
_________________
Pierre-Matthieu Anglade


Last edited by pma on Fri Apr 18, 2014 10:53 am; edited 1 time in total
Back to top
View user's profile Send private message
pma
n00b
n00b


Joined: 14 Aug 2007
Posts: 16

PostPosted: Fri Apr 18, 2014 9:35 am    Post subject: Ps Reply with quote

Adding new users to the wheel group allow them to log in any desktop environment. So the question : where could I have messed the things up, in such a way that only the wheel group has such possibility ?

In the meantime I've noticed this weird line in my /etc/security/access.conf file :
Code:

-:ALL EXCEPT (wheel)  sync:LOCAL

And I'm really wondering what is meant for. Could it be responsible for my problem ?
_________________
Pierre-Matthieu Anglade
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Fri Apr 18, 2014 10:48 am    Post subject: Reply with quote

Code:
 $ grep -v '^#' /etc/security/access.conf
 $

No such line here; so, yes, that might be it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum