A Painless Hosting Provisioner.
The mkwebuser tool creates a user, together with a mounted volume of specified size.
The user is put into a chroot jail and an sftp account is created.
This results in a safe unescapable user environment with sftp access and quota limit.
- Creates user
<username>with home directory at<user_base>/<username> - Creates an ext4 volume with
<quota>MiB at<user_base>/<username>/volume - Mounts the volume at
<mount_base>/<username> - Chroot jails user
<username>to<mount_base>/<username> - Creates an openssh sftp
nologinentry for<username>
USAGE:
mkwebuser [OPTIONS] --username <username>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-b, --base <base>
-q, --quota <quota>
-u, --username <username>
-m, --mountbase <mountbase>