Hi Gang

This is bugging me.

I'm learning about Linux hardening at the moment, and one of the
things I've learned, and quoted from
http://wiki.centos.org/HowTos/OS_Protection is how to add a password
prompt to single user mode, which, by default, CentOS gives an open
root prompt.

According to the above link, running:

echo "# Require the root pw when booting into single user mode" >> /etc/inittab
echo "~~:S:wait:/sbin/sulogin" >> /etc/inittab

As root, will supposedly force init to prompt for a root password
before giving a root prompt. You can sort of test what should happen
simply by calling /sbin/sulogin whilst logged in as root.

Anyway, I cant seem to get it to work, any ideas? I'm running Centos 6.0

Regards
Richard

_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to