Add this line just after the "sysinit" entry in /etc/inittab file : ~~:S:wait:/sbin/sulogin
On 7 Oct 2004 06:09:30 -0000, Sneh D my_linux@rediffmail.com wrote:
Hi all,
I am a newbie on the list.I have a query regard ing logging into single user mode in Linux.The root password can be changed by logging in into single user mode in linux.But I guess there surely must be a way to prevent this, coz if that is not the case then anyone can get into a single user mode n change the root passwd n have access to the syste m.I want to know wot is the way out to prevent a user from logging into sin gle user mode n change the root passwd.
Regards,
Sneh.
[1] [a]
References