On the terminal server, set up the iucvconn_on_login script
and create a user with the name of the target system. No changes are
required on the target system.
Procedure
- As user root, log in to Linux™ on the terminal server.
- Copy the iucvconn_on_login script from the s390-tools package
documentation to /usr/bin. The path depends on
your distribution and might or might not include a packages directory
or version information for the s390-tools package.
For
example, enter:
[root]# cp /usr/share/doc/packages/s390-tools-1.9.0/ts-shell/iucvconn_on_login /usr/bin
- Make the script executable.
[root]# chmod +x /usr/bin/iucvconn_on_login
- Add the script to /etc/shells.
[root]# echo "/usr/bin/iucvconn_on_login" >> /etc/shells
- Add
lxguest1 as a new user with iucvconn_on_login
as the login shell: [root]# useradd -s /usr/bin/iucvconn_on_login lxguest1
- Set an initial password for the new user and force the
new user to change the password at the initial login.
Example: [root]# passwd lxguest1
...
[root]# chage lxguest1