Cron Job manipulation through Web Page

This is a discussion on Cron Job manipulation through Web Page within the Linux Web Servers forums, part of the Web Server and Related Forums category; On a given UNIX systems there is a CRONTAB with CRON entries. I would like to develop a web page ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-11-2004
siddhartha mulpuru
 
Posts: n/a
Default Cron Job manipulation through Web Page

On a given UNIX systems there is a CRONTAB with CRON entries. I would
like to develop a web page that would Display the entries, allow
Editing of an entry, allow searching for a specific entry in CRON for
a given USERID and Password. The returned page for each entry must
display the page in "laymens" english, not cryptically as found in
CRON (In other words a conversion must take place to and from the
format in CRON)

I wanted to know if anyone did something similar or had ideas about
how this could be implemented.


Thanks a lot for your time

Sid
  #2 (permalink)  
Old 08-12-2004
Gandalf Parker
 
Posts: n/a
Default Re: Cron Job manipulation through Web Page

justkule@yahoo.com (siddhartha mulpuru) wrote in
news:78e9cb22.0408111403.28237373@posting.google.c om:

> I wanted to know if anyone did something similar or had ideas about
> how this could be implemented.


"That which security shall do, the search for easy administration shall
undo"

I would advise against it. However, if you were to do it then consider
doing it by pass-off files. Instead of directly editing the cron jobs,
keep a version in a seperate directory and edit those. Maybe even a sub
directory of the web site itself for easy access from the server without
having to step out of the web root. That way you can easily program some
nice GUI with helpful notes and examples.

Then have a cron job look for changes. It can do diffs as often as you
feel you need. On finding a changed file it can run checks, exclude
certain commands, email a copy to someone (maybe even waiting for an
approval email coming back), and then put the changed file into place.
That way the cron can do the "root" things so that you will not have to
write a way for the web portion to do a root thing.

Of course, its possible to write secure CGI's, but in my humble opinion
alot of security problems could be handled much easier by maintaining a
seperation of power. Have the web server do the web server stuff, then
let root see that and do the root stuff. Dont try to merge them too much.

Gandalf Parker
-- Been there, done that, fsck'd up, your turn.


  #3 (permalink)  
Old 08-13-2004
Sebastian Deiszner
 
Posts: n/a
Default Re: Cron Job manipulation through Web Page

"siddhartha mulpuru" <justkule@yahoo.com> schrieb im Newsbeitrag
news:78e9cb22.0408111403.28237373@posting.google.c om...
> On a given UNIX systems there is a CRONTAB with CRON entries. I
> would
> like to develop a web page that would Display the entries, allow
> Editing of an entry, allow searching for a specific entry in CRON
> for
> a given USERID and Password. The returned page for each entry must
> display the page in "laymens" english, not cryptically as found in
> CRON (In other words a conversion must take place to and from the
> format in CRON)
>
> I wanted to know if anyone did something similar or had ideas about
> how this could be implemented.


Try http://www.webmin.com

Bye

Sebastian

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0