User id who is changing the script.

can we know the user id who changed saved script in cron tab..:smiley:

if you are talking of the file in the spool, only the user normally (but root...), since it has to be reloaded...
It was either modified using

crontab -e

or the file is somewhere known to that specific user (better) and so can be modified according to file perms but to load it [code] crontab <cronfile>, again you must be the user... or it will load with the new user ID if he is allowed to use cron...

If using crontab -e, any edit will be logged in syslod files:

Oct 15 11:05:56 RudisPC crontab[4061]: (username) BEGIN EDIT (username)
Oct 15 11:05:57 RudisPC crontab[4061]: (username) END EDIT (username)

i don't have root access can i see syslogd file or message file .??

Talk to your system administrator about permissions.

the file location is somewhere else and user have to reach that specified location to chnage the script can it be possible frm there to get the user id who try to chnage ,in our case we have one directory where we save all our script which is called by cron.

You'll heve to have some auditing system in place; why don't you switch off write permission to the scripts/directories?

we can't do that..