LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 05-27-2004, 03:12 PM   #1
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Rep: Reputation: 30
allow users to use crontab on RS/6000


Greetings,

using aix 4.3.3 - I need to allow my users to use the crontab command.

As a user, when crontab is typed at the command prompt i get the following:

crontab: 0481-109 You are not authorized to use the cron command.


What is the quickest and most direct way to allow users to use the crontab command, assuming
I have root access.

Thanks

zepp
 
Old 05-27-2004, 03:23 PM   #2
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Original Poster
Rep: Reputation: 30
I found an answer for this one...

/var/adm/cron/cron.allow --> File containing users allowed crontab use.

thanks!
 
Old 05-27-2004, 07:14 PM   #3
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Isn't there also a cron group that you can add the person to? This should allow a person to use the cron facility.
 
Old 05-27-2004, 07:57 PM   #4
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Original Poster
Rep: Reputation: 30
there is a cron group...i did just that, but if the cron.allow entry isn't entered, then the same error occurs. perhaps if the cron.allow and cron.deny files don't exist than adding the user to the cron group would be all that is needed....

zepp

Last edited by zepplin611; 05-27-2004 at 08:18 PM.
 
Old 05-28-2004, 02:43 PM   #5
screwloose
LQ Newbie
 
Registered: May 2004
Posts: 23

Rep: Reputation: 15
To allow root only: remove /var/adm/cron/cron.deny & /var/adm/cron/cron.allow

To allow anyone to use it: touch cron.deny if it does not exist.

To explicitly allow a user and no one else except root: touch cron.allow & put user ID in it.

To explicitly deny a user: touch cron.deny & put user ID in it.
 
Old 05-28-2004, 02:59 PM   #6
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Original Poster
Rep: Reputation: 30
excellent post screw-loose...thanks for the tips.

zepp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stale users on AIX 4.3.3 RS/6000 zepplin611 AIX 10 12-21-2009 04:59 AM
Inspiron 6000 namboothiri Linux - Laptop and Netbook 2 10-20-2005 01:46 PM
Users unable to use crontab unless in /etc/shadow atnan Linux - General 2 05-03-2005 11:43 PM
users crontab twantrd Solaris / OpenSolaris 2 09-11-2004 10:06 AM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration