multi seat access regulation for block devices with gnu tools?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

I am searching for a solution for the following situation:

I have created a system where multiple users work at the same time on
one system (multiseat) Every user has his own usb hub and unique linux
username and group.

I created udev rules that setup the group permissions of block devices
depending on the location where the usb stick is plugged in.

Creating the following example situation:

unity:~# ls -hal /dev/sd*
brw-rw---- 1 root disk  8,  0 okt 26 12:32 /dev/sda
brw-rw---- 1 root disk  8,  1 okt 26 12:32 /dev/sda1
brw-rw---- 1 root user0 8, 16 okt 26 12:32 /dev/sdb
brw-rw---- 1 root user0 8, 17 okt 26 12:32 /dev/sdb1
brw-rw---- 1 root user1 8, 32 okt 26 12:32 /dev/sdc
brw-rw---- 1 root user1 8, 33 okt 26 12:32 /dev/sdc1

So now user0 should not be able to access the device with group user1.
This works fine with parted, fdisk, dd etcetra. But I would like to be
able to let the user0 mount its device dev/sdb1.

So her comes the question, how can I let user0 mounts his usb stick with
group user0 and how can I let user1 mounts his usb stick with group
user1 without user0 or user1 being able to access other devices where
they have group rw permission on...

Any ideas are welcome,

Kind regards,

Jelle de Jong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iJwEAQECAAYFAkkE3lkACgkQ1WclBW9j5Hk5JwP7BbgSiaXcvukbRkBgQnOKsUSX
2KTM1ZINiDO813Ujic35tpAtWZAIFBZlgI4F34jUli4HjiOjGARPG8jX7tq+6Ukf
ssg3IkUa6pMDM6FV6ExCx0MvElhey0YAzK5gTCmTU+LhxImemu/Iq5tRVzeYrBev
SSUvfB+ad/WTmlwwskE=
=jUYM
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux