Re: Library to do a 'luksOpen' programatically

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

 



El mié, 07-04-2010 a las 11:54 +0200, Milan Broz escribió:
> On 04/07/2010 11:12 AM, Miguel Ángel García Roig wrote:
> > I'm trying to do a : 
> > 
> > # cryptsetup luksOpen /dev/hda2 root
> > 
> > using a library call or similar. I am not able to call cryptsetup
> > directly due to security reasons.
> 
> Which security reasons?

If i make a exec() calling the cryptsetup binary, if a user
connected to the machine can gain access to root account, he/she
could see the command, no ?

I haven't physical control to the machine, that's the main problem.
I have only access to the server for installation, and then i have to
send it to my client. 

> 
> > 
> > Is there any library to do this ? I have read about the
> > libcryptsetup library, but i can not found it in debian lenny.
> 
> You need cryptsetup 1.1.0, it is in Debian testing/unstable already.
> 
> Milan

Thanks, i'll try to update to testing.




_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux