List Info

Thread: LUKS on DVD+RW




LUKS on DVD+RW
country flaguser name
Germany
2007-04-22 06:08:30
Hallo!

Your email address is written as contact in
/usr/src/linux/drivers/md/dm-ioctl.c.
I'd like to make a unix group on a workstation that is
allowed to make a crypted udf filesystem on a dvd-rw or
dvd-ram.
I don't like the sudo mechanism, because the users have to
understand what they do.
What is the reason only root to be able to create such a
device?

Thanks
Lars


Begin forwarded message:

> Date: Sun, 22 Apr 2007 12:33:48 +0200
> From: Luca Berra <blucacomedia.it>
> To: dm-cryptsaout.de
> Subject: Re: [dm-crypt] LUKS on DVD+RW
> 
> 
> On Fri, Apr 20, 2007 at 06:18:28PM +0200, Lars Täuber
wrote:
> >mmap2(NULL, 123180, PROT_READ, MAP_PRIVATE, 6, 0) =
0xb7bd6000
> >close(6)                                = 0
> >ioctl(5, DM_VERSION, 0x80d5c80)         = -1 EACCES
(Permission denied)
> >close(5)                                = 0
> >
> >Do you think I have a chance to get it working my
way without sudo?
> 
> No, i am sorry,
> 
> /usr/src/linux/drivers/md/dm-ioctl.c
> static int ctl_ioctl(struct inode *inode, struct file
*file,
>                      uint command, ulong u)
> {
> ....
>         /* only root can play with this */
>         if (!capable(CAP_SYS_ADMIN))
>                 return -EACCES;
> 
> L.
> 
> -- 
> Luca Berra -- blucacomedia.it
>         Communication Media & Services S.r.l.
>  /"
>   /     ASCII RIBBON CAMPAIGN
>   X        AGAINST HTML MAIL
>  / 
> 
>
------------------------------------------------------------
---------
> dm-crypt mailing list - http://www.saout.d
e/misc/dm-crypt/
> To unsubscribe, e-mail: dm-crypt-unsubscribesaout.de
> For additional commands, e-mail: dm-crypt-helpsaout.de

--
dm-devel mailing list
dm-develredhat.com
http
s://www.redhat.com/mailman/listinfo/dm-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )