YaST2 Developers Documentation: Configuration of users and groups



functions
files
intro

Configuration of users and groups

modules/UsersUI.ycp
UI-related routines to be run from perl modules (Users.pm etc.) Author: Jiri Suchomel

Imports

  • Label

Global Functions

Local Functions

global SystemUserName (string name) -> string

Return the translated name for system user

Parameters:
name

local 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 ReadNISConfigurationType (string basedir) -> string

If we can ask and are a NIS server, ask which set of users to administer and set UserWriteStack accordingly.

Parameters:
basedir the directory, where the data are stored
Return value:
directory

global GetPasswdErrorMessage (integer errno, string more) -> string

Error messages for errors detected during reading via .passwd agent

Parameters:
errno
more
Return value:
error message

global RecodeUTF (string text) -> string

recode the string from "environment encoding" to UTF-8

Parameters:
text

global HashPassword (string method, string pw) -> string

Parameters:
method
pw

YaST2 Developers Documentation