Print

Enabling password protection for Single User Mode on Avaya Enterprise Linux

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.

noteNote:

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

  1. To enable password requirement in the /etc/sysconfig/init file, do the following:
    1. Using a secure shell session (SSH), log on to the Avaya Enterprise Linux system as a user with root privileges.
    2. Open the /etc/sysconfig/init file and replace SINGLE=/sbin/subshell with SINGLE=/sbin/sulogin.
  2. To set a password for the root user to enable password protection for a Single User Mode:
    noteNote:

    By default, the root user is disabled from logging into the Avaya Enterprise Linux system for security reasons.

    1. Using a secure shell session (SSH), log on to the Avaya Enterprise Linux system as a user with root privileges.
    2. On the command prompt, enter passwd root.
    3. In New password, type a new password and press Enter.
    4. In Retype new password, re-enter the new password and press Enter.
  3. To boot the Avaya Enterprise Linux system in a Single User Mode, do the following:
    1. Log on to the Avaya Enterprise Linux system using a secure shell session (SSH).
    2. On the command line, enter init 1 to boot the system in a Single User Mode.
    3. Enter the root password when the system asks for a root password.