Security Basics mailing list archives
RE: Is there a kernel patch to stop single user mode?
From: Per Krogh Nielsen <geek () prebsi com>
Date: Wed, 24 Sep 2003 21:31:04 +0200
On Wed, 2003-09-24 at 20:01, Ranjeet Shetye wrote:
On Wed, 2003-09-24 at 08:41, Tiago de Oliveira Quadra wrote:
<snip>
----- Original Message ----- From: "John Hebert" <johnhebert () it-group com> To: <security-basics () securityfocus com> Cc: <general () brlug net> Sent: Friday, September 19, 2003 1:13 PM Subject: Is there a kernel patch to stop single user mode?Is there a way to stop someone with physical access to the box
from
bootinginto single user mode and changing the root password? I'm notinterestedinsolutions that require setting a boot or poweron password in theBIOS. I'dlike something that could be done in the Linux kernel, so as to
apply
tomultiple platforms. Thanks, John Hebert
You might want to check out your /etc/inittab file. And checkout : http://unixhelp.ed.ac.uk/CGI/man-cgi?sulogin+8
From a debian installation :
---- # What to do in single-user mode. ~~:S:wait:/sbin/sulogin ---- This will enable a login prompt when booting into single user mode. But it will not prevent anyone from booting from a floppy/cdrom, mounting you drive and changing the password. And if I'm not mistaken, man /etc/securetty is a try. PKN :-) --------------------------------------------------------------------------- ----------------------------------------------------------------------------
Current thread:
- Is there a kernel patch to stop single user mode? John Hebert (Sep 19)
- Re: Is there a kernel patch to stop single user mode? Chris Ess (Sep 19)
- RE: Is there a kernel patch to stop single user mode? David Gillett (Sep 19)
- Re: Is there a kernel patch to stop single user mode? Matt Howard (Sep 19)
- Re: Is there a kernel patch to stop single user mode? Carlos Eduardo Pinheiro (Sep 19)
- Re: Is there a kernel patch to stop single user mode? Mike MacNeill (Sep 19)
- Re: Is there a kernel patch to stop single user mode? Ansgar -59cobalt- Wiechers (Sep 22)
- <Possible follow-ups>
- RE: Is there a kernel patch to stop single user mode? Tiago de Oliveira Quadra (Sep 24)
- RE: Is there a kernel patch to stop single user mode? Ranjeet Shetye (Sep 24)
- RE: Is there a kernel patch to stop single user mode? Per Krogh Nielsen (Sep 24)
- RE: Is there a kernel patch to stop single user mode? Ranjeet Shetye (Sep 24)