Re: suid
- From: Colin Leroy <colin colino net>
- To: gtk-list gnome org
- Subject: Re: suid
- Date: Wed, 29 May 2002 11:31:26 +0200
On Wed, 29 May 2002 10:25:10 +0200 Olaf Fr±czyk <olaf cbk poznan pl>
wrote:
> > I'm trying to write a program that modifies the crontab file of a
> > user, these files are readable only by root, so as gtk can't iniciate
> > bit suid programs, how can i carry out my goal???
> Hi,
>
> 1. Use sudo. I think it should work.
> or
> 2. Add user you want to modify the file to group which owns the file,
> and add write permission for group. or
> 3. If you have filesystem with ACLs (like XFS) just add ACL for this
> user with write permission. or
> 4. Hack the library. ;)
5. Use consolehelper. I don't really know how it works, but gnorpm-auth
uses it.
--
Colin
http://www.colino.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]