<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: at problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627005#M236804</link>
    <description>Have you done a tail on the /var/adm/cron/log file to see what activity is going on?</description>
    <pubDate>Tue, 15 Nov 2005 17:28:18 GMT</pubDate>
    <dc:creator>Sheriff Andy</dc:creator>
    <dc:date>2005-11-15T17:28:18Z</dc:date>
    <item>
      <title>at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626990#M236789</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I just added a user to /usr/lib/cron/at.allow.  When this user tries to run at, they get the following error:&lt;BR /&gt;&lt;BR /&gt;Open '/var/spool/cron/atjobs/../_at26904' failed errno=13&lt;BR /&gt;can't create a job for you&lt;BR /&gt;&lt;BR /&gt;Help</description>
      <pubDate>Thu, 15 Sep 2005 09:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626990#M236789</guid>
      <dc:creator>Dieter S. Vener</dc:creator>
      <dc:date>2005-09-15T09:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626991#M236790</link>
      <description>Did you restart cron servise?&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron stop&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron start</description>
      <pubDate>Thu, 15 Sep 2005 09:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626991#M236790</guid>
      <dc:creator>Orhan Biyiklioglu</dc:creator>
      <dc:date>2005-09-15T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626992#M236791</link>
      <description>`ls -ld /var/spool/cron/atjobs`, check if the directory owner and group belongs to bin, if not, use chmod -R bin:bin /var/spool/cron/atjobs</description>
      <pubDate>Thu, 15 Sep 2005 09:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626992#M236791</guid>
      <dc:creator>Matthew_50</dc:creator>
      <dc:date>2005-09-15T09:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626993#M236792</link>
      <description>I did try restarting cron. The ownership on the atjobs directory is bin:bin 555.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 15 Sep 2005 10:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626993#M236792</guid>
      <dc:creator>Dieter S. Vener</dc:creator>
      <dc:date>2005-09-15T10:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626994#M236793</link>
      <description>What happens if the user enters&lt;BR /&gt;&lt;BR /&gt;# at -l</description>
      <pubDate>Thu, 15 Sep 2005 10:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626994#M236793</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-09-15T10:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626995#M236794</link>
      <description>%at -l&lt;BR /&gt;&lt;BR /&gt;Returns nothing</description>
      <pubDate>Thu, 15 Sep 2005 12:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626995#M236794</guid>
      <dc:creator>Dieter S. Vener</dc:creator>
      <dc:date>2005-09-15T12:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626996#M236795</link>
      <description>Does the directory "/var/spool/cron/tmp" exist and does it have permissions of rwxrwxrwt ?&lt;BR /&gt; &lt;BR /&gt;Rod Hills</description>
      <pubDate>Thu, 15 Sep 2005 12:33:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626996#M236795</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-09-15T12:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626997#M236796</link>
      <description>Yes</description>
      <pubDate>Thu, 15 Sep 2005 12:55:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626997#M236796</guid>
      <dc:creator>Dieter S. Vener</dc:creator>
      <dc:date>2005-09-15T12:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626998#M236797</link>
      <description>If a user that isn't authorised to use "at" issues the command "at -l" you'd get an error message "you are not authorized to use at.  Sorry.". The fact that you don't get such an error message indicates that the user IS allowed to use "at".&lt;BR /&gt;&lt;BR /&gt;Do 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?</description>
      <pubDate>Fri, 16 Sep 2005 03:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626998#M236797</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-09-16T03:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626999#M236798</link>
      <description>Error number 13 means permission denied. Could it be the command the user is trying to run that is generating the error message rather than the at job?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Fri, 16 Sep 2005 03:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3626999#M236798</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2005-09-16T03:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627000#M236799</link>
      <description>Check /usr/lib/cron/at.allow file.&lt;BR /&gt;&lt;BR /&gt;# ls -l /usr/lib/cron/at.allow&lt;BR /&gt;-r--r--r--   1 bin        bin&lt;BR /&gt;&lt;BR /&gt;Your user name has to be there.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;add test user.&lt;BR /&gt;&lt;BR /&gt;# su test&lt;BR /&gt;$ echo "hi" | at  0815 Sep 24&lt;BR /&gt;warning: commands will be executed using /usr/bin/sh&lt;BR /&gt;job 1127571300.a at Sat Sep 24 08:15:00 2005&lt;BR /&gt;$&lt;BR /&gt;$&lt;BR /&gt;$ at -l&lt;BR /&gt;1127571300.a    Sat Sep 24 08:15:00 2005&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 03:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627000#M236799</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-16T03:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627001#M236800</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Take a look at the man page of at command, It reads, &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;All users can list and remove their own jobs. Users with appropriate privileges can list and remove jobs other than their own.&lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 03:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627001#M236800</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-16T03:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627002#M236801</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 15 Nov 2005 14:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627002#M236801</guid>
      <dc:creator>Dieter S. Vener</dc:creator>
      <dc:date>2005-11-15T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627003#M236802</link>
      <description>According to the man page, the following files are involved:&lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-x   2 bin        bin /usr/bin/sh&lt;BR /&gt;-r--r--r--   1 root       sys /var/adm/cron&lt;BR /&gt;-r--r--r--   1 bin        bin -r--r--r--   1 bin        bin/var/adm/cron/.proto&lt;BR /&gt;-r--r--r--   1 bin        bin /usr/lib/cron/at.allow&lt;BR /&gt;-r--r--r--   1 bin        bin /usr/lib/cron/at.deny &lt;BR /&gt;-r--r--r--   1 bin        bin /var/adm/cron/queuedefs &lt;BR /&gt;dr-xr-xr-x   2 bin        bin /var/spool/cron/atjobs &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 15 Nov 2005 14:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627003#M236802</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-11-15T14:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627004#M236803</link>
      <description>Ok, I figured it out.  The at executable itself must be setuid root. I looked on another system.</description>
      <pubDate>Tue, 15 Nov 2005 14:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627004#M236803</guid>
      <dc:creator>Dieter S. Vener</dc:creator>
      <dc:date>2005-11-15T14:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627005#M236804</link>
      <description>Have you done a tail on the /var/adm/cron/log file to see what activity is going on?</description>
      <pubDate>Tue, 15 Nov 2005 17:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627005#M236804</guid>
      <dc:creator>Sheriff Andy</dc:creator>
      <dc:date>2005-11-15T17:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: at problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627006#M236805</link>
      <description>There may be a *LOT* of damage still hidden from the 'improvements' to the system files. Luckily, HP-UX haas a very smart software installer called Software Distributor and the problem finder is called swverify. Use it to verify the various OS subsystems and it will tell you what was changed and what it should be (ownership and permissions).</description>
      <pubDate>Tue, 15 Nov 2005 19:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-problems/m-p/3627006#M236805</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-11-15T19:06:41Z</dc:date>
    </item>
  </channel>
</rss>

