User guide
Chapter 2 - Installation, Configuration, Usage
56 BLACK BOX ® Advanced Console Server
Step 6: Modify /etc/network/st_routes.
The fourth file defines static routes. In the console server example in the router is a
gateway router and thus its IP address is configured in this file to be the default
gateway. Other static routes are also configured in this file. If you will be managing
servers through a LAN, you don’t need to alter this file. If you will be managing via
Internet, you will be connecting through a router, and thus need to modify this file.
You would get the IP address from your Network Administrator. The default contents
of this file are:
route add default dev eth0
Step 7: Change password for root and new users.
The default /etc/passwd file has the user “root” with password “tslinux”. You should
change the password for user root as soon as possible. Before changing any password
or adding new users you should also activate shadow password, if it is needed. The
BLACK BOX ® Advanced Console Server has support for shadow password, but it is
not active by default. To activate shadow password follow the steps listed below:
Step A: Create an empty file called /etc/shadow.
# cd /etc
# touch shadow
Step B: Add a temporary user to the system. It will be removed later.
# adduser boo
Step C: 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 line begin-
ning with “root” must be the first line in the file /etc/shadow.
Step D: Edit the passwd file.
Replace the password in all password fields with an “x”. The root’s line will
look like this:
“root:x:0:0:root:/root:/bin/sh”
^
^ password field