Re: suid



On 2002.05.29 09:52 Monserrat Seisdedos Nuñez wrote:
> 
> 
> Hello everybody:
> 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. ;)

Best Regards,

Olaf





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