Is there any specific location of "~:S:wait:/sbin/sulogin" in inittab

Solution Verified - Updated -

Issue

  • Following line is added to the file /etc/inittab for applying root password to the single user mode:
~~:S:wait:/sbin/sulogin
  • Is there a specific rule regarding the location of above line in /etc/inittab file?
  • "~:S:wait:/sbin/sulogin" is written before or after rc.sysinit in /etc/inittab file?

Environment

  • Red Hat Enterprise Linux 5.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content