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
Содержание CE50-10
Страница 1: ...Hitachi Industrial Edge Computer CE50 10 Instruction Manual CC 65 0171 ...
Страница 10: ......
Страница 16: ...H 1 List of log capacities 176 H 2 Updating the encryption algorithm 176 I Communication Sheet 178 Contents vi ...
Страница 23: ...Figure 1 6 Attaching mounting brackets 4 1 Installing the CE50 10 7 ...
Страница 26: ......
Страница 38: ......
Страница 42: ...4 2 5 Connection diagram Figure 4 2 Connection diagram 4 External Contact Functions 26 ...
Страница 44: ......
Страница 52: ... gsettings set org gnome desktop background show desktop icons true 5 Configuring Software Environment 36 ...
Страница 87: ... sudo etc init d netfilter persistent save 5 Configuring Software Environment 71 ...
Страница 117: ...version information 13 Log out from the unit exit 5 Configuring Software Environment 101 ...
Страница 143: ...6 Managing User Accounts This chapter describes how to add and delete user accounts for the CE50 10 127 ...
Страница 148: ......
Страница 149: ...7 Maintaining the CE50 10 This chapter describes maintenance of the CE50 10 133 ...
Страница 157: ...8 Troubleshooting This chapter describes troubleshooting of the CE50 10 141 ...
Страница 159: ...Figure 8 2 Troubleshooting flow chart 8 1 1 Smoke or unusual odor WARNING 8 Troubleshooting 143 ...
Страница 162: ...8 1 14 Cannot turn off the power to the unit Please contact us 8 Troubleshooting 146 ...