crontab problem with a particular user

  • rrasin
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jul 07, 2009
  • Posts: 11
  • Status: Offline

Post July 8th, 2009, 5:26 am

I have a server installed with RHEL4. crontab entries are running in root login. I have two more logins named front1 and frontadmin. Now whenever I want to edit using crontab -e it says 'permission denied'. crontab -l shows no entries available under these two logins. Kindly help me to solve this issue as I am adding more and more entries in root logins which can be added in the frontadmin login due to this problem. Thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 8th, 2009, 5:26 am

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post July 9th, 2009, 6:29 am

In BSD there's a /var/cron/allow and a /var/cron/deny... however in RHEL I think it uses /etc/cron.allow and /etc/cron.deny. If those files exist then the user needs to be in the correct one. In AIX it's /var/adm/cron/cron.allow and /var/adm/cron/cron.deny.

I know that in SLES it's /etc/cron.allow and deny like I stated above. You might look there.
"It's always a long day, 86,400 won't fit into a short."
  • rrasin
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jul 07, 2009
  • Posts: 11
  • Status: Offline

Post July 9th, 2009, 9:09 am

thanks a lot .... will try and tell u the result ....!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 48 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.