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?


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.