Service manual

Cyclades-TS
26
Chapter 5 - Summary of the Configuration Process
Installation & Service Manual
D. Change password for root and new users.
The default /etc/passwd file has the user root with password tslinux. The customer should change the password
for user root as soon as possible. Before changing any password or adding new users the customer should also
activate shadow password, if it is needed. The Cyclades-TS has support for shadow password, but it is not
active by default. To activate shadow password follow the steps listed below:
1. Create an empty file /etc/shadow
# cd /etc
# touch shadow
2. Add a temporary user to the system, it will be removed later.
# adduser boo
3. Edit the file shadow. For each user in passwd file, create a copy of the line that begins with boo: in the
shadow file, then replace boo with the user name. The roots line must be the first one.
4. Edit the passwd file and replace all fields password with x. The roots line will look like:
root:x:0:0:root:/root:/bin/sh
password field
TIP: Using the vi editor, put the cursor in the first byte after root:, then type ct:x plus <ESC>.