How to remove a user from SDDM Login window?

4

I have two user accounts on my Linux Mint KDE 18.2 machine:

  • One is me (say chitholian) as a sudo-privileged user with SHELL=/bin/bash.
  • Another user (say csecu) without sudo having SHELL=/bin/ftponly (a custom shell that actually does nothing).

I created the second account so that my classmates can have access via FTP for file sharing, but I don't want to allow them to login via ssh or anything else except FTP.

My problem is when I boot up, the login window shows both accounts, even after I have changed the shell of that second user to disable his shell activity.

I want to hide that user account from the login dialog too. How should I go about achieving this goal?

Chitholian

Posted 2017-10-08T16:04:55.250

Reputation: 67

Answers

4

Edit /etc/sddm.conf. Under [Users] you find a setting called HideUsers=. Just add the user there. Since the user you want to hide uses another shell you could also use the setting HideShells in the same section.

user.S

Posted 2017-10-08T16:04:55.250

Reputation: 763