Re: [CentOS-docs] OS Hardening typo?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16 June 2011 08:26, Cody Jackson <supertanker13@xxxxxxxxx> wrote:

> On OS Hardening ( http://wiki.centos.org/HowTos/OS_Protection )
> there's a section on "Physical Protection" that includes requiring a
> single-user mode password. There's four lines that look something like
> this:
>
> echo "Require the root pw when booting into single user mode" >> /etc/inittab
> echo "~~:S:wait:/sbin/sulogin" >> /etc/inittab
> echo "Don't allow any nut to kill the server"
> perl -npe 's/ca::ctrlaltdel:\/sbin\/shutdown/#ca::ctrlaltdel:\/sbin\/shutdown/'
> -i /etc/inittab
>
> It's been awhile since I've messed with the /etc/initab file, but why
> is "Require the root pw when booting into single user mode" being
> echoed to /etc/inittab? Is this a typo?

Yes, I believe so. The line has been adjusted to read:

echo "# Require the root pw when booting into single user mode" >> /etc/inittab

Thanks for your critical scrutiny.

Alan.
_______________________________________________
CentOS-docs mailing list
CentOS-docs@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-docs


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux