YaST2 Developers Documentation: yast2-pam

yast2-pam

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

This module has an unstable interface.

Global Functions

global Query (string mod) -> map

Query PAM configuration for status of given module

Parameters:
mod
Return value:
keys are 'management groups' (e.g. auth), values are lists of options
global Enabled (string mod) -> boolean

Ask if given PAM module is enabled

Parameters:
mod
global Add (string mod) -> boolean

Add options or new PAM module

Parameters:
mod
Return value:
success
global Remove (string mod) -> boolean

Remove options or PAM module

Parameters:
mod
Return value:
success
global Set (string mod, boolean set) -> boolean

Add/Remove option or PAM module

Parameters:
mod
set
Return value:
success