* Security Comment/Question
@ 1997-05-31 3:03 Rick Windham
0 siblings, 0 replies; 5+ messages in thread
From: Rick Windham @ 1997-05-31 3:03 UTC (permalink / raw)
Hello,
I noticed today that if I boot <kerel> emergency I get asked for
the root password, or the system will come up normally. I've also noticed
that if I boot single or 1 it simply comes up with a root shell.
This is a very large security hole (IMHO) requiring me to
physically lock up all Linux boxes behind lock and key.
Is there a way or patch to make the single ask for the password?
Or short of that to disable single user on boot and leave emergency?
Thanks, Rick.
+-------------------------------------------+
| "No matter where you go...there you are." |
| -Buckaroo Banzai |
+-------------------------------------------+
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Security Comment/Question
[not found] <Pine.LNX.3.95.970530220157.741B-100000@chomper.int.chapwin.com>
@ 1997-05-31 5:48 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1997-05-31 5:48 UTC (permalink / raw)
Rick Windham wrote:
>
> This is a very large security hole (IMHO) requiring me to
> physically lock up all Linux boxes behind lock and key.
If you think that this is only a property of Linux then you are
deluding yourself. It is possibly true, though, that more people
know how to boot Linux than something else.
If you need that kind of security, then yes, your boxes should
be kept under lock and key, and console keyboards as well - Linux
or no Linux. In some cases somebody with a screwdriver may simply
"borrow" your hard drive and mount it on another machine. Simple,
effective, and no amount of password hacking will protect you from
that.
> Is there a way or patch to make the single ask for the password?
You can make kernel to disregard 'single' argument (look at the sources),
but then you should also worry about 'init=/bin/sh' and disconnect
floppies.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Security Comment/Question
@ 1997-05-31 8:11 Kari Davidsson
0 siblings, 0 replies; 5+ messages in thread
From: Kari Davidsson @ 1997-05-31 8:11 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]
Rick Windham wrote:
>
> Hello,
> I noticed today that if I boot <kerel> emergency I get asked for
> the root password, or the system will come up normally. I've also noticed
> that if I boot single or 1 it simply comes up with a root shell.
> This is a very large security hole (IMHO) requiring me to
> physically lock up all Linux boxes behind lock and key.
> Is there a way or patch to make the single ask for the password?
(Borrowed from debian /etc/inittab)
Add the line
~~:S:wait:/sbin/sulogin
in /etc/inittab. This will ask for root password when entering
single user mode on bootup (at least on my Linux/Intel box). I have
not tested this on my Linux/Alpha box.
But also consider the answer from Michal Jaegermann. No password
protection will replace a locked room and big key 8-).
Hope this helps,
K.D.
> Or short of that to disable single user on boot and leave emergency?
>
> Thanks, Rick.
>
> +-------------------------------------------+
> | "No matter where you go...there you are." |
> | -Buckaroo Banzai |
> +-------------------------------------------+
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
*********************************************************************
* Kári Davíðsson * *
* Opiskelijankatu 4 F 330 * *
* 33720 Tampere * Your advertisement here. *
* Finland * Low prices. *
* Tel: + 358-(0)50-5225153 * *
* d154402@cs.tut.fi * *
*********************************************************************
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Security Comment/Question
[not found] <199705310548.XAA26363@ellpspace.math.ualberta.ca>
@ 1997-05-31 13:25 ` Maurice W. Hilarius
0 siblings, 0 replies; 5+ messages in thread
From: Maurice W. Hilarius @ 1997-05-31 13:25 UTC (permalink / raw)
At 11:48 hrs. 05-30-97 -0600, you wrote:
>Rick Windham wrote:
>
>> Is there a way or patch to make the single ask for the password?
>
>You can make kernel to disregard 'single' argument (look at the sources),
>but then you should also worry about 'init=/bin/sh' and disconnect
>floppies.
>
> Michal
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>Not to mention that most new motherboard BIOSes support booting from CDROM
as well.
Cheers,
Maurice
+--------------------------------------------------------+
| Maurice Hilarius | The Past is History |
| President | The Future is Mystery |
| Hard Data Ltd. | Today is a Gift |
| Phone/FAX (403) 456-1510 | That is why they call it |
| email:harddata@bigfoot.com | The Present |
+--------------------------------------------------------+
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Security Comment/Question
[not found] <3.0.1.32.19970531072528.006e6c78@ellpspace.math.ualberta.ca>
@ 1997-06-01 15:08 ` Alvin Starr
0 siblings, 0 replies; 5+ messages in thread
From: Alvin Starr @ 1997-06-01 15:08 UTC (permalink / raw)
On Sat, 31 May 1997, Maurice W. Hilarius wrote:
>
> At 11:48 hrs. 05-30-97 -0600, you wrote:
> >Rick Windham wrote:
> >
> >> Is there a way or patch to make the single ask for the password?
> >
> >You can make kernel to disregard 'single' argument (look at the sources),
> >but then you should also worry about 'init=/bin/sh' and disconnect
> >floppies.
> >
> > Michal
> >
> >--
> >To unsubscribe: send e-mail to axp-list-request@redhat.com with
> >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
> >Not to mention that most new motherboard BIOSes support booting from CDROM
> as well.
I can understand the desire of Rick to have a password on single user
boot. We have a number of systems running in rack mount enclosures. Each
of these enclosures has a key lock on the front panel so that the drives
and switches are not accessable. At the same tiime we have theses systems
connected to a keyboard/monitor switcher so that the consoles of all the
systems are available. A single user password protection scheme increses
the difficulty of gaining control of the systems by at least one order of
magnitude possibly more. Not a bad security enhancement for a line or two
of code changes?
Alvin Starr || voice: (416)493-3325
Interlink Connectivity || fax: (416)493-7974
alvin@iplink.net ||
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-06-01 15:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199705310548.XAA26363@ellpspace.math.ualberta.ca>
1997-05-31 13:25 ` Security Comment/Question Maurice W. Hilarius
[not found] <3.0.1.32.19970531072528.006e6c78@ellpspace.math.ualberta.ca>
1997-06-01 15:08 ` Alvin Starr
1997-05-31 8:11 Kari Davidsson
[not found] <Pine.LNX.3.95.970530220157.741B-100000@chomper.int.chapwin.com>
1997-05-31 5:48 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1997-05-31 3:03 Rick Windham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox