YaST2 Developers Documentation: Users.ycp



functions
files
intro

Users.ycp

Imports

  • Console
  • Mode
  • UserAddDefs
  • UserDefs
  • UserSettings
  • UserWriteStack

Functions

global Users () -> void

Module constructor

global removeOldConf () -> void

Remove old config options

Return value:
;

global cryptRootPassword (string pw1) -> void

Crypt the root password according to method defined in encryptionMethod

Parameters:
pw1 unencrypted password

global SetRootPassword () -> boolean

Writes password of superuser

Return value:
true on success

global Import (list settings) -> boolean

Get all the user configuration from a map. When called by users_auto (preparing autoinstallation data) the list can't be empty.

Parameters:
settings A list of users to be added to the system
Return value:
success

global Write () -> boolean

Saves users into the system

Return value:
true on success

YaST2 Developers Documentation