YaST2 Developers Documentation: Configuration of users and groups

Configuration of users and groups

include/users/dialogs.ycp
Dialogs definitions

This module has an unstable interface.

Imports

  • Autologin
  • FileUtils
  • GetInstArgs
  • Label
  • Ldap
  • LdapPopup
  • Message
  • Package
  • Popup
  • Progress
  • Report
  • Stage
  • String
  • Summary
  • Users
  • UsersCache
  • UsersLDAP
  • UsersPlugins
  • Wizard

Includes

  • users/helps.ycp
  • users/routines.ycp

Local Functions

local AskForUppercasePopup (string username) -> symbol

Upperase letters were used in username! (see bug #26409) In these popup, ask user what to do.

Parameters:
username
local AskForOldPassword () -> string

Ask user for current password, see bugs 242531, 244718

Return value:
or nil when dialog was canceled
local EditUserDialog (string what) -> symbol

Dialog for adding or editing a user.

Parameters:
what "add_user" or "edit_user"
Return value:
for wizard sequencer
local reinit_userdata () -> void

initialize local variables with current state of user

local get_edit_term () -> term

generate contents for User Data Dialog

local get_details_term () -> term

generate contents for User Details Dialog

local get_password_term () -> term

generate contents for Password Settings Dialog

local get_plugins_term () -> term

generate contents for Plugins Dialog

local EditGroupDialog (string what) -> symbol

Dialog for adding/editing group

Parameters:
what "add_group" or "edit_group"
Return value:
for wizard sequencer
local reinit_groupdata () -> void

initialize local variables with current state of group

local get_edit_term () -> term

generate contents for Group Data Dialog

local get_plugins_term () -> term

generate contents for Plugins Dialog

local DefaultsDialog () -> symbol

The dialogs for setting defaults from /etc/defaults/useradd

Return value:
for wizard sequencer
local AuthentizationDialog () -> symbol

Choosing the user authentization method

Return value:
for sequencer
local get_module_data (string client) -> string

helper function to get information about authentication from appropriate module

Parameters:
client
local reload_config () -> void

Reloads the configuration and updates the auth-widget contents

local UserSave () -> symbol

Just giving paramaters for commiting user

Return value:
for wizard sequencer
local GroupSave () -> symbol

Check the group parameters and commit it if all is OK

Return value:
for wizard sequencer