How do I hide users named "Comment" from the login screen?
After much messing about with samba, I seem to have many additional "users" added to the login list, Most are named "Comment" but one is named "Samba Guest Account"
I am using the samba gtk gui for configuring and wanted to add my linux account and my Win 7 accounts. Now I have 8 users on my linux box! How do I disable or hide them? |
As you haven't mentioned your distro, i am guessing it should be ubuntu 11.10+ because it is mentioned in your profile.
Users whose userid is less than 1000 do not list in the login screen. To change the userid of the user. # sudo usermod -u 999 user-name If it does not work for you, follow this solution. Open file /etc/lightdm/users.conf and add your users in the line Code:
hidden-users=nobody nobody4 noaccess Code:
hidden-users=nobody nobody4 noaccess john david louie |
Slight but important note on your comment, eklavya: while you can use usermod as shown to change the numeric-userid of any user, there are two things that you must also consider:
|
All times are GMT -5. The time now is 04:11 AM. |