The general advice is, it's not worth bothering with. You can extreemly
easily get root access to a box, if you have physical access. Of course,
if your box is in the public, it might be worth trying. I've not used
CentOS for ages though, so can't help!

Have you tried asking on IRC?

> 
> 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
> 

-- 
All postal correspondence to:
The Positive Internet Company, 24 Ganton Street, London. W1F 7QY

The Positive Internet Company Limited is registered in England and Wales.
Registered company number: 3673639. VAT no: 726 7072 28.
Registered office: Northside House, Mount Pleasant, Barnet, Herts, EN4 9EE.

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to