YaST2 Developers Documentation: Configuration of users and groups



functions
files
intro

Configuration of users and groups

include/users/dialogs.ycp
Dialogs definitions

Imports

  • Autologin
  • Call
  • Label
  • Ldap
  • LdapPopup
  • Mode
  • Popup
  • Progress
  • Report
  • Require
  • Summary
  • Users
  • UsersCache
  • UsersLDAP
  • UsersPlugins
  • Wizard

Includes

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

Local Functions

local string_to_symbol (string to_convert) -> symbol

Helper function, converting some strings to symbols (for later use by wizard sequencer)

Parameters:
to_convert original string
Return value:
converted symbol

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 EditUserDialog (string what) -> symbol

Function that adds or edits a user.

Parameters:
what "add_user" or "edit_user"
Return value:
for wizard sequencer

local clear_password_fields () -> void

Helper function for user dialog: invalidate any old password and clear password inputfields

local EditUserDetailsDialog () -> symbol

Details of adding/cloning/editing dialog

Return value:
for wizard sequencer

local EditUserPasswordDialog () -> symbol

Details of adding/cloning/editing dialog

Return value:
for wizard sequencer

local PluginDialog (string what) -> symbol

Dialog with additional settings, provided by extern plugins

Parameters:
what
Return value:
for wizard sequencer

local EditGroupDialog (string what) -> symbol

Details of adding/editing group dialog

Parameters:
what "add_group" or "edit_group"
Return value:
for wizard sequencer

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 @param client @return

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

YaST2 Developers Documentation