Unknown YCP Module |
|
This module has an unstable interface. |
Imports
Global Functions
Local Variables |
Info:
File: modules/PamSettings.ycp
Package: yast2-pam
Summary: YaST intrerface for /etc/default/passwd agent
Authors: Jiri Suchomel
$Id: PamSettings.ycp 67275 2012-01-25 07:47:17Z jsuchome $
local
default_passwd_modified
->
boolean
Was /etc/default/passwd modified?
global
GetHashMethod ()
->
string
Reads the value of default crypt hash (defined in /etc/default/passwd)
global
GetGroupHashMethod ()
->
string
Reads the value of default crypt hash for group passwords
global
GetDefaultValue (string key)
->
string
Reads the value from /etc/default/passwd
- Parameters:
-
key
global
SetHashMethod (string hash)
->
boolean
Sets the new value of default crypt hash - modifies /etc/default/passwd !
- Parameters:
-
hash the new value of hash
- Example
-
SetValues ("md5")
global
SetGroupHashMethod (string hash)
->
boolean
Sets the new value of default crypt hash for group passwords
- Parameters:
-
hash the new value of hash
global
SetDefaultValue (string key, string value)
->
boolean
Set the value of key in /etc/default/passwd
- Parameters:
-
key value
global
Write (boolean force)
->
boolean
Writes all edited files to the disk
- Parameters:
-
force - write everythink, even if modification was not detected
- Return value:
-
true on success