[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDE and setuid programs
From:       Robin Atwood <robin.atwood () attglobal ! net>
Date:       2002-07-02 10:17:45
[Download RAW message or body]

On Monday 01 Jul 2002 19:36, Uwe Thiem wrote:
> On Monday 01 July 2002 13:14, Robin Atwood wrote:
> > I just got a mail from a user of my Kall program that it won't work as a
> > normal user. Curiously, no one else seems to have noticed this and I
> > always test and build as root (not a good idea, I suppose). The problem
> > is creating the UUCP locking file "/var/lock/LCK..ttyS0" or whatever, the
> > user needs
>
> root
>
> > privilege. The solution would be to make the kall binary setuid root but
> > KDE does not allow this. kppp can obviously do this, so what's the
> > general strategy?
>
> Actually, the user doesn't need root privileges but should belong to the
> group that has write permissions in /var/lock ("uucp", "modem",...). If you
> want to use a serial port you must belong to the right group.

Thanks to everyone who replied, that's a much nicer solution!
Cheers...
-Robin.
-- 
----------------------------------------------------------------------
Robin Atwood.

"This tag line left intentionally blank"
----------------------------------------------------------------------








 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic