* Security Comment/Question
@ 1997-05-31 3:03 Rick Windham
0 siblings, 0 replies; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread
* Re: Security Comment/Question
@ 1997-05-31 8:11 Kari Davidsson
0 siblings, 0 replies; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread
* Re: Security Comment
[not found] <3.0.1.32.19970531072528.006e6c78@ellpspace.math.ualberta.ca>
@ 1997-05-31 15:17 ` becka
1997-06-01 15:08 ` Security Comment/Question Alvin Starr
1 sibling, 0 replies; 6+ messages in thread
From: becka @ 1997-05-31 15:17 UTC (permalink / raw)
> >> Is there a way or patch to make the single ask for the password?
> Not to mention that most new motherboard BIOSes support booting from CDROM
> as well.
Stop. Most of this is configureable or should be.
The thing with LILO/MILO "boot linux s" or "boot linux 1" can be inhibited by
LILO configuration (i don't know for MILO yet) :
LITERAL=<string> Like APPEND, but removes all other options (e.g. setting
of the root device). Because vital options can be removed unintentionally
with LITERAL, this option cannot be set in the global options section.
Moreover anything you do on this boot-options commandline is only an
environment variable passed down to the kernel and lateron init.
Init can be configured, too on what to do if launched in a particular
runlevel. Setting /bin/sushell for single mode there would be a good idea.
Booting from external devices can be configured out of the BIOS/Startup
System Console for almost any modern system and access to this configuration
can normally be protected with a password.
What cannot be done away with in software is the possibility to ovveride
such protections by going into the hardware.
BIOS-restrictions can be overcome by exchanging the BIOS, zapping the Data-
NVRAM (CMOS RAM on PCs), ... booting-restrictions are eliminated this way.
Another way is to attach the harddrive to another system and access it from
there, ...
The only things that keep you secure against this kind of attack is :
- protect physical access to the system. Use special screws that need
specific tools to turn them. Use mechanical locks, if available.
Screw the system to the desk it is on.
- Use a crypted filesystem. The data needed for decryption should be
held seperate from the harddisk it is on and be trapped against
unauthorized access. There are hw-solutions for this.
And if your data is really sensitive. Lock away the box which holds it.
Put the computer into a locked room and only pull the network-connection
through a small hole ;-).
People sitting at the console of a system are normally considered to be
trustworthy quite a bit more than those coming from the network, because
they can normally do more serious damage by wielding a baseball bat than
by hacking into the system.
CU,Andy
--
Andreas Beck | Email : <becka@sunserver1.rz.uni-duesseldorf.de>
--
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] 6+ messages in thread
* Re: Security Comment/Question
[not found] <3.0.1.32.19970531072528.006e6c78@ellpspace.math.ualberta.ca>
1997-05-31 15:17 ` Security Comment becka
@ 1997-06-01 15:08 ` Alvin Starr
1 sibling, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~1997-06-01 15:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3.0.1.32.19970531072528.006e6c78@ellpspace.math.ualberta.ca>
1997-05-31 15:17 ` Security Comment becka
1997-06-01 15:08 ` Security Comment/Question Alvin Starr
[not found] <199705310548.XAA26363@ellpspace.math.ualberta.ca>
1997-05-31 13:25 ` Maurice W. Hilarius
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