Gentoo Archives: gentoo-user

From: Vladimir Rusinov <vladimir@×××××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] HAL: how to prohibit mounting certain partitions
Date: Mon, 03 Sep 2007 05:23:25
Message-Id: f6fdfb550709022211x5b24c80asff41b3f2b3dbd091@mail.gmail.com
In Reply to: Re: [gentoo-user] HAL: how to prohibit mounting certain partitions by Mick
1 On 9/1/07, Mick <michaelkintzios@×××××.com> wrote:
2 >
3 > > I have windows & Linux installed on the same hard disk.
4 > > In Linux I've set up KDE + hal. It allows users to mount any removable
5 > > devices, and also windows partition.
6 > > I don't wanna to disable ntfs in kernel, but I don't want to users be
7 > able
8 > > to mount windows partition (that's a security issue).
9 > > So, how can I prohibit hal to mount /dev/sda*?
10 >
11 > Try entering the respective partition in /etc/fstab as noauto and
12 > mountable
13 > only by e.g. root, or a suitable group id.
14 >
15 > Hope this helps.
16
17
18
19 Yeah, thanks a lot.
20 It's simple but it works. :)
21
22 --
23 Vladimir Rusinov
24 GreenMice Solutions: IT-решения на базе Linux
25 http://greenmice.info/