user unable to run at job

Thread Tools Search this Thread
Operating Systems AIX user unable to run at job
# 1  
Old 07-28-2009
user unable to run at job

Aix version is 5.2. users are not able to run only at jobs. users are listed in at.allow file.

Getting following Errors:

at -l
at: 0481-108 You are not authorized to use the at command.

0481-067 Cannot change to the /var/spool/cron/atjobs directory.

at 24:10:00 pwd
at: 0481-108 You are not authorized to use the at command.

Please suggest me to resolve this issue

Thanks in advance
# 2  
Old 07-28-2009
from the at man page:

       The /var/adm/cron/at.allow and /var/adm/cron/at.deny files control what users can use the at command. A person with root user authority can create, edit, or delete these files. Entries in these files
       are user login names with one name to a line. The following is an example of an at.allow file:


       If the at.allow file exists, only users whose login names appear in it can use the at command. A system administrator can explicitly stop a user from using the at command by listing the user's login
       name in the at.deny file. If only the at.deny file exists, any user whose name does not appear in the file can use the at command.

       A user cannot use the at command if one of the following is true:
       *    The at.allow file and the at.deny file do not exist (allows root user only).
       *    The at.allow file exists but the user's login name is not listed in it.
       *    The at.deny file exists and the user's login name is listed in it.

       If the at.allow file does not exist and the at.deny file does not exist, only users with root authority can submit a job with the at command.

specially the last sentence
# 3  
Old 07-29-2009
Users are listed in at.allow file and at.deny file also exist.

And also checked, daemon=true for all users

How we can proceed further in this?
# 4  
Old 07-29-2009
Is that user is schedule the job more than 60 numbers in 60 seconds?
How many users are listed in the at.allow file? Check with at.deny file the same user name is exist or not? Other wise please restart or stop and start the deamon.
# 5  
Old 07-29-2009
Couple more thinks to check.
Permissions on at.allow file should be 444 .
There should be one login name per line in at.allow.
# 6  
Old 07-29-2009
check the perms on /var/spool/cron/atjobs are 770
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Run a job between times else run later

Hi guys, I have written a script that waits for a trigger file. Then checks the time of the trigger. if the trigger finished between 8pm and midnight then runs a job. else it waits till 1am then runs a different job. I am still very new to scripting so any suggestions to improve my... (4 Replies)
Discussion started by: twinion
4 Replies

2. Shell Programming and Scripting

To run a job for every one hour and ...

Hi, Someone please help me to run the script to maintain a Job: Which can be run for every one hour and should maintain the last two hours files only. It should delete the rest of the files in a dir. Please suggest me with the sample script. Thanks !! Reagrds, Rama (5 Replies)
Discussion started by: ramagore85
5 Replies

3. Shell Programming and Scripting

Does running a cron job of a user require the user to be logged in?

Suppose user 'asdf' is not logged into server 'bbbb', but the server is up. User 'asdf' has cron job. Will it be executed? (1 Reply)
Discussion started by: thulasidharan2k
1 Replies

4. UNIX for Dummies Questions & Answers

cron job is unable to process

Hi All, I have got a shell script that excutes some job and mails me the output as an attachment. While running the script manually, its perfect. when i am scheduling the job through crontab, i am getting the mail. but the attachment but this is a blank file. after the scheduler run, i can... (2 Replies)
Discussion started by: gotam
2 Replies

5. Windows & DOS: Issues & Discussions

Autosys unable to set the job to the status of FAILED

Hi The Autosys job that call DOS batch file which in turn calls java and this java program has successful completion though there are series of exception occurred in the data it handles and want the job to be set to Fail in its autosys, how could it be done? a.bat { java sample.class ... (1 Reply)
Discussion started by: muthupus
1 Replies

6. AIX

unable to run at job

Hi All, I m not able to run at job with normal user on AIX system os version is 5300-05-06. I am able to run at job only with root user. When I try to run at job with any other user I am getting error: at: you are not authorized to use at. Sorry. I checked at.deny file, it is... (4 Replies)
Discussion started by: pkatkade
4 Replies

7. Shell Programming and Scripting

unable to schedule job in cron

Hi, from normal user(oracle) i am unable to run scheduled job in cron: os version: bash-2.03$ uname -a SunOS sumail02 5.8 Generic_117350-39 sun4u sparc SUNW,Ultra-60 bash-2.03$ crontab -l 55 * * * * sh /oracle/ > /dev/null 2>&1 bash-2.03$ cat /oracle/ (2 Replies)
Discussion started by:
2 Replies

8. Shell Programming and Scripting

unable to execute background job

I am unable to execute the below command in background. Plz suggest. #> ./test input >out & 913618 + Stopped (SIGTTIN) ./test input >out & Suresh (1 Reply)
Discussion started by: suresh3566
1 Replies

9. UNIX for Dummies Questions & Answers

shell script run by user or cron job ?

My shell script runs fine both as a cron job and when i issue it. However, I wish to differentiate when it runs as a cron-job so the "echo" statements are not issued (they get mailed to me, which i don't want). I tried checking $USER but since the cron was created in my user that does not... (5 Replies)
Discussion started by: sentinel
5 Replies

10. UNIX for Advanced & Expert Users

Other than root user .Normal user is unable to create files

Hi all, I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies
Login or Register to Ask a Question