YaST2 Developers Documentation: Configuration of users and groups

Configuration of users and groups

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

This module has an unstable interface.

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