Guest User

Untitled

a guest
Aug 20th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. useradd ftpuser -d /homedir
  2. passwd ftpuser
  3.  
  4. Changing password for user <username>
  5. New UNIX password:
  6. Retype new UNIX password:
  7. passwd: all authentication tokens updated successfully.
  8.  
  9. vi /etc/passwd
  10. ftpuser:x:506:508::/homedir:/sbin/nologin
  11.  
  12. vi /etc/vsftpd/vsftpd.conf
  13. chroot_list_enable=YES
  14. (default follows)
  15. chroot_list_file=/etc/vsftpd.chroot_list
  16.  
  17. vi /etc/vsftpd.chroot_list
  18. ftpuser
  19.  
  20. /etc/init.d/vsftpd restart
Add Comment
Please, Sign In to add comment