Unable to update the Crontab

Hi Everyone,

Each time I do update the crontab, it gets reset after exiting from the telnet session. I'm using Solaris 2.8

So it goes like this:
Step 1: Login as root, from a telnet session
Step 2: Crontab -e (I make modification)
Step 3: Save and exit
Step 4: Type crontab -l , changes are taken into account
Step 5: Exit from the telnet session
Step 6: Open a new telnet session, and type crontab -l
Step 7: All the previous modification, are not taken into account.

Any help, or tips would be appreciated

Jeremy

If you check /var/spool/cron/crontabs, is root's crontabs file date/time changed after you make the change the first time? When you log back in the second time, what's the date/time of root's crontabs file?

Off hand I'd be looking for something that manages root's cron replacing it with a backup copy or mirror from another server.

Carl

Thanks for the feedback.
The date of the file do correspond to the time, I make a change, and then the file changes, when I exit and re-loggin to the system.

Does the crontab time stamp change again to the time of the 2nd login? Is there something in roots .login or .profile that rewrites the crontab from another location?

Excellent remark Onex :), indeed it was the .profile that rewrites the Crontab.

Removed the line on the .profile, and everything is working fine.

Once again, thanks guys for your help