Tag Info

Hot answers tagged


I would do this with a script, if the home directories map to the mail directories something like this would work #!/bin/bash for user in $(find /home -maxdepth 1 -type d -exec basename {} \; ) do echo "$user" # Do other things as required done


One of the solutions is to use ProFTPd with mod_sftp like this: SFTPEngine on SFTPLog /var/log/sftp.log Port 2222 SFTPHostKey /etc/ssh/ssh_host_rsa_key SFTPHostKey /etc/ssh/ssh_host_dsa_key SFTPCompression delayed MaxLoginAttempts 6 DefaultRoot ~ Umask 002 CreateHome on 770 dirmode 770 And change joe's and bob's user group to www-data. So your web server ...

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