Change the user's shell.
Disable the specified shell user.
Enable the specified shell user.
Lists the SiteWorx shell users.
array ( 'status' => 0, 'payload' => array ( 0 => array ( 'shell' => '/sbin/nologin', 'home' => '/home/mydomain', 'info' => '', 'gid' => '500', 'uid' => '500', 'x' => 'x', 'user' => 'mydomain', 'pass' => '!!', 'disabled' => true, 'siteworx' => 'mydomain.com', 'history' => false, ), 1 => array ( 'shell' => '/sbin/nologin', 'home' => '/home/example', 'info' => '', 'gid' => '560', 'uid' => '560', 'x' => 'x', 'user' => 'example', 'pass' => '!!', 'disabled' => true, 'siteworx' => 'example.com', 'history' => false, ), ), )
Lists the System shell users.
array ( 'status' => 0, 'payload' => array ( 0 => array ( 'shell' => '/bin/bash', 'home' => '/root', 'info' => 'root', 'gid' => '0', 'uid' => '0', 'x' => 'x', 'user' => 'root', 'pass' => '$FkdFdW/c$OZJiH9VGle8UizgLfz7wc0', 'disabled' => false, 'history' => true, ), 1 => array ( 'shell' => '/sbin/nologin', 'home' => '/var/lib/nfs', 'info' => 'Anonymous NFS User', 'gid' => '65534', 'uid' => '65534', 'x' => 'x', 'user' => 'nfsnobody', 'pass' => '!!', 'disabled' => true, 'history' => false, ), 2 => array ( 'shell' => '/bin/bash', 'home' => '/home/axfrdns', 'info' => '', 'gid' => '502', 'uid' => '502', 'x' => 'x', 'user' => 'axfrdns', 'pass' => '!!', 'disabled' => true, 'history' => false, ), ), )
Change a shell user password.
Change the default shell.
Controller: Shell
Action: changeshell (Added in version 4.8.0-393)
Change the user's shell.
Input Parameters
mydomain, example, nfsnobody, axfrdns
/bin/sh, /bin/bash, /sbin/nologin, /bin/tcsh, /bin/csh, /bin/ksh
/sbin/nologin
Action: disable (Added in version 4.8.0-393)
Disable the specified shell user.
Input Parameters
mydomain, example, nfsnobody, axfrdns
Action: enable (Added in version 4.8.0-393)
Enable the specified shell user.
Input Parameters
mydomain, example, nfsnobody, axfrdns
Action: listSiteworxUsers (Added in version 4.8.0-393)
Lists the SiteWorx shell users.
Example Output
array ( 'status' => 0, 'payload' => array ( 0 => array ( 'shell' => '/sbin/nologin', 'home' => '/home/mydomain', 'info' => '', 'gid' => '500', 'uid' => '500', 'x' => 'x', 'user' => 'mydomain', 'pass' => '!!', 'disabled' => true, 'siteworx' => 'mydomain.com', 'history' => false, ), 1 => array ( 'shell' => '/sbin/nologin', 'home' => '/home/example', 'info' => '', 'gid' => '560', 'uid' => '560', 'x' => 'x', 'user' => 'example', 'pass' => '!!', 'disabled' => true, 'siteworx' => 'example.com', 'history' => false, ), ), )Action: listSystemUsers (Added in version 4.8.0-393)
Lists the System shell users.
Example Output
array ( 'status' => 0, 'payload' => array ( 0 => array ( 'shell' => '/bin/bash', 'home' => '/root', 'info' => 'root', 'gid' => '0', 'uid' => '0', 'x' => 'x', 'user' => 'root', 'pass' => '$FkdFdW/c$OZJiH9VGle8UizgLfz7wc0', 'disabled' => false, 'history' => true, ), 1 => array ( 'shell' => '/sbin/nologin', 'home' => '/var/lib/nfs', 'info' => 'Anonymous NFS User', 'gid' => '65534', 'uid' => '65534', 'x' => 'x', 'user' => 'nfsnobody', 'pass' => '!!', 'disabled' => true, 'history' => false, ), 2 => array ( 'shell' => '/bin/bash', 'home' => '/home/axfrdns', 'info' => '', 'gid' => '502', 'uid' => '502', 'x' => 'x', 'user' => 'axfrdns', 'pass' => '!!', 'disabled' => true, 'history' => false, ), ), )Action: password
Change a shell user password.
Input Parameters
root, nfsnobody, mydomain, axfrdns, example
The current password, used to authenticate changes.
Confirm the password field by providing it again. Must match the password provided.
Action: shellOptions (Added in version 4.8.0-393)
Change the default shell.
Input Parameters
/bin/sh, /bin/bash, /sbin/nologin, /bin/tcsh, /bin/csh, /bin/ksh
/bin/bash