Configuration of the users and groups
|
users/ui.ycp
|
|
Screens and UI routines for the users module
|
|
|
|
Imports
- Mode
- Progress
- Report
- UserAddDefs
- UserDefs
- UserSettings
- UserWriteStack
- Wizard
Includes
- ui/common_messages.ycp
- ui/common_popups.ycp
- users/help.ycp
Functions
|
|
|
|
global userSetup () -> symbol
|
|
Set the module to normal setup mode
- Return value:
|
global usersInstStart () -> symbol
|
|
Set the module into installation mode with first dialog for single user addition
- Return value:
|
global save_focus (integer table_input, any ret, symbol what) -> void
|
|
Save focus of main users dialog
- Parameters:
|
table_input |
integer |
|
ret |
any |
|
what |
symbol |
|
global rbUsersGroup (symbol what) -> term
|
|
Define the switch between Users and Groups administration.
This is used in usersUsersDialog and usersGroupsDialog.
- Parameters:
|
what |
what can be `users or `groups |
- Return value:
|
global usersReallyAbort () -> symbol
|
|
The dialog that appears when the [Abort] button is pressed.
- Return value:
|
|
`abort if user really wants to abort |
|
global getConfigurationType (string dir) -> symbol
|
|
Ask user for configuration type (standard or NIS)
- Parameters:
|
dir |
string directory with NIS settings |
- Return value:
|
|
`passwd or `nis or `abort |
|
global ReadDialog (boolean useUI) -> symbol
|
|
Read settings dialog
- Parameters:
|
useUI |
boolean use user interface (change progress bar) |
- Return value:
|
|
`next if success, else `abort |
|
global usersUsersDialog () -> symbol
|
|
The first of the two main dialogs -- list of the users.
- Return value:
|
global usersEditUserDetails () -> symbol
|
|
Details of adding/cloning/editing dialog
- Return value:
|
global usersEditUserPassword () -> symbol
|
|
Details of adding/cloning/editing dialog
- Return value:
|
global usersProposeUsername (string forename, string surname) -> string
|
|
Propose a username.
- Parameters:
|
forename |
forename |
|
surname |
surname |
- Return value:
|
global usersSplitFullName (symbol what, string fullname, integer uid) -> string
|
|
Split fullname in forename and surname.
- Parameters:
|
what |
`surname or `forename |
|
fullname |
fullname |
|
uid |
user id |
- Return value:
|
|
selected part of user name |
|
global usersEditUser (symbol what) -> symbol
|
|
Function that adds or edits a user.
- Parameters:
|
what |
`add_user or `edit_user |
- Return value:
|
global usersDeleteUser () -> symbol
|
|
Delete the user saved in user_in_work from current_users and
add a entry with a shell delete command to the map write_to_system_stack.
- Return value:
|
global usersGroupsDialog () -> symbol
|
|
The second of the two main dialogs.
- Return value:
|
global usersEditGroup (symbol what) -> symbol
|
|
Details of adding/cloning/editing dialog
- Parameters:
|
what |
`add_user, `clone_user or `edit_user |
- Return value:
|
global usersDeleteGroup () -> symbol
|
|
Delete the Group saved in group_in_work from current_groups and
add a entry with a shell delete command to the map write_to_system_stack.
- Return value:
|