About this task
Booting the Avaya Enterprise Linux system in a Single User Mode without password protection is a
security risk. Use this procedure to enable password protection for a Single User
Mode logon to the Avaya Enterprise Linux system for security reasons.
Note:
By default, the system does not ask for a password of a root user
trying to log on in a Single User Mode in the Avaya Enterprise Linux
system.
Procedure
-
To enable password requirement in the /etc/sysconfig/init
file, do the following:
-
Using a secure shell session (SSH), log on to the Avaya Enterprise
Linux system as a user with root privileges.
-
Open the /etc/sysconfig/init file and replace
SINGLE=/sbin/subshell with
SINGLE=/sbin/sulogin.
-
To set a password for the root user to enable password protection for a Single
User Mode:
Note:
By default, the root user is disabled from logging
into the Avaya Enterprise Linux system for security reasons.
-
Using a secure shell session (SSH), log on to the Avaya Enterprise
Linux system as a user with root privileges.
-
On the command prompt, enter passwd root.
-
In New password, type a new password and press
Enter.
-
In Retype new password, re-enter the new
password and press Enter.
-
To boot the Avaya Enterprise Linux system in a Single User Mode, do the
following:
-
Log on to the Avaya Enterprise Linux system using a secure shell
session (SSH).
-
On the command line, enter init 1 to boot the
system in a Single User Mode.
-
Enter the root password when the system asks for a root password.