Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: How to remove users from login window?

  1. #11
    Join Date
    Mar 2007
    Beans
    680

    Re: How to remove users from login window?

    arepaking, this is the same solution that was described on above link, I don't like this solution. It removes whole list and enables login with userid window to enter manually.

    I would like ot have a user list (like it is now), but without some users listed on it.

  2. #12
    Join Date
    Jul 2007
    Beans
    8

    Re: How to remove users from login window?

    As a workaround, user IDs can be changed to remove users from the login list. Users with IDs under 1000 will not be displayed. I used the following to remove a user from the list:
    Code:
    sudo usermod -u 999 [username]
    Not ideal, but it works without much hassle.

  3. #13
    Join Date
    Oct 2009
    Beans
    6
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to remove users from login window?

    Quote Originally Posted by abcuser View Post
    Solution in above thread is to remove all users from the list and enable username login window instead.

    But I don't want to remove user list. I would just like to remove some users from the list.
    This is what I would up doing. I made the gconf-edit changes, but they did not changethe interface, so...

    * Consider going in as root...then...
    1. System/Administration/Users and Groups
    2. On the Advanced tab of user Properties...
    3. Change the User ID to a number that is less than 1000.

    Far as I can tell, this also takes the user account out of the Users and Groups screen, thus removing your ability to administer the account outside the terminal, but who doesn't use the terminal to admin users anyway?

  4. #14
    Join Date
    Mar 2007
    Beans
    680

    Re: How to remove users from login window?

    windowsdown,
    I did in the way tristano suggested, so lower ids of users and problem is solved.

    Before I have changed the IDs I have checked the IDs of exiting users, to not having any kind of conflict.

    Check the users IDs:
    Code:
    cat /etc/passwd | gawk -F: '{print $3, $1}' | sort -n
    Lower users IDs (tristano suggestion):
    Code:
    sudo usermod -u 999 [username]
    Thanks a lot for help,
    Regards
    Last edited by abcuser; November 25th, 2009 at 06:19 PM.

  5. #15
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    82
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to remove users from login window?

    I have a Dell D620 running 32-bit 9.10

    every time / every way I try to change the key "disable_user_list"

    I get an error or the GUI shows "this key not writable"

    any ideas

    thanks

  6. #16
    Join Date
    Mar 2007
    Beans
    680

    Re: How to remove users from login window?

    Quote Originally Posted by buck2825 View Post
    every time / every way I try to change the key "disable_user_list"
    Hi,
    what are you trying to do? Where is settings "disable_user_list"? Can you please write more detailed info.
    Regards

  7. #17
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    82
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to remove users from login window?

    Quote Originally Posted by abcuser View Post
    Hi,
    what are you trying to do? Where is settings "disable_user_list"? Can you please write more detailed info.
    Regards

    I am trying to remove the list of users from the gdm welcome screen

    in the configuration editor
    /apps/gdm/simple-greeter/disable_user_list

    or by typing
    sudo -u gdm gconftool-2 --type bool --set /apps/gdm/simple-greeter/disable_user_list 'true'

    I have tried making this change by launching the configuration editor from the application menu, from TTY1 before login by launching the editor, and using the above terminal command.

    thanks for the help

  8. #18
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: How to remove users from login window?

    Quote Originally Posted by windowsdown View Post
    This is what I would up doing. I made the gconf-edit changes, but they did not changethe interface, so...

    * Consider going in as root...then...
    1. System/Administration/Users and Groups
    2. On the Advanced tab of user Properties...
    3. Change the User ID to a number that is less than 1000.

    Far as I can tell, this also takes the user account out of the Users and Groups screen, thus removing your ability to administer the account outside the terminal, but who doesn't use the terminal to admin users anyway?
    /apps/gnome-system-tools/users/showall
    toggle that and you can see all users

  9. #19
    Join Date
    May 2008
    Location
    Brooklyn
    Beans
    165
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to remove users from login window?

    I have two remarks about this thread AKA my $0.02 (USD)

    First:
    Tristano supplied this exceedingly cool tidbit of hacker knowledge:
    As a workaround, user IDs can be changed to remove users from the login list. Users with IDs under 1000 will not be displayed. I used the following to remove a user from the list:

    Code:
    sudo usermod -u 999 [username]
    That looks like a winning solution than everything else I have seen in this thread. I was wondering if I could add postgres to the login menu (also if I should - I decided against). Just one fly in the ointment: You would have to track down every blessed file in the system whose UID matches the current UID and change it to the new one.

    I see abcuser has already accounted for the concern of duplicating a UID. I just wanted to raise this little warning.

    Next, HiImTye suggested to windowsdown:
    /apps/gnome-system-tools/users/showall
    toggle that and you can see all users
    Which tool is that? I have 9.10 and I do not even have an /apps directory, let alone the three directory levels below it. A quick check of Synaptic shows I do indeed have a package named gnome-system-tools installed but is seems to be a directory in /etc; it's only claim to fame (AFAIK) is the file
    /etc/gnome-system-tools/users/profiles.

    Care to rephrase that command line, Tye? (Gee, that sounded threatening.. )
    -- Rasputin Paskudniak II (In pursuit of undomesticated, semi-aquatic avians)

  10. #20
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    82
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to remove users from login window?

    so still no solution NOT SOLVED I want a login screen just like in 9.04

    boot
    enter user name
    enter password
    ta da!!!

    I don't want to have a list for everyone to see of all users on my machine. also an advantage of ubuntu no root user enabled, I don't want to enable it because well then everyone now knows my user name.

    so I have tried everything I have seen on every forums. any new suggestions will help.

    Thanks in advance

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •