CoyoteKG
Regular Pleskian
Hi,
I have directory /var/backup/server15
And I wan't to create FTP user to access only to this directory.
useradd -m -d /var/backup/server15 user15
usermod -s /bin/false user15
passwd user15
and now when I execute
# getent passwd user15
I'm getting this
user15:x:10003:10003::/var/backup/server15:/bin/false
But can't login in /var/log/secure log I'm getting this
Do I need to configure /etc/proftpd.conf somehow?
There I can see only this directory
<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>
I have directory /var/backup/server15
And I wan't to create FTP user to access only to this directory.
useradd -m -d /var/backup/server15 user15
usermod -s /bin/false user15
passwd user15
and now when I execute
# getent passwd user15
I'm getting this
user15:x:10003:10003::/var/backup/server15:/bin/false
But can't login in /var/log/secure log I'm getting this
Code:
Jul 13 17:08:03 bkpsrv proftpd: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers
Jul 13 17:08:03 bkpsrv proftpd: pam_unix(proftpd:session): session opened for user user15 by (uid=0)
Jul 13 17:08:03 bkpsrv proftpd: pam_unix(proftpd:session): session closed for user user15
Do I need to configure /etc/proftpd.conf somehow?
There I can see only this directory
<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>