YaST2 Developers Documentation: Security configuration

Security configuration

modules/Security.ycp
Data for the security configuration

This module has an unstable interface.

Imports

  • PamSettings
  • Progress

Includes

  • security/levels.ycp

Global Variables

Global Functions

Local Variables

global Settings -> map<string,string>

All security settings

local Locations -> map<string,list<string> >

Security settings locations

global PasswordMaxLengths -> map

Number of sigificant characters in the password

local Ciphers -> list<string>

List of supported password encryption ciphers

global AbortFunction -> block<boolean>

Abort function return boolean return true if abort

global PollAbort () -> boolean

Check for pending Abort press

Return value:
true if pending abort
global Abort () -> boolean

Abort function

Return value:
blah blah lahjk
global modified -> boolean

Data was modified?

global GetModified () -> boolean

Function which returns if the settings were modified

Return value:
settings were modified
global SetModified () -> void

Function sets internal variable, which indicates, that any settings were modified, to "true"

global Modified () -> boolean

Data was modified?

Return value:
true if modified
global Read () -> boolean

Read all security settings

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

Write all security settings

Return value:
true on success
global Import (map settings) -> boolean

Get all security settings from the first parameter (For use by autoinstallation.)

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
global Export () -> map

Dump the security settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> list

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
global Overview () -> list

Create an overview table with all configured cards

Return value:
table items