<?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 Root Equivalent Cron job in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489316#M760253</link>
    <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Due to root's cron job list getting to big and confusing, I wanted to split some of the entries.  For example, many of the entries are for batch processing of our application and/or database tasks, these I want to move to another id called batch that will require the equivalent of root.&lt;BR /&gt;&lt;BR /&gt;I have created a userid for batch and all the other administration for the user.&lt;BR /&gt;&lt;BR /&gt;How do I set this up?  &lt;BR /&gt;&lt;BR /&gt;Suggestions?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 02 Feb 2001 15:23:29 GMT</pubDate>
    <dc:creator>Nick D'Angelo</dc:creator>
    <dc:date>2001-02-02T15:23:29Z</dc:date>
    <item>
      <title>Root Equivalent Cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489316#M760253</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Due to root's cron job list getting to big and confusing, I wanted to split some of the entries.  For example, many of the entries are for batch processing of our application and/or database tasks, these I want to move to another id called batch that will require the equivalent of root.&lt;BR /&gt;&lt;BR /&gt;I have created a userid for batch and all the other administration for the user.&lt;BR /&gt;&lt;BR /&gt;How do I set this up?  &lt;BR /&gt;&lt;BR /&gt;Suggestions?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Feb 2001 15:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489316#M760253</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-02-02T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Root Equivalent Cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489317#M760254</link>
      <description>Hi Nick:&lt;BR /&gt;&lt;BR /&gt;It's good practice to run only those tasks that need to be run as root under root.&lt;BR /&gt;&lt;BR /&gt;By "equivalent of root", I hope you are not intending to replicate UID=0 for your other account(s).  This is a DANGEROUS practice that should be avoided.&lt;BR /&gt;&lt;BR /&gt;I assume (no comments, please) that your "batch" accounts are "normal" users.  Therefore, make sure to declare them appropriately in cron's 'allow' and/or 'deny' files (/var/adm/cron.allow &amp;amp; /var/adm/cron.deny) as necessary.&lt;BR /&gt;&lt;BR /&gt;See 'man crontab' for details.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 02 Feb 2001 15:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489317#M760254</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-02-02T15:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Root Equivalent Cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489318#M760255</link>
      <description>Hi&lt;BR /&gt;I agree with James that it is bad and dangerous practice to create extra UID=0.&lt;BR /&gt;&lt;BR /&gt;Do you identify your jobs in the crontab ?&lt;BR /&gt;&lt;BR /&gt;A small example of my crontab:-&lt;BR /&gt;&lt;BR /&gt;######################################################## &lt;BR /&gt;# Do not ammend without clearing with SYSADMIN first   # &lt;BR /&gt;######################################################## &lt;BR /&gt;# Mirror backup to N-0/avroTWO dir                       &lt;BR /&gt;00 10 * * * /sysadmin/mirrorbackup  &amp;gt; /dev/null 2&amp;gt;&amp;amp;1     &lt;BR /&gt;00 12 * * * /sysadmin/mirrorbackup  &amp;gt; /dev/null 2&amp;gt;&amp;amp;1     &lt;BR /&gt;00 14 * * * /sysadmin/mirrorbackup  &amp;gt; /dev/null 2&amp;gt;&amp;amp;1     &lt;BR /&gt;00 16 * * * /sysadmin/mirrorbackup  &amp;gt; /dev/null 2&amp;gt;&amp;amp;1     &lt;BR /&gt;00 18 * * * /sysadmin/mirrorbackup  &amp;gt; /dev/null 2&amp;gt;&amp;amp;1     &lt;BR /&gt;00 20 * * * /sysadmin/mirrorbackup  &amp;gt; /dev/null 2&amp;gt;&amp;amp;1     &lt;BR /&gt;50 20 * * * /sysadmin/k1copy  &amp;gt; /dev/null 2&amp;gt;&amp;amp;1           &lt;BR /&gt;######################################################## &lt;BR /&gt;# Passwd hosts netconf etc copy                          &lt;BR /&gt;30 23 * * * /sysadmin/k1-k2                              &lt;BR /&gt;######################################################## &lt;BR /&gt;# Cemis update                                           &lt;BR /&gt;00 01 * * * /universe/DOWNLOADS/cemis.update             &lt;BR /&gt;######################################################## &lt;BR /&gt;# Remove core dumps                                      &lt;BR /&gt;00 06 * * * /sysadmin/core_clean                         &lt;BR /&gt;######################################################## &lt;BR /&gt;# Check disk space                                       &lt;BR /&gt;00 05 * * * /sysadmin/spacecheck                         &lt;BR /&gt;&lt;BR /&gt;If you seperate and flag what is going on it is by far easier to maintain.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Fri, 02 Feb 2001 15:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489318#M760255</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-02-02T15:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Root Equivalent Cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489319#M760256</link>
      <description>Hmm, maybe I didn't ask correctly.  Here is part of my crontab file.  &lt;BR /&gt;&lt;BR /&gt;On second thought, I think you have pointed me in the right direction.&lt;BR /&gt;&lt;BR /&gt;The database activities that are currently called up by Root's cron can probably be moved to batch's cron.(after some testing of course)&lt;BR /&gt;&lt;BR /&gt;Therefore, root equivalent batch is not required at all.&lt;BR /&gt;&lt;BR /&gt;Thank you to both of you for your replies and frankness.  You gotta love this forum.&lt;BR /&gt;&lt;BR /&gt;Nickd&lt;BR /&gt;&lt;BR /&gt;(Unix wannabe I guess)</description>
      <pubDate>Fri, 02 Feb 2001 15:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-equivalent-cron-job/m-p/2489319#M760256</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-02-02T15:49:33Z</dc:date>
    </item>
  </channel>
</rss>

