Every GoAdmio account has a system user, which is also its FTP user, and PHP-FPM runs the account's site as that user. If the user is missing from the server, for example after the system user list was restored from an older state or after a migration, the site and its FTP login stop working. /go/checkid finds these accounts and repairs them. For every hosted domain it: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
/go/checkid
Options
None. Any arguments you pass are ignored. The command always checks every folder in /home that has a www folder.
Examples
# Check all accounts and repair missing users
/go/checkid
# Confirm that a user exists afterwards
id example.com
# Back up the shadow file before a run
cp -a /etc/shadow /root/shadow.bak
Output
The command prints nothing when every user exists. For each user it recreates, it prints one line:
Fix example.com (example.com)
The text in parentheses is the username stored for the domain.
Each run also adds a line to /var/log/go/checkid.log.
See the full reference at /go/checkid 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.
