YaST2 Developers Documentation: Configuration of users and groups

Configuration of users and groups

include/users/widgets.ycp
Widgets definitions and helper functions

Imports

  • Autologin
  • Label
  • Ldap
  • Message
  • Mode
  • Popup
  • Report
  • Stage
  • Users
  • UsersCache
  • UsersLDAP
  • Wizard

Includes

  • users/complex.ycp

Local Functions

local EncryptionPopup () -> string

Popup for choosing the password encryption method.

local AskForNISServerEncryptionPopup (string encr) -> symbol

NIS server enabled together with non-DES encryption of passwords In these popup, ask user what to do.

Parameters:
encr
local LDAPSearchFilterPopup () -> boolean

Popup for configuration user/group filter for making the LDAP search

Return value:
modified?
local AutologinPopup () -> boolean

Popup for Login settings (Auotolgin feature, login without passwords)

Return value:
modified?
local DeleteUserPopup () -> symbol

Popup for deleting user

Return value:
for sequencer
local DeleteGroupPopup () -> symbol

Popup for deleting group

Return value:
for sequencer
local CustomizePopup (string what) -> boolean

Dialog for definition of customized view

Parameters:
what "users" or "groups"
Return value:
true if customs were odified
local ChooseTypePopup (list<string> sets, string what) -> string

When there are more users/groups shown, choose which type should be created after `add click

Parameters:
sets
what
local GetExpertList () -> list

return the list of menu items of "Expert Options" menubutton

local help_main_start () -> string

First part of the help text.

Return value:
help text
local help_main_end () -> string

Last part of the help text.

Return value:
help text
local UsersDialogHelp () -> string

Help for UsersDialog.

Return value:
help text
local GroupsDialogHelp () -> string

Help for usersGroups.

Return value:
help text
local SummaryTableInit (string widget_id) -> void

Initialize the contents of Summary Table widget

Parameters:
widget_id
local AdvancedButtonsHandler (string widget_id, map event) -> symbol

Handler for events generated by Expert Settings menubutton

Parameters:
widget_id
event