Class UserAdd
java.lang.Object
org.jclouds.scriptbuilder.statements.login.UserAdd
- All Implemented Interfaces:
Statement
Creates a statement that will add a given user to a machine ("login"), with optional
password, groups, private key, and authorized keys.
This is supported on most *nix environments. Not currently supported on Windows.
Note that some places where this is used may have stricter requirements on the parameters
(for example AdminAccess
requires password and keys).
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionUserAdd
(com.google.common.base.Function<String, String> cryptFunction, String login, List<String> groups, String password, String installRSAPrivateKey, List<String> authorizeRSAPublicKeys, String defaultHome, String shell) UserAdd
(com.google.common.base.Function<String, String> cryptFunction, String login, List<String> groups, String password, String installRSAPrivateKey, List<String> authorizeRSAPublicKeys, String home, String defaultHome, String shell, String fullName) -
Method Summary
-
Constructor Details
-
UserAdd
-
UserAdd
-
-
Method Details