Re: Mount encrypted partition with exec
- From: Chris <chris@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 28 Mar 2008 12:38:42 GMT
Chris wrote:
Hello all,
Anyone know how to add the exec flag to an encrypted partition in openSUSE
10.3? I have specified 'exec' as an additional flag in Yast->Parititoner
but it doesn't see to take effect. I currently have to issue a remount
command:
sudo mount -o remount,exec /encrypted
In openSUSE 10.2 I simply added 'exec' to the entry in /etc/cryptotab but
in 10.3 the process has changed. There are two files now /etc/crypttab
and /etc/fstab. I added 'exec' in fstab, but it seems to be ignored.
Thanks
Answering my own post in the hopes this will help someone googling the same
problem.
I have the option 'user' specified in /etc/fstab as the last option and I
put exec before user. According to mount's manpage, user implies noexec,
nosuid and nodev.
So, the solution is to place 'user' as the first option then specify
the 'exec' to override the noexec that user implies.
--
Chris
.
- References:
- Mount encrypted partition with exec
- From: Chris
- Mount encrypted partition with exec
- Prev by Date: Re: Mysql
- Next by Date: Re: Mysql
- Previous by thread: Mount encrypted partition with exec
- Next by thread: Re: root password
- Index(es):
Relevant Pages
|