public class UserAdd extends Object implements Statement
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).
Modifier and Type | Class and Description |
---|---|
static class |
UserAdd.Builder |
Constructor and Description |
---|
UserAdd(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) |
public UserAdd(com.google.common.base.Function<String,String> cryptFunction, String login, List<String> groups, @Nullable String password, @Nullable String installRSAPrivateKey, List<String> authorizeRSAPublicKeys, String defaultHome, String shell)
public static UserAdd.Builder builder()
public Iterable<String> functionDependencies(OsFamily family)
functionDependencies
in interface Statement
Copyright © 2009-2013 jclouds. All Rights Reserved.