YaST2 Developers Documentation: yast2



functions
files
intro

yast2

modules/Autologin.ycp
Autologin read/write routines Author: Jiri Suchomel

Imports

  • Popup
  • ProductFeatures
  • Require

Global Variables

Global Functions

global user -> string

User to log in automaticaly

global pw_less -> boolean

Login without passwords?

global available -> boolean

Is autologin feature available?

global used -> boolean

Is autogion used? Usualy true when user is not empty, but for the first time (during installation), this can be true by default although user is "" (depends on the control file)

global modified -> boolean

Autologin settings modified?

global Read () -> boolean

Read autologin settings

Return value:
used?

global Write (boolean write_only) -> boolean

Write autologin settings

Parameters:
write_only when true, suseconfig script will not be run
Return value:
written anything?

global Disable () -> void

Disable autologin

global Use (boolean use) -> void

Wrapper for setting the 'used' variable

Parameters:
use

global DisableAndWrite (boolean write_only) -> boolean

Disable autologin and write it (used probably for automatic disabling without asking)

Parameters:
write_only when true, suseconfig script will not be run
Return value:
written anything?

global AskForDisabling (string new) -> boolean

Ask if autologin should be disabled (and disable it in such case)

Parameters:
new The reason for disabling autologin (e.g. new set of users)
Return value:
Is autologin used?

YaST2 Developers Documentation