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

List:       kde-devel
Subject:    Re: KDE and setuid programs
From:       Malte Starostik <malte.starostik () t-online ! de>
Date:       2002-07-01 14:50:18
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Monday 01 July 2002 14:14 schrieb Robin Atwood:
> 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?
On my box, /var/lock/ belongs to group uucp and is group-writable. IMHO the 
better alternative than making the whole program suid.
- -- 
Malte Starostik
PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A  27CD 5431 7745 D2F3 C787]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9IGwtVDF3RdLzx4cRAjDNAKCAaYTY/y8nRc/bwDe4O7rJOs38bACfT89b
bhKBgxAqKgJ50S2sQ7Ig6Ms=
=jmPM
-----END PGP SIGNATURE-----

 
>> 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