You must create one or more users for ts-shell.
Procedure
- Create a user with ts-shell as the login shell and user group ts-shell.
Example: [root]# useradd -s /usr/bin/ts-shell -G ts-shell alice
Note: Ensure that the new user does not acquire any unintended authorizations from being added to
default user groups. Adding the new user to the ts-shell group does not affect
membership of such groups.
You can change an existing user ID to use ts-shell as the login shell and add the user to the
ts-shell group by issuing a command of this
form:
[root]# usermod -a /usr/bin/ts-shell -G ts-shell <id>
where
<id> is the existing ID.
- Optional: You might want to add the user to
additional user groups to manage access to target systems.
- Set an initial password for the new user and force the
new user to change the password at the initial login.
Example: [root]# passwd alice
...
[root]# chage alice