Posted 2014-02-03 18:23 by Joe
Changes the SSH and/or Webmin password on some system
This command can be used to change the root password for SSH or Webmin on a managed system.
The Unix password can be set with the
while the Webmin password can be changed with
To configure Webmin to check the Unix password when root logs,
When the command is run,
it will update
/etc/webmin/miniserv.users on the selected machine to make the changes.
Cloudmin's authentication information for the system will also be updated to match.
you can configure the system to accept root logins via an SSH key setup in Cloudmin with the
followed by a key ID.
Registered keys can be fetched from the
list-ssh-keys API command.
This will update the
/root/.ssh/authorized_keys file on the virtual system.
If you have created a virtual system for a customer, changing the root password when you are ready to hand it over is a good idea. Be aware that for Xen systems, if the password is changed on the system directly (perhaps using the passwd command), Cloudmin will be no longer able to login via SSH to change it, or even to check the system's status.
For Xen and KVM systems,
the password used for access to the graphical console can be changed with the
--graphical-pass flag followed by a new password.
By default this is the same as the SSH password,
or a random string if no password was set at creation time.
Command Line Help
Changes the SSH or Webmin passwords for a managed system. cloudmin passwd-system --host name [--ssh-pass password | --ssh-key id] [--webmin-pass password | --webmin-same] [--graphical-pass password]