Authentication for Single User Mode

This section describes the procedure to require authentication for single user mode.

Perform the following steps for each and every server in the topology:
  1. Log in as admusr on the server.
    login: admusr
    Password: <current admin user password>
  2. Run the following command to check out the file init and grep for variable PermitUserEnvironment in the file:
    $ sudo rcstool co /etc/sysconfig/init
    $ grep ^SINGLE /etc/sysconfig/init
    
  3. If no result is returned, run the following command:
    $ sudo echo "SINGLE=/sbin/sulogin" >> /etc/sysconfig/init

    If some result is returned after performing Step 2, then run the following command:

    $ sudo sed -i "s/SINGLE.*/SINGLE=\/sbin\/sulogin/g" /etc/sysconfig/init
  4. Run the following command to check in the file init:
    $ sudo rcstool ci /etc/sysconfig/init