YaST2 Developers Documentation: yast2-pam

yast2-pam

modules/Pam.ycp
YaST intrerface for /etc/pam.d/* files

This module has an unstable interface.

Imports

  • FileUtils

Global Functions

Local Variables

local mkhomedir -> boolean

if pam_mkhomedir is set in /etc/pam.d/commond-session

global ReadMkHomeDir () -> boolean

Read the state of mkhomedir in /etc/pam.d/common-session (bug #143519)

global WriteMkHomeDir (boolean enabled) -> boolean

Write the new value of pam_mkhomedir to /etc/pam.d/common-session

Parameters:
enabled
global SetMkHomeDir (boolean new_value) -> boolean

Set the new value of mkhomedir

Parameters:
new_value
global Modified () -> boolean

Was anything handled by this module modified by user?

global MkHomeDir () -> boolean

return the value of mkhomedir

global Read () -> boolean

Reads all envolved files and stores their status

Return value:
true on success
global Write (boolean force) -> boolean

Writes all edited files to the disk

Parameters:
force - write everything, even if modification was not detected
Return value:
true on success