- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- at problems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 02:43 AM
09-15-2005 02:43 AM
I just added a user to /usr/lib/cron/at.allow. When this user tries to run at, they get the following error:
Open '/var/spool/cron/atjobs/../_at26904' failed errno=13
can't create a job for you
Help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 02:46 AM
09-15-2005 02:46 AM
Re: at problems
/sbin/init.d/cron stop
/sbin/init.d/cron start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 02:52 AM
09-15-2005 02:52 AM
Re: at problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 03:43 AM
09-15-2005 03:43 AM
Re: at problems
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 03:58 AM
09-15-2005 03:58 AM
Re: at problems
# at -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 05:29 AM
09-15-2005 05:29 AM
Re: at problems
Returns nothing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 05:33 AM
09-15-2005 05:33 AM
Re: at problems
Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 05:55 AM
09-15-2005 05:55 AM
Re: at problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 08:13 PM
09-15-2005 08:13 PM
SolutionDo you have any other users allowed to use "at". Can you try them to see if all (non-root) users are affected, or just this one. If it's just this one, is it in a different group or anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 08:27 PM
09-15-2005 08:27 PM
Re: at problems
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 08:34 PM
09-15-2005 08:34 PM
Re: at problems
# ls -l /usr/lib/cron/at.allow
-r--r--r-- 1 bin bin
Your user name has to be there.
Example:
add test user.
# su test
$ echo "hi" | at 0815 Sep 24
warning: commands will be executed using /usr/bin/sh
job 1127571300.a at Sat Sep 24 08:15:00 2005
$
$
$ at -l
1127571300.a Sat Sep 24 08:15:00 2005
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 08:41 PM
09-15-2005 08:41 PM
Re: at problems
Take a look at the man page of at command, It reads,
Users are permitted to use the at and batch commands if their user names appear in the file /usr/lib/cron/at.allow. If that file does not exist, users can use at and batch if their names do not appear in the file /usr/lib/cron/at.deny. If neither file exists, only superuser is allowed to submit jobs. If only at.deny exists but is empty, all users can use at and batch. The allow/deny files consist of one user name per line.
All users can list and remove their own jobs. Users with appropriate privileges can list and remove jobs other than their own.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:09 AM
11-15-2005 06:09 AM
Re: at problems
I do understand that at.allow and at.deny files exist and do know how to use them. The user is in at.allow and this is not the only user that does not work. In fact, root is the only user that works. I believe that I am experiencing an internal error from at because setuid permissions are wrong somewhere. I think that the permissions of one or some of the files that at uses is not set correctly. One of my admins used CIS to lock down the system and followed the recommendations to change permissions on a lot of files. I do not recommend that anyone follow all of CIS's recommendations! Some of CIS's recommendations are really bad. Great tool, it makes the system so secure that you can't use it:) (sarcasm)I'm actually surprised that CIS did not recommend that I unplug the network cable and turn off power to the server. I think we have fixed most of the things that were broken by implementing recommendations by CIS. Can anyone give me a list of files that at uses and which ones must have setuid root permissions? Starting over from scratch is not really an option at this point. Thanks for all the help thus far.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:20 AM
11-15-2005 06:20 AM
Re: at problems
-r-xr-xr-x 2 bin bin /usr/bin/sh
-r--r--r-- 1 root sys /var/adm/cron
-r--r--r-- 1 bin bin -r--r--r-- 1 bin bin/var/adm/cron/.proto
-r--r--r-- 1 bin bin /usr/lib/cron/at.allow
-r--r--r-- 1 bin bin /usr/lib/cron/at.deny
-r--r--r-- 1 bin bin /var/adm/cron/queuedefs
dr-xr-xr-x 2 bin bin /var/spool/cron/atjobs
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 06:20 AM
11-15-2005 06:20 AM
Re: at problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:28 AM
11-15-2005 09:28 AM
Re: at problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 11:06 AM
11-15-2005 11:06 AM
Re: at problems
Bill Hassell, sysadmin