Name

org.opensuse.Agama.Users1

Methods

SetRootPassword    (IN  s     Value,
                    IN  b     Encrypted,
                    OUT u     result);
RemoveRootPassword (OUT u     result);
SetRootSSHKey      (IN  s     Value,
                    OUT u     result);
SetFirstUser       (IN  s     FullName,
                    IN  s     UserName,
                    IN  s     Password,
                    IN  b     AutoLogin,
                    IN  a{sv} data,
                    OUT (bas) result);
RemoveFirstUser    (OUT u     result);
Write              (OUT u     result);

Properties

RootPasswordSet  readable   b
RootSSHKey       readable   s
FirstUser        readable   (sssba{sv})

Description

Method Details

The SetRootPassword() method

SetRootPassword (IN  s Value,
                 IN  b Encrypted,
                 OUT u result);

If Encrypted is set to true, it means that already encrypted password is sent

Example:

SetRootPassword("test", false)

IN s Value:

IN b Encrypted:

OUT u result:

The RemoveRootPassword() method

RemoveRootPassword (OUT u result);

OUT u result:

The SetRootSSHKey() method

SetRootSSHKey (IN  s Value,
               OUT u result);

Set root ssh public keys. Use empty string to unset it.

Example:

SetRootSSHKey("idrsa long key")

IN s Value:

OUT u result:

The SetFirstUser() method

SetFirstUser (IN  s     FullName,
              IN  s     UserName,
              IN  s     Password,
              IN  b     AutoLogin,
              IN  a{sv} data,
              OUT (bas) result);

Sets one non root user after installation. FullName and UserName have to follow restrictions for respective /etc/passwd entry. To unset it use empty UserName.

IN s FullName:

IN s UserName:

IN s Password:

IN b AutoLogin:

IN a{sv} data:

OUT (bas) result:

The RemoveFirstUser() method

RemoveFirstUser (OUT u result);

OUT u result:

The Write() method

Write (OUT u result);

OUT u result:

Property Details

The "RootPasswordSet" property

RootPasswordSet  readable   b

whenever root password will be set by installer

The "RootSSHKey" property

RootSSHKey  readable   s

Root public ssh key that can be used to login to machine. Can be empty which means not set

The "FirstUser" property

FirstUser  readable   (sssba{sv})

struct( string FullName, string UserName, string Password, boolean AutoLogin, map AdditionalData) Info about first user to set. if Username is empty, it means not set and other values can be ignored