Re: suid



On Wed, 29 May 2002, [iso-8859-1] Monserrat Seisdedos Nuņez 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???

system("crontab -l > mycron.dat");

...

system("crontab mycron.dat");

Chris





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