nobody user

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

nobody user

Postby Plisgyn » Aug 25th, '17, 16:31

After the last update "nobody" now appears as a login option, it never used to. Any ideas why?
Plisgyn
 
Posts: 110
Joined: Sep 19th, '11, 11:31
Location: St Austell Cornwall England

Re: nobody user

Postby doktor5000 » Aug 25th, '17, 17:05

Which login manager do you use, and what is the default shell for the nobody user ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: nobody user

Postby Plisgyn » Aug 25th, '17, 17:50

I use KDM and in Control Centre - Users Groups there is no entry for nobody under Users
Plisgyn
 
Posts: 110
Joined: Sep 19th, '11, 11:31
Location: St Austell Cornwall England

Re: nobody user

Postby doktor5000 » Aug 25th, '17, 22:29

What Mageia release, mga5 ? And yes you won't find nobody under users in MCC unless you enable to show hidden system users.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: nobody user

Postby Plisgyn » Aug 26th, '17, 00:13

Sorry its mga5
Plisgyn
 
Posts: 110
Joined: Sep 19th, '11, 11:31
Location: St Austell Cornwall England

Re: nobody user

Postby amigo7 » Aug 26th, '17, 01:47

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.
amigo7
 
Posts: 6
Joined: Jun 14th, '15, 15:14
Location: Lublin, Poland

Re: nobody user

Postby wildlynx » Aug 26th, '17, 12:23

Now MCC cannot see Nobody, even with "Filter out system users" checkbox ticked off. It happened after newest update, which was KDE-related.
wildlynx
 
Posts: 28
Joined: Jul 31st, '15, 20:39

Re: nobody user

Postby doktor5000 » Aug 26th, '17, 14:30

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: nobody user

Postby amigo7 » Aug 27th, '17, 00:41

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
amigo7
 
Posts: 6
Joined: Jun 14th, '15, 15:14
Location: Lublin, Poland

Re: nobody user

Postby Plisgyn » Aug 27th, '17, 00:50

Ran the above code, still the same what info do you require?
Plisgyn
 
Posts: 110
Joined: Sep 19th, '11, 11:31
Location: St Austell Cornwall England

Re: nobody user

Postby amigo7 » Aug 27th, '17, 01:55

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).
amigo7
 
Posts: 6
Joined: Jun 14th, '15, 15:14
Location: Lublin, Poland

Re: nobody user

Postby amigo7 » Aug 29th, '17, 02:04

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
amigo7
 
Posts: 6
Joined: Jun 14th, '15, 15:14
Location: Lublin, Poland

Re: nobody user

Postby deodric » Sep 10th, '17, 18:19

Just to say thank you amigo7, your workaround for this problem worked for me.
deodric
 
Posts: 1
Joined: Sep 10th, '17, 18:06


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest