I was checking some sites for setting password protection in single user mode login in my Linux server (Oracle Enterprise Linux-OEL) .
In some places I saw the steps to add entry into inititab file like below .
su:S:wait:/sbin/sulogin
In some other places I could see adding the entry in /etc/sysconfig/init file like below .
SINGLE=/sbin/sulogin
So what is the difference in adding to any of these files . Are they doing the same task ? Basically I want to know if I add into any of the above file will it serve the purpose ?