#!/bin/sh echo "Enter username here: "; read NAME echo "Enter home dir: "; read HDIR echo "Enter shell (/bin/false): "; read SHELL ftpasswd --file "/etc/ftpd.passwd" --uid 65534 --gid 65534 --home "$HDIR" --shell "$SHELL" --md5 --name "$NAME" --passwd exit 0