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