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

Re: gnome-volume-manager



Em Qui, 2005-03-03 às 16:49 +0000, Phillip Brown escreveu:
> My reason for asking is that I have written a small super script with
> links at /usr/local/bin/pmount and /usr/local/bin/pumount.  It execs
> the corresponding binary in /usr/bin with membership of the plugdev
> group - provided the user is logged in at the console.  This appears
> to offer an elegant administration policy, as it conveniently avoids
> the security concerns and administrative burden associated with placing
> users into a device group at login.

Not going into the merits of your solution (I didn't even read it as
carefully as I should for such a thing), my suggestion:

You could use dpkg-divert to modify the name of the original pumount
binary locally and put your "super script" in its place.

See ya,

-- 
  kov@debian.org: Gustavo Noronha <http://couve.no-ip.org/~kov/>
 Debian: <http://www.debian.org/>  *  <http://www.debian-br.org/>

Attachment: signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente


Reply to: