org.opensuse.Agama.Users1
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);
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
:
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
:
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
: