YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • FileUtils
  • Package
  • Pam
  • Progress
  • Service

Includes

  • security/levels.ycp

Global Variables

Global Functions

Local Variables

Local Functions

Info:

File: modules/Security.ycp Package: Security configuration Summary: Data for the security configuration Authors: Michal Svec

global Settings -> map<string,string>

All security settings

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

Security settings locations

Info:

Default values for /etc/sysctl.conf keys

Info:

Mapping of /etc/sysctl.conf keys to old (obsoleted) sysconfig ones (used during autoYaST import

Info:

Mapping of /etc/login.defs keys to old (obsoleted) ones (used during autoYaST import)

Info:

mapping of internal YaST values to values needed for org.freedesktop.upower.hibernate privilege

global PasswordMaxLengths -> map

Number of sigificant characters in the password

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 ReadConsoleShutdown () -> string

Read the information about ctrl+alt+del behavior See bug 742783 for description

global Read () -> boolean

Read all security settings

Return value:
true on success
local WriteConsoleShutdown (string ca) -> boolean

Write the value of ctrl-alt-delete behavior

Parameters:
ca
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