GoAdmio Command Line: password with /go/password

/go/password sets a new password for a hosting account. One password covers the account's FTP login, SSH login, and GoAdmio panel login. It: The command re-runs itself with sudo if it isn't started as root. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/password example.com 'N3wS3cureP4ss'

Arguments

Argument Required Default Notes
<domain> Yes — The account’s primary domain, exactly as stored in GoAdmio, or all. It is not lowercased or normalized.
<password> Single mode: yes. all: no all: random 16 alphanumeric characters Use letters and digits, or at least avoid spaces and the characters *, ?, and $. Internal calls don’t quote the value.

The command has no --option flags.

Examples

# Change one account's password
/go/password example.com 'N3wS3cureP4ss'

# Change every account to one generated password
/go/password all

# Change every account to a password you choose
/go/password all 'SharedPass2026'

# Unique random password per account, printed once
for d in $(ls /home); do
[ -d "/home/$d/www" ] || continue
p=$(openssl rand -base64 16 | tr -dc 'A-Za-z0-9' | head -c 16)
/go/password "$d" "$p" >/dev/null && echo "$d $p"
done

Output

Outcome What you get
Single account changed Password has been modified successfully (<domain>)., then Change default password for all MySQL Databases: followed by the output of phpmyadmin.
/home/<domain> doesn’t exist Directory /home/<domain> not exists. and exit code 1.
all The messages above for each account, then a two-column table (Domain Password) of every changed account.
Unsupported operating system No success message and the system user is not changed. See Details.

Notes on the output:

  • In the all table, the first column actually lists each account’s username. It matches the domain when the username is the default.
  • The all form always exits with code 1, even when it succeeds.
  • The success message prints before the panel hash is updated and before the background ownership fix finishes.

Logging

The command appends a line to /var/log/go/password.log with a timestamp and ******** in place of every argument. The log therefore doesn’t record which domain was changed.

Security

[!WARNING]
The new password is visible in plain text in the all output table, in the process list while the command runs, and in your shell history. Clear your history after use, or run the command from a script that doesn’t log it.

The panel stores a salted hash, md5("<password>|<salt>"), not the password itself. This is the same scheme create uses.

See the full reference at /go/password 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 *