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)