<?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: Not to schedule a cronjob in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015985#M762901</link>
    <description>Hi .,&lt;BR /&gt;&lt;BR /&gt;I tried the above things ., But still the issue remains.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I created the file called build inside the crontabs directory and changed the group as build &amp;amp; given the permission..&lt;BR /&gt;&lt;BR /&gt;Here I attached a few details..&lt;BR /&gt;&lt;BR /&gt;----------------------&lt;BR /&gt;&lt;BR /&gt;[root@nibappsun08 cron]$ pwd&lt;BR /&gt;/var/spool/cron&lt;BR /&gt;[root@nibappsun08 cron]$ ls -lt&lt;BR /&gt;total 4&lt;BR /&gt;drwxr-xr-x   2 root     sys          512 Nov 28 17:30 crontabs&lt;BR /&gt;drwxr-xr-x   2 root     sys          512 Nov 28 15:19 atjobs&lt;BR /&gt;[root@nibappsun08 cron]$ cd crontabs/&lt;BR /&gt;[root@nibappsun08 crontabs]$ ls -ltr&lt;BR /&gt;total 10&lt;BR /&gt;-r--------   1 root     sys          190 Sep  1 07:17 adm&lt;BR /&gt;-r--------   1 root     root         452 Sep  1 07:27 lp&lt;BR /&gt;-r--------   1 root     sys          308 Sep  1 07:51 sys&lt;BR /&gt;-r--------   1 root     sys          404 Sep  1 07:55 uucp&lt;BR /&gt;-r--------   1 root     other          0 Sep 25 20:50 test&lt;BR /&gt;-r--------   1 root     other        525 Nov 28 17:13 root&lt;BR /&gt;-r--------   1 root     build          0 Nov 28 17:30 build&lt;BR /&gt;[root@nibappsun08 crontabs]$&lt;BR /&gt;------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Nov 2006 07:07:03 GMT</pubDate>
    <dc:creator>susee_sundar</dc:creator>
    <dc:date>2006-11-28T07:07:03Z</dc:date>
    <item>
      <title>Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015978#M762894</link>
      <description>Hi.,&lt;BR /&gt;&lt;BR /&gt;When I try to schedule the cronjob with the user build.It is giving the following error message.&lt;BR /&gt;----------&lt;BR /&gt;crontab: can't create your crontab file in the crontab directory.&lt;BR /&gt;&lt;BR /&gt;When we give the command crontab -e, it is opening the editor after make the entry in the editor and when we save the cronjob..,I get the above error message.&lt;BR /&gt;--------&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Suseendran .A</description>
      <pubDate>Tue, 28 Nov 2006 06:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015978#M762894</guid>
      <dc:creator>susee_sundar</dc:creator>
      <dc:date>2006-11-28T06:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015979#M762895</link>
      <description>Hi,&lt;BR /&gt;is the user build allowed to have a cron file?&lt;BR /&gt;See "man crontab"&lt;BR /&gt;User should be in /usr/lib/cron/cron.allow</description>
      <pubDate>Tue, 28 Nov 2006 06:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015979#M762895</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-28T06:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015980#M762896</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;I dont think that was the root cause&lt;BR /&gt;I dont have cron.allow file in my server only I am having cron.deny and the user 'build' is not specified onto the list&lt;BR /&gt;&lt;BR /&gt;The Error seems to be different., Its not looking like a permission issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$crontab -e&lt;BR /&gt;&amp;lt;&amp;lt; The Editor is opening &amp;gt;&amp;gt;&lt;BR /&gt;&amp;lt;&amp;lt; When I make entry &amp;amp; try to exit &amp;gt;&amp;gt;&lt;BR /&gt;:wq&lt;BR /&gt;crontab: can't create your crontab file in the crontab directory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Suseendran, A</description>
      <pubDate>Tue, 28 Nov 2006 06:35:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015980#M762896</guid>
      <dc:creator>susee_sundar</dc:creator>
      <dc:date>2006-11-28T06:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015981#M762897</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check write permissions in /usr/spool/cron/crontabs directory.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Tue, 28 Nov 2006 06:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015981#M762897</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-11-28T06:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015982#M762898</link>
      <description>Hi,&lt;BR /&gt;could you please try (as user build)&lt;BR /&gt;cd /tmp&lt;BR /&gt;crontab -l &amp;gt; l.l&lt;BR /&gt;vi l.l and add your stuff&lt;BR /&gt;crontab l.l&lt;BR /&gt;&lt;BR /&gt;If that does not work get root to create a file called build in /var/spool/cron/crontabs, set permissions to 400 and chgrp to the group of build.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2006 06:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015982#M762898</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-28T06:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015983#M762899</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;verify your temporary directory just in case they are running out of space.&lt;BR /&gt;&lt;BR /&gt;also try the method specified by Peter above.&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;crontab -l &amp;gt; /tmp/cron.txt&lt;BR /&gt;&lt;BR /&gt;then edit the cron.txt accordingly&lt;BR /&gt;&lt;BR /&gt;crontab /tmp/cron.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 28 Nov 2006 07:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015983#M762899</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-11-28T07:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015984#M762900</link>
      <description>Also check the permissions of the "crontab" command. It should be something like this&lt;BR /&gt;&lt;BR /&gt;-r-sr-xr-x   1 root  bin    32768 Jun 18  2002 /usr/bin/crontab&lt;BR /&gt;&lt;BR /&gt;In other words, the "crontab" command must be suid root to allow non-root users to edit their own crontabs. In a default installation this is true, but the suid bit may be removed for various reasons:&lt;BR /&gt;&lt;BR /&gt;- as a workaround to prevent the use of a local root exploit until a patch is available, the suid bit might be intentionally removed from a vulnerable binary&lt;BR /&gt;&lt;BR /&gt;- as a security measure, the number of suid root binaries may be limited to absolute minimum required (I'm not sure whether the Bastille hardening system from software.hp.com offers to do this or not)&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2006 07:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015984#M762900</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-11-28T07:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015985#M762901</link>
      <description>Hi .,&lt;BR /&gt;&lt;BR /&gt;I tried the above things ., But still the issue remains.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I created the file called build inside the crontabs directory and changed the group as build &amp;amp; given the permission..&lt;BR /&gt;&lt;BR /&gt;Here I attached a few details..&lt;BR /&gt;&lt;BR /&gt;----------------------&lt;BR /&gt;&lt;BR /&gt;[root@nibappsun08 cron]$ pwd&lt;BR /&gt;/var/spool/cron&lt;BR /&gt;[root@nibappsun08 cron]$ ls -lt&lt;BR /&gt;total 4&lt;BR /&gt;drwxr-xr-x   2 root     sys          512 Nov 28 17:30 crontabs&lt;BR /&gt;drwxr-xr-x   2 root     sys          512 Nov 28 15:19 atjobs&lt;BR /&gt;[root@nibappsun08 cron]$ cd crontabs/&lt;BR /&gt;[root@nibappsun08 crontabs]$ ls -ltr&lt;BR /&gt;total 10&lt;BR /&gt;-r--------   1 root     sys          190 Sep  1 07:17 adm&lt;BR /&gt;-r--------   1 root     root         452 Sep  1 07:27 lp&lt;BR /&gt;-r--------   1 root     sys          308 Sep  1 07:51 sys&lt;BR /&gt;-r--------   1 root     sys          404 Sep  1 07:55 uucp&lt;BR /&gt;-r--------   1 root     other          0 Sep 25 20:50 test&lt;BR /&gt;-r--------   1 root     other        525 Nov 28 17:13 root&lt;BR /&gt;-r--------   1 root     build          0 Nov 28 17:30 build&lt;BR /&gt;[root@nibappsun08 crontabs]$&lt;BR /&gt;------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2006 07:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015985#M762901</guid>
      <dc:creator>susee_sundar</dc:creator>
      <dc:date>2006-11-28T07:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015986#M762902</link>
      <description>hi again&lt;BR /&gt;&lt;BR /&gt;what does "bdf /var/spool/cron/crontabs " show?&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 28 Nov 2006 07:14:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015986#M762902</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-11-28T07:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015987#M762903</link>
      <description>Hi.,&lt;BR /&gt;&lt;BR /&gt;Its an amazing effort shown from all of you to find the solution...&lt;BR /&gt;&lt;BR /&gt;ya the Trick which works was the suid permission is not set for my crontab command..&lt;BR /&gt;&lt;BR /&gt;After setting the suid permission to the file it is working fine..&lt;BR /&gt;&lt;BR /&gt;Thanks Especially to " Matti Kurkela " and to Eveyone...&lt;BR /&gt;&lt;BR /&gt;Regardfs&lt;BR /&gt;Suseendran, A&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2006 07:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015987#M762903</guid>
      <dc:creator>susee_sundar</dc:creator>
      <dc:date>2006-11-28T07:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015988#M762904</link>
      <description>Hi,&lt;BR /&gt;so the question you have to ask yourself now is : Who changed the crontab permissions ??</description>
      <pubDate>Tue, 28 Nov 2006 07:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015988#M762904</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-28T07:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not to schedule a cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015989#M762905</link>
      <description>&amp;gt;Peter: so the question you have to ask yourself now is: Who changed the crontab permissions??&lt;BR /&gt;&lt;BR /&gt;If you suspect more of these problems, you could use:&lt;BR /&gt;# /usr/sbin/swverify \*</description>
      <pubDate>Tue, 28 Nov 2006 15:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-to-schedule-a-cronjob/m-p/5015989#M762905</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-11-28T15:12:40Z</dc:date>
    </item>
  </channel>
</rss>

