Page 1 of 1

nobody user

PostPosted: Aug 25th, '17, 16:31
by Plisgyn
After the last update "nobody" now appears as a login option, it never used to. Any ideas why?

Re: nobody user

PostPosted: Aug 25th, '17, 17:05
by doktor5000
Which login manager do you use, and what is the default shell for the nobody user ?

Re: nobody user

PostPosted: Aug 25th, '17, 17:50
by Plisgyn
I use KDM and in Control Centre - Users Groups there is no entry for nobody under Users

Re: nobody user

PostPosted: Aug 25th, '17, 22:29
by doktor5000
What Mageia release, mga5 ? And yes you won't find nobody under users in MCC unless you enable to show hidden system users.

Re: nobody user

PostPosted: Aug 26th, '17, 00:13
by Plisgyn
Sorry its mga5

Re: nobody user

PostPosted: Aug 26th, '17, 01:47
by amigo7
I confirm this bug in mga5.
Not only the user 'nobody', but also all users which were previously hidden are shown in the login screen.

Re: nobody user

PostPosted: Aug 26th, '17, 12:23
by wildlynx
Now MCC cannot see Nobody, even with "Filter out system users" checkbox ticked off. It happened after newest update, which was KDE-related.

Re: nobody user

PostPosted: Aug 26th, '17, 14:30
by doktor5000
Well, you didn't report here previously, and as far as I'm aware there was only one KDE update for mga5 recently: https://advisories.mageia.org/MGAA-2017-0066.html
Also, what is your issue about MCC not seeing the nobody user, where's the actual problem with that? As this thread was initially about the nobody user showing up in KDM login dialog.

@amigo7/Plisgyn: Can either of you please as root run
Code: Select all
updatedb
locate kdmrc

Re: nobody user

PostPosted: Aug 27th, '17, 00:41
by amigo7
Code: Select all
[root@komp amigo]# updatedb
[root@komp amigo]# locate kdmrc
/usr/share/config/kdm/kdmrc
/usr/share/doc/HTML/en/kdm/kdmrc-ref.docbook
/var/lib/mageia/kde4-profiles/Default/share/config/kdm/kdmrc

Re: nobody user

PostPosted: Aug 27th, '17, 00:50
by Plisgyn
Ran the above code, still the same what info do you require?

Re: nobody user

PostPosted: Aug 27th, '17, 01:55
by amigo7
I made the following changes in kdm settings (using graphical interface).
On the "users" tab:
(1) I unchecked "reverse choice"
(2) I checked user "amigo"
Then clicked the apply button and noticed that it works!
The user nobody and the previously hidden user (amigotest) disappeared in the login screen.

Below I list a few lines of the config file:
Code: Select all
/var/lib/mageia/kde4-profiles/Default/share/config/kdm/kdmrc

before applying changes:
Code: Select all
HiddenUsers=nobody,root,amigotest
SelectedUsers=
ShowUsers=NotHidden

and after applying changes:
Code: Select all
HiddenUsers=nobody,root,amigotest
SelectedUsers=amigo
ShowUsers=Selected


Edit:
I made the above changes yesterday and everything was OK (after logging out, rebooting not tested), but today both nobody and amigotest users appeared again in the login screen. After reversing the changes and applying them again, the hidden users disappeared (both logout and reboot tested). However they appeared again after 1 hour. I noticed that
Code: Select all
ShowUsers=Selected

was changed somehow to
Code: Select all
ShowUsers=NotHidden

I changed to ShowUsers=Selected manually and ran msec. The msec changed Selected to NotHidden!
I also changed the settings using System Settings->Login Screen->users and ran msec again. The result was the same (Selected changed to NotHidden).

Re: nobody user

PostPosted: Aug 29th, '17, 02:04
by amigo7
I worked out the workaround:
Become root and in the file
Code: Select all
/var/lib/mageia/kde4-profiles/Default/share/config/kdm/kdmrc
find the line
Code: Select all
SelectedUsers=
and write your username after =.
Then at the beginning of the file
Code: Select all
/etc/security/msec/security.conf
insert the following line
Code: Select all
ALLOW_USER_LIST=no
Finally, run
Code: Select all
msec

Re: nobody user

PostPosted: Sep 10th, '17, 18:19
by deodric
Just to say thank you amigo7, your workaround for this problem worked for me.