30. Autologin

Autologin read/write routines

30.1. Authors

  • Jiri Suchomel <jsuchome@suse.cz>

30.2. Summary of Module Globals

List of Global Functions

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

  • Disable - Disable autologin

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

  • Read - Read autologin settings

  • Use - Wrapper for setting the 'used' variable

  • Write - Write autologin settings

List of Global Variables

  • available - Is autologin feature available?

  • modified - Autologin settings modified?

  • pw_less - Login without passwords?

  • used - 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)

  • user - User to log in automaticaly

30.3. Global Functions

30.3.1. AskForDisabling

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

Function parameters

  • string new

Return value

  • boolean - Is autologin used?

30.3.2. Disable

Disable autologin

Return value

  • void

30.3.3. DisableAndWrite

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

Function parameters

  • boolean write_only

Return value

  • boolean - written anything?

30.3.4. Read

Read autologin settings

Return value

  • boolean - used?

30.3.5. Use

Wrapper for setting the 'used' variable

Function parameters

  • boolean use

Return value

  • void

30.3.6. Write

Write autologin settings

Function parameters

  • boolean write_only

Return value

  • boolean - written anything?

30.4. Global Variables

30.4.1. available

Is autologin feature available?

30.4.2. modified

Autologin settings modified?

30.4.3. pw_less

Login without passwords?

30.4.4. used

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)

30.4.5. user

User to log in automaticaly

30.5. Module Requirements

30.5.1. Module Imports

  • Package
  • Popup
  • ProductFeatures

30.5.2. Module Includes