Tag Info

Hot answers tagged


As far as I know you cannot do this with SFTP nor ProFTPD. What I have done in the past with a similar requirement is to have program that runs as root scan the toplevel directories for an agreed upon file (in your case agreed upon with Alice and Bob e.g. account.new). Based on the content of that file the script run by root takes the appropriate actions, ...


Yes. You can use the file at /etc/pam.d/sshd. Testing I added a new user as testuser using the adduser command. I added the below entry in my /etc/ssh/sshd.deny file. (If it doesn't exist you can create the file). testuser Now, I added the below entry in my /etc/pam.d/sshd file. It is a good practice to backup your existing sshd file before making any ...

Only top voted, non community-wiki answers of a minimum length are eligible