Sorry for the delay, university keeps me quite busy atm. On Mon, 07 May 2007 14:07:08 +0300 Damyan Ivanov wrote:
> > 1. let the binary as it is, and tell $USER he has to use sudo or su > > 2. set the binary suid-root (the code looks OK for me - IANASE) > > 3. create some new group and let udev give this group write permission > > to the 'file' -> IMHO overkill for such a small util > > I guess this is the only way to give user permissions to write to that > file. If you don't want to invent a new group for this - look at the > groups that are already used - there may be some useful for "desktop > users". If not, IMHO another group is not that much of an overhead. > > > I could live with 1, but I think 2 is more userfriendly. > > 3. would be user-friendly too :) I thought about it, looked at /usr/share/doc/base-passwd/users-and-groups.txt.gz and I think introducing a new group just for one device is still overkill. So I think I'll just drop the suid and force the user to use su/sudo. The tool is usually only used once, as the mouse saves the settings. Any further comments? -- ^^^ | Evgeni -SargentD- Golov ([EMAIL PROTECTED]) d(O_o)b | GPG/PGP-Key-ID: 0xAC15B50C >-|-< | 0C04 F872 0963 ADC9 AA83 882B 24A0 1418 AC15 B50C / \ | http://www.die-welt.net - [EMAIL PROTECTED] I would change the world, but they won't give me the sourcecode (Adrian Bastholm - linux-thinkpad)
pgpkkDLbftsMg.pgp
Description: PGP signature