5.12 Setting the security functions
You can use the following functions to safely operate the unit.
Table 5‒13: Security functions
Function name
Description
Login policy
This function prevents unauthorized logins.
Password policy
This function defines the length, complexity, and update period of passwords.
Firewall
This function closes unused ports and blocks invalid packets.
5.12.1 Setting login policies
You can specify the following settings for users who log in to the unit:
•
Root account login
•
Account lock for a failed login
•
Login timeout
(1) Setting root account login
This function permits (enables) or rejects (disables) login with the root account. This function is disabled by default.
(a) Enabling root login
1. Set a password for the root account.
Use the
passwd
command to set the password.
$ sudo passwd
New password: <- Enter the password (the entered character string is not displayed)
.
Retype new password: <- Enter the password again (the entered character string is n
ot displayed).
passwd: password updated successfully
2. Enable login with the root account.
The following example shows how to run the command.
$ sudo passwd -u root
passwd: password expiry information changed.
3. (Optional) To enable root login via ssh, edit the SSH configuration file.
$ sudo vi /etc/ssh/sshd_config
4. (Optional) In the
sshd_config
file, change the setting of the
PermitRootLogin
option from
no
to
yes
.
PermitRootLogin no->yes
5. (Optional) After editing the SSH configuration file, you can enable the settings by running the following
command.
$ sudo systemctl restart ssh
(b) Disabling root login
Change the login with the root account from enabled to disabled.
The following shows an example of running the command.
5. Configuring Software Environment
64
Summary of Contents for CE50-10
Page 1: ...Hitachi Industrial Edge Computer CE50 10 Instruction Manual CC 65 0171 ...
Page 10: ......
Page 23: ...Figure 1 6 Attaching mounting brackets 4 1 Installing the CE50 10 7 ...
Page 26: ......
Page 38: ......
Page 42: ...4 2 5 Connection diagram Figure 4 2 Connection diagram 4 External Contact Functions 26 ...
Page 44: ......
Page 87: ... sudo etc init d netfilter persistent save 5 Configuring Software Environment 71 ...
Page 117: ...version information 13 Log out from the unit exit 5 Configuring Software Environment 101 ...
Page 148: ......
Page 149: ...7 Maintaining the CE50 10 This chapter describes maintenance of the CE50 10 133 ...
Page 157: ...8 Troubleshooting This chapter describes troubleshooting of the CE50 10 141 ...
Page 162: ...8 1 14 Cannot turn off the power to the unit Please contact us 8 Troubleshooting 146 ...