How do you allow a user to log in using "su - user" but prevent the user from login in using SSH?
I tried to set the shell to /bin/false but the when I try to su it doesn't work.
Are there several ways to only allow logins by su?
Is SSH's AllowUser the way to go? (how would I do this if it's the way to go)
su - -s /bin/bash user– Leo Jan 29 '14 at 18:34