<?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: Cron and lockout accounts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526032#M367659</link>
    <description>cron never logs in because it is never interactive. cron is run as root and schedules processes on behalf of user IDs with crontab entries. The only time a user's login state is tested is when a user logs in or starts a batch shell.</description>
    <pubDate>Tue, 03 Nov 2009 01:12:20 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2009-11-03T01:12:20Z</dc:date>
    <item>
      <title>Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526028#M367655</link>
      <description>It appeared that cron will execute user jobs even when lockout is flagged in the TCB.  Is there a man page or document to confirm this behaviour ?  I looked for a while but cannot come across any.&lt;BR /&gt;&lt;BR /&gt;We have HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2009 18:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526028#M367655</guid>
      <dc:creator>Henry Cheung</dc:creator>
      <dc:date>2009-11-02T18:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526029#M367656</link>
      <description>I'd think it would behave that way, as cron doesn't login.  &lt;BR /&gt;&lt;BR /&gt;you could always create a dummy / test account, set up a test cron job (simple "date" should suffice), diable the account and see what happens.</description>
      <pubDate>Mon, 02 Nov 2009 18:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526029#M367656</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-11-02T18:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526030#M367657</link>
      <description>I prefer a piece of written HP documentation to collaborate this HP-UX behaviour.  As this is will be a gotcha for us multi-vendor unix sysadmin.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2009 18:53:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526030#M367657</guid>
      <dc:creator>Henry Cheung</dc:creator>
      <dc:date>2009-11-02T18:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526031#M367658</link>
      <description>hmmm...what you prefer and what is available may be disjoint.&lt;BR /&gt;&lt;BR /&gt;what's to prevent *you* from observing behaviour AND THEN documenting the observed results???</description>
      <pubDate>Mon, 02 Nov 2009 21:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526031#M367658</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-11-02T21:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526032#M367659</link>
      <description>cron never logs in because it is never interactive. cron is run as root and schedules processes on behalf of user IDs with crontab entries. The only time a user's login state is tested is when a user logs in or starts a batch shell.</description>
      <pubDate>Tue, 03 Nov 2009 01:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526032#M367659</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-11-03T01:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526033#M367660</link>
      <description>&amp;gt;&amp;gt;It appeared that cron will execute user jobs even when lockout is flagged in the TCB. Is there a man page or document to confirm this behaviour ? I looked for a while but cannot come across any.&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;No It will not &amp;gt;&amp;gt; It will result in cron.log&amp;lt;&amp;lt;,&lt;BR /&gt;has "BAD User" if your account got any problem</description>
      <pubDate>Tue, 03 Nov 2009 04:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526033#M367660</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-11-03T04:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526034#M367661</link>
      <description>&amp;gt; No It will not &amp;gt;&amp;gt; It will result in cron.log&amp;lt;&amp;lt;,&lt;BR /&gt;&amp;gt; has "BAD User" if your account got any problem&lt;BR /&gt; &lt;BR /&gt;Doesn't seem to be in cron, at least for 11.11. An administrator lock for a user ID still allows cron to schedule jobs for the user. Running strings on /usr/sbin/cron doesn't have the word "bad". This seems to be a Solaris feature.</description>
      <pubDate>Tue, 03 Nov 2009 14:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526034#M367661</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-11-03T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526035#M367662</link>
      <description>&amp;gt;&amp;gt; This seems to be a Solaris feature&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Oops, my BAD - sorry for any inconvenience caused :(&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;gt;&amp;gt;Bill&amp;lt;&amp;lt; for correcting me :)</description>
      <pubDate>Tue, 03 Nov 2009 14:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526035#M367662</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-11-03T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cron and lockout accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526036#M367663</link>
      <description>TCB is a complex extension.&lt;BR /&gt;getprpw(1M) indicate 7 lockout flags&lt;BR /&gt;&lt;BR /&gt;1 past password lifetime&lt;BR /&gt;2 past last login time (inactive account)&lt;BR /&gt;3 past absolute account lifetime&lt;BR /&gt;4 exceeded unsuccessful login attempts&lt;BR /&gt;5 password required and a null password&lt;BR /&gt;6 admin lock&lt;BR /&gt;7 password is a *&lt;BR /&gt;&lt;BR /&gt;I understand there are times we need accounts that are not meant to be login.&lt;BR /&gt;&lt;BR /&gt;Perhaps for file ownerships.&lt;BR /&gt;Perhaps purely for the perpetual execution of scheduled jobs in less-than root privivlege.&lt;BR /&gt;&lt;BR /&gt;My initial quest for documentation make sure I did not miss any configurable variables that can alter cron's behaviour.&lt;BR /&gt;&lt;BR /&gt;I think cron should be more refine to check the lockout flag.  E.g. for bit 3 and bit 6, IMO, cron should not continue running the user's cron.  But then this is debatable and that is not my intention.&lt;BR /&gt;&lt;BR /&gt;I shall live with what I got.&lt;BR /&gt;Thanks everyone.  &lt;BR /&gt;</description>
      <pubDate>Tue, 03 Nov 2009 15:20:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-and-lockout-accounts/m-p/4526036#M367663</guid>
      <dc:creator>Henry Cheung</dc:creator>
      <dc:date>2009-11-03T15:20:13Z</dc:date>
    </item>
  </channel>
</rss>

