daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. # apt install pure-ftpd
  4. groupadd ftpgroup
  5. useradd -g ftpgroup -d /dev/null -s /etc ftpuser
  6. pure-pw useradd myftp -u ftpuser -d /myftp
  7. pure-pw mkdb
  8. cd /etc/pure-ftpd/auth/
  9. ln -s ../conf/PureDB 60pdb
  10. mkdir /myftp
  11. chown -R ftpuser:ftpgroup /myftp/
  12. service pure-ftpd restart
  13. # pure-pw show myftp
  14. # apt install ftp
  15. # ftp localhost
  16. # service pure-ftpd stop
  17. # service pure-ftpd start
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top