Class UserAdd

  • All Implemented Interfaces:
    Statement

    public class UserAdd
    extends Object
    implements 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).