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

Re: non-root loopback crypto

On Mon, 6 Nov 2000, Mike Furr wrote:

> I've been using the loopback crypto stuff for a while and I'm looking
> for a secure way of doing this from my user account instead of having to
> su to call losetup.
> Does anyone have suggestions / experience with doing this?

Add an entry such as:

/home/user/crypt.bin /home/user/crypt ext2 \
defaults,noauto,user,loop,encryption=blowfish 0 0

to /etc/fstab. Then you can run the command "mount /home/user/crypt" as
non-root, provided you have appropriate permissions on
/home/user/crypt.bin and /home/user/crypt.

Reply to: