1 2 3 4 5 6 7
#!/bin/sh addgroup -S proftpd 2>/dev/null adduser -S -D -h /var/lib/ftp -s /sbin/nologin -G proftpd -g proftpd proftpd 2>/dev/null adduser proftpd ftp 2>/dev/null exit 0