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

Re: pam_console for debian



On Wed, Jul 24, 2002 at 11:54:53PM +0200, Bas Zoetekouw wrote:
> Hi christophe!
> 
> You wrote:
> 
> > What do you call an ugly hack ? 
> 
> What I call the ugly hack is to have camera access only for the person
> at the console. What if someone is logged into X at vc8 and someone else
> temporarily switches to vc1 to read out camera data? What if I have a PC
> with the camera connected to it and am working on the diskless xterminal
> that is standing next to it? What if I'm working remotely and I call
> home to ask my roommate to plug in the camera? etc, etc.

My goal is to provide a working environment for normal user. I
understand that a few users end up running gphoto2 as root because they
can't figure out how to setup the permission correctly.
If I find a way to write a debian hotplug script for gphoto2, most users
will never notice it and use gphoto2 from their normal accounts and you
can still remove or modify the script to allow your roommate to plug it
for you.

> > My point is not to use pam_console. Instead I am asking if there is a
> > clean way to know which user is in front of the computer. If yes, it
> > would be possible to give access to the only one that have interest on
> > it.
> 
> My point is that is not not always logical that the user behind the
> console is actually using the camera.
> 
> > Giving everyone in a given group access to the camera (the current
> > solution) is not ideal.
> 
> Why is is not ideal?

Because you give access to a group of persons instead of to only the
owner of the camera.

Christophe

> 
> -- 
> Kind regards,
> +---------------------------------------------------------------+
> | Bas Zoetekouw                  | Si l'on sait exactement ce   |
> |--------------------------------| que l'on va faire, a quoi    |
> | zoetekw@phys.uu.nl             | bon le faire?                |
> |    bas@A-Es2.uu.nl             |               Pablo Picasso  |
> +---------------------------------------------------------------+ 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Christophe Barbé <christophe.barbe@ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

Cats are rather delicate creatures and they are subject to a good
many ailments, but I never heard of one who suffered from insomnia.
--Joseph Wood Krutch

Attachment: pgpwH_l13dBZR.pgp
Description: PGP signature


Reply to: