1837390 Members
3155 Online
110116 Solutions
New Discussion

Re: at command

 
SOLVED
Go to solution
Indrajit Bhagat
Regular Advisor

at command

Few of the user wants to get at command access.
I added the user name in /var/adm/cron/at.allow file. Also there is not at.deny file.

After adding the user to at.allow file, still the user is not able to excute the at command.

Following error the user is getting.

abcd:/home/sameer>at -l
at: you are not authorized to use at. Sorry.
abcd:/home/sameer>


4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: at command

The man page says the file is /usr/lib/cron/at.allow, not /var/adm/cron/at.allow. Try that and see if it makes a difference.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: at command

Hmmm, maybe I should have looked first - /usr/lib/cron is just a link to /var/adm/cron so it shouldn't make any difference.

On the one server that I allow users to use at, I have an at.deny file with one bogus name in it, allowing anyone else to use at.


Pete

Pete
James R. Ferguson
Acclaimed Contributor
Solution

Re: at command

Hi:

'/usr/lib/cron' is a symbolic link to '/var/adm/cron' so that matters not.

Make sure that the 'at.allow' file has read permissions (444) to everyone!

Regards!

...JRF...
Indrajit Bhagat
Regular Advisor

Re: at command

Ya the problem get resolved.

It was due to permission issue, the file permission of at.allow changed to chmod 644 at.allow.


Thanks to all of you.