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

Re: Permission policy



On Wed, Mar 15, 2000 at 01:12:49PM +0100, Volker Ossenkopf wrote:
> I need some advice to solve a recent bug report regarding a 
> frozen package.

You could make it suid to a user who has 2 additional groups. In that case
the program should reset its uid after the devices are open (same would be
true for suid root, but thats not a good idea).

BTW: there is a idea for settig groups for console access to devices
like cdrom, floppy, sound, mic, cam... so each user who logs into the
sonsole will get added to that groups, then your program does not need to be
sgid anyrthing, which is bad anyway since everybody even on networked
terminal could start it.

Greetings
Bernd


Reply to: