GoAdmio Command Line: skeleton with /go/skeleton

/go/skeleton sets up the skeleton FTP account, the login for the template files that new accounts can start from. When you create an account with create and –skeleton y, GoAdmio copies the files in /var/skeleton/ into the new site. Each run: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Create or reset the skeleton FTP account
/go/skeleton 'YourStrongPassword'

Arguments

Argument Required Notes
<password> Yes The new password for the skeleton FTP user. It is not checked or validated.

Always pass a password. The command does not stop when it is missing, and what happens then depends on the operating system.

Quote the password in single quotes to protect symbols from your shell. On Debian and Ubuntu the script passes the password on without quotes, so a password with spaces or characters such as *, $, or ; can be split or changed. Use letters and numbers only on those systems.

Examples

# Create or reset the account
/go/skeleton 'N3wStr0ngPass'

# Type the password without it appearing on screen or in shell history
read -rs -p "Password: " P; echo
/go/skeleton "$P"
unset P

# Review recent calls (this log contains the passwords)
tail /var/log/go/skeleton.log

Output

The command prints the output of the system tools it runs, then a confirmation:

Skeleton FTP password has been changed successfully.

This line is printed every time, even if a step failed. Most error messages are hidden. Confirm the result by logging in over FTP as skeleton.

Unknown operating system

Unknown operating system.

Nothing is changed. This appears when the OS name in /usr/local/goadmio/linux/os.db is not AlmaLinux, Rocky, CentOS, Red Hat, Fedora, Debian, or Ubuntu.

See the full reference at /go/skeleton and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *