Re: Mount encrypted partition with exec



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
.



Relevant Pages

  • Re: Utilizing Return values from Stored Procedure
    ... Specify that the procedure parameter is an OUTPUT paarmeter. ... exec spLocal_HomeGetNextID @Column OUPUT, @MHRID ... "Keith" wrote in message ... > I'm executing a stored procedure from within a stored> procedure. ...
    (microsoft.public.sqlserver.server)
  • Re: mq_open() and close_on_exec?
    ... >>SUSv3 doesn't seem to specify one way or the other. ... >>object which is to be closed upon exec. ... Looks like I missed the SUSv3 specification that indeed ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: IF-Statement in JCL
    ... JCL fragment: ... Using IRXJCL to run a REXX exec in MVS batch ... Specify the member name of the exec and one ... You can specify only the name of a member of a PDS. ...
    (bit.listserv.ibm-main)
  • Mount encrypted partition with exec
    ... Anyone know how to add the exec flag to an encrypted partition in openSUSE ... I have specified 'exec' as an additional flag in Yast->Parititoner ...
    (alt.os.linux.suse)
  • Re: Exec Class
    ... Exec is a task for MSBuild, which is meant to run a program ... during your build process (should you specify it). ... Randy ...
    (microsoft.public.dotnet.languages.csharp)