ftp.sh 232 B

123456
  1. #!/bin/bash
  2. echo "posizione $(pwd)"
  3. echo "abcd.1234" | ftpasswd --passwd --stdin --file=/etc/proftpd/ftpd.passwd --name=storage --uid=1114 --gid=1002 --home=/mnt/Archivio/ --shell=/bin/bash
  4. proftpd
  5. touch /tmp/null
  6. tail -f /tmp/null