Re: Autorun not allowed for USB memory stick



On Thu, Nov 02, 2006 at 22:34:45 +0100, Poul Moller wrote:
Hi,

I was trying to setup an autorun script to load my private keys from
USB flash memory, but I'm simply not allowed.

I have narrowed it down to the "noexec" flag being set when mounted by
the Gnome Volume Manger (Gnome v2.16) but haven't been able to change
its default behavior.

Any hints are greatly appreciated.

What are you trying to achieve, exactly?

Removing the noexec flag when mounting USB sticks is most likely a "bad
idea" from a security perspective. I'm suspecting you want to do some
syncing of files when the USB stick is mounted. Maybe it's better to
look into some way of using a tool like rsync or unison on the base
system, rather than running an executable on the stick itself?

You might be able to do what you want by setting up a HAL policy, but
I've never tried modifying the mount parameters this way.

Personally I keep my GPG keys on a USB stick, but I'm doing that by
configuring GPG rather than automatically executing something on my
stick.

/M

--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@xxxxxxxxxxxx Jabber: magnus.therning@xxxxxxxxx
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Finagle's Second Law:
Always keep a record of data -- it indicates you've been working.

Attachment: pgp4HRLc5VHIX.pgp
Description: PGP signature

_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list


Relevant Pages

  • Re: usb token
    ... >I've read some USB token documents and they say that the private keys never ... Think of a USB dongle as a smartcard chip with a USB interface and no ... >keys are actually released after the PIN or passwords to the tokens are ... I would expect that the token makes private keys available to its ...
    (comp.security.misc)
  • Re: Permissions of private key
    ... The point is that I carry my key crypted on an USB ... > stick with fat-fs. ... Change the umask with which you mount the FAT filesystem on the ...
    (comp.security.ssh)
  • Re: 2nd mouse
    ... The identifier is just a name. ... one PS/2 and one USB mouse. ... What are Software Patents for? ...
    (comp.os.linux.x)