YaST intrerface for /etc/default/passwd agent
List of Global Functions
AddValue - Adds a new options to the current list of options
GetDefaultValue - Reads the value from /etc/default/passwd
GetFile - Returns the given file contents in the map form
GetFiles - Returns list of files currently handled by the module
GetGroupHashMethod - Reads the value of default crypt hash for group passwords
GetHashMethod - Reads the value of default crypt hash (defined in /etc/default/passwd)
GetValues - Returns the values (options) of one type in the given file
RemoveValue - Deletes an options from the current list of options
SetDefaultValue - Set the value of key in /etc/default/passwd
SetGroupHashMethod - Sets the new value of default crypt hash for group passwords
SetHashMethod - Sets the new value of default crypt hash - modifies /etc/default/passwd !
SetValues - Saves the new list of options of one type to given file
Write - Writes all edited files to the disk
List of Global Variables
Adds a new options to the current list of options
Function parameters
string file
string type
string value
Return value
boolean - success
Reads the value from /etc/default/passwd
Function parameters
string key
Return value
string
Returns the given file contents in the map form
Function parameters
string file
Return value
map - which maps type to list of its options
Reads the value of default crypt hash for group passwords
Return value
string
Reads the value of default crypt hash (defined in /etc/default/passwd)
Return value
string
Returns the values (options) of one type in the given file
Function parameters
string file
string type
Return value
list<string> - of options
Deletes an options from the current list of options
Function parameters
string file
string type
string value
Return value
boolean - success
Set the value of key in /etc/default/passwd
Function parameters
string key
string value
Return value
boolean
Sets the new value of default crypt hash for group passwords
Function parameters
string hash
Return value
boolean
Sets the new value of default crypt hash - modifies /etc/default/passwd !
Function parameters
string hash
Return value
boolean
Saves the new list of options of one type to given file
Function parameters
string file
string type
list<string> values
Return value
boolean - success