YaST2 Developers Documentation: Configuration IUCV Terminal Server

Configuration IUCV Terminal Server

modules/IUCVTerminalServer.ycp
IUCV Terminal Server settings, input and output functions
  • Tim Hardeck

This module has an unstable interface.

Imports

  • FileUtils
  • Integer
  • Popup
  • Progress
  • Report
  • String
  • Users

Global Variables

Global Functions

Local Functions

Info:

Text to select all

Info:

Path of the TS-Shell

Info:

Path of the IUCVConn shell

global modified -> boolean

Data was modified?

global zvm_id_list -> list<string>

List of zvmids

global ts_enabled -> boolean

Is TS-Shell enabled?

global ts_home -> string

TS-Shell Home Directory

global ts_audited_ids -> list<string>

List of audited tsshell ids

global ts_has_status_changed -> boolean

Did the TS-Shell status change (from off to on or vice versa)

Info:

List/Regex/file map per TS-Shell user/group the key of the first map is the user/group name the key of the second map is the selected radio button symbol

Info:

Map of the loaded ts-authorization.conf settings (for saving purposes)

global ic_enabled -> boolean

Is IUCVConn enabled?

global ic_home -> string

IUCVConn Home Directory

global GetUsers (boolean local) -> map <string, map>

GetUsers

Parameters:
local
Return value:
of users
global GetGroups (boolean local) -> map <string, map>

GetGroups

Parameters:
local
Return value:
of groups
global DeleteUser (string username) -> boolean

Delete users

Parameters:
username
Return value:
true if deletion was successful
global GetTsUsersList () -> list<string>

Gather all users which have TS-Shell as their shell

Return value:
of usernames
global GetIcUsersList () -> list<string>

Gather all users which have TS-Shell as their shell

Return value:
of usernames
local AddUser (string username, string password, string group_id, string home, string shell, map<string, string> additional_groups, boolean force_pw_change) -> string

Abstract add a new user function

Parameters:
username
password
group_id
home
shell
additional_groups
force_pw_change
Return value:
the new user id as a string
global SyncIucvConnUsers (list<string> zvmid_list, string ic_password) -> void

Sync z/VM ids with the user accounts

Parameters:
zvmid_list
ic_password
global AddTsUser (string username, string password, string home, map<string, string> additional_groups, boolean force_pw_change) -> string

Add a new TS-Shell user

Parameters:
username
password
home
additional_groups
force_pw_change
Return value:
the new user id as a string
local UpdateTsMemberConfig (string name, string value) -> void

Update a configuration entry for TS-Shell users and configured groups

Parameters:
name of the entry (groups start with an "@"); value
value
global Read () -> boolean

Read all settings

Return value:
true on success
global Write () -> boolean

Write all settings

Return value:
true on success