<?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: Auto Lock in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510280#M12307</link>
    <description>use u_unlock field , see man prpasswd</description>
    <pubDate>Wed, 23 Mar 2005 10:01:12 GMT</pubDate>
    <dc:creator>Radouan Bouzite</dc:creator>
    <dc:date>2005-03-23T10:01:12Z</dc:date>
    <item>
      <title>Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510279#M12306</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I was wondering if someone knew how to set a user to have his account be automatically be locked out? A client would like that once a account is unlocked, the server (Tru64, 5.1B) would automatically be locked again by a certain time.&lt;BR /&gt;Thanks in advance for your response.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 23 Mar 2005 06:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510279#M12306</guid>
      <dc:creator>Chris_769</dc:creator>
      <dc:date>2005-03-23T06:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510280#M12307</link>
      <description>use u_unlock field , see man prpasswd</description>
      <pubDate>Wed, 23 Mar 2005 10:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510280#M12307</guid>
      <dc:creator>Radouan Bouzite</dc:creator>
      <dc:date>2005-03-23T10:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510281#M12308</link>
      <description>&lt;BR /&gt;Off-course that is only working after you configure C2-security.....ie secsetup&lt;BR /&gt;&lt;BR /&gt;___ Johan.</description>
      <pubDate>Wed, 23 Mar 2005 10:38:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510281#M12308</guid>
      <dc:creator>Johan Brusche</dc:creator>
      <dc:date>2005-03-23T10:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510282#M12309</link>
      <description>Hi Johan,&lt;BR /&gt;&lt;BR /&gt;Thanks for the response, but I could not see what I was looking for there.&lt;BR /&gt;&lt;BR /&gt;What I am trying to do is have a user account be unlocked at a certain time and be locked again at certain time in a day.&lt;BR /&gt;&lt;BR /&gt;This way the administrator does not have to manually go in to the account manager and unlock the account and then again lock it before he leaves, for instance.&lt;BR /&gt;&lt;BR /&gt;Did I miss it in the man page or it is another cmd I need? A script or crontab entry?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 23 Mar 2005 11:37:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510282#M12309</guid>
      <dc:creator>Chris_769</dc:creator>
      <dc:date>2005-03-23T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510283#M12310</link>
      <description>As Johan mentioned, you need to have Enhanced Security enabled.  You can check/enable it with:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/sysman secconfig&lt;BR /&gt;&lt;BR /&gt;If you have to enable it I believe a reboot will be required.&lt;BR /&gt;&lt;BR /&gt;Then add two entries in root's crontab.&lt;BR /&gt;&lt;BR /&gt;To unlock the account:&lt;BR /&gt;/usr/sbin/usermod -x administrative_lock_applied=0 &lt;ACCOUNT&gt;&lt;BR /&gt;&lt;BR /&gt;To lock the account:&lt;BR /&gt;/usr/sbin/usermod -x administrative_lock_applied=1 &lt;ACCOUNT&gt;&lt;BR /&gt;&lt;BR /&gt;That should do it.&lt;BR /&gt;&lt;BR /&gt;Vic&lt;BR /&gt;&lt;/ACCOUNT&gt;&lt;/ACCOUNT&gt;</description>
      <pubDate>Wed, 23 Mar 2005 12:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510283#M12310</guid>
      <dc:creator>Victor Semaska_3</dc:creator>
      <dc:date>2005-03-23T12:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510284#M12311</link>
      <description>If you have Enhanced Security (C2) enabled, you could try playing with the u_tod field directly (see "man prpasswd" and "man edauth") or you could set it with the usermod command (see "man usermod" and look for the text under -x "logon_hours").  This field "sets the days of the week and hours of the day during which the account holder can log in to the account", according to the usermod man page.&lt;BR /&gt;&lt;BR /&gt;Ann</description>
      <pubDate>Wed, 23 Mar 2005 16:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510284#M12311</guid>
      <dc:creator>Ann Majeske</dc:creator>
      <dc:date>2005-03-23T16:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510285#M12312</link>
      <description>Hi Ann,&lt;BR /&gt;&lt;BR /&gt;That's great, thanks for the tip, will try it and hope it works. Thanks.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 29 Mar 2005 02:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510285#M12312</guid>
      <dc:creator>Chris_769</dc:creator>
      <dc:date>2005-03-29T02:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510286#M12313</link>
      <description>Cris, &lt;BR /&gt;1) You need C2 enabled indeed.&lt;BR /&gt;2) After that, You'll be able to setup working hours via Account manager.&lt;BR /&gt;It's little bit simpler&amp;amp;safier, than fiddling with config files directly. &lt;BR /&gt;</description>
      <pubDate>Tue, 29 Mar 2005 08:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510286#M12313</guid>
      <dc:creator>Alexey Borchev</dc:creator>
      <dc:date>2005-03-29T08:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510287#M12314</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;1st, thanks for your replys.&lt;BR /&gt;2nd, results: usermod did nto work. now the account is locked out all the time, cant get in, only get this:&lt;BR /&gt;Wrong time period to log into this account.&lt;BR /&gt;&lt;BR /&gt;The crontab entry worked for locking the account, but not for unlocking it. Have Enhanced Security (C2), but dont have Accoutn manager, need to do this through cmds. Crontab had set for lock and then unlock 1:30 later same day specifics.&lt;BR /&gt;&lt;BR /&gt;usermod had entered only one day for it to be locked, but now locked all days.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Chris&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2005 05:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510287#M12314</guid>
      <dc:creator>Chris_769</dc:creator>
      <dc:date>2005-04-01T05:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510288#M12315</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;I don't understand.  I tried it on my test box and it worked fine.  Could you list the crontab entries.&lt;BR /&gt;&lt;BR /&gt;Also, that message 'Wrong time period to log into this account.' bothers me.  I never seen that one before.  Sounds like the 'Time of Day' field in the 'Login Restriction' security window was somehow set.&lt;BR /&gt;&lt;BR /&gt;Why can't you run dxaccounts on the console?&lt;BR /&gt;&lt;BR /&gt;Vic</description>
      <pubDate>Fri, 01 Apr 2005 09:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510288#M12315</guid>
      <dc:creator>Victor Semaska_3</dc:creator>
      <dc:date>2005-04-01T09:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510289#M12316</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Can you post the results of "edauth -g &lt;USERNAME&gt;" on the account that you did the usermod command?&lt;BR /&gt;&lt;BR /&gt;Ann&lt;/USERNAME&gt;</description>
      <pubDate>Mon, 04 Apr 2005 12:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510289#M12316</guid>
      <dc:creator>Ann Majeske</dc:creator>
      <dc:date>2005-04-04T12:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510290#M12317</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I dont understand why the crontab did not work either:&lt;BR /&gt;&lt;BR /&gt;It locked fine, but would not unlock. I have removed the two lines, but I know that they were correct.&lt;BR /&gt;&lt;BR /&gt;The usermod worked. It was that I had entered Wk instead of listing each day.&lt;BR /&gt;Does anyone know how to remove it now if I want to? It is the u_tod= that needs to be removed in the db.&lt;BR /&gt;Any ideas how that fine can be edited?&lt;BR /&gt;&lt;BR /&gt;Many cheers,&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 04 Apr 2005 12:16:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510290#M12317</guid>
      <dc:creator>Chris_769</dc:creator>
      <dc:date>2005-04-04T12:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510291#M12318</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;usermod -x logon_hours="" &lt;ACCOUNT&gt;&lt;BR /&gt;&lt;BR /&gt;Vic&lt;/ACCOUNT&gt;</description>
      <pubDate>Mon, 04 Apr 2005 12:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510291#M12318</guid>
      <dc:creator>Victor Semaska_3</dc:creator>
      <dc:date>2005-04-04T12:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510292#M12319</link>
      <description>usermod can be used to modify the account.&lt;BR /&gt;&lt;BR /&gt;You can also use the edauth command to modify the fields directly.  See "man edauth" for information on the edauth command.  See "man prpasswd" for information on the fields.  &lt;BR /&gt;&lt;BR /&gt;Ann</description>
      <pubDate>Tue, 05 Apr 2005 08:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510292#M12319</guid>
      <dc:creator>Ann Majeske</dc:creator>
      <dc:date>2005-04-05T08:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Lock</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510293#M12320</link>
      <description>Howto enable automatic logout of idle telnet sessions&lt;BR /&gt;&lt;BR /&gt;Set environmental variables:&lt;BR /&gt;&lt;BR /&gt; csh and tcsh&lt;BR /&gt;     set autologout=60&lt;BR /&gt;     &lt;BR /&gt;where 60 represents the number of minutes if inactivity.&lt;BR /&gt;&lt;BR /&gt; ksh and bash&lt;BR /&gt;     TMOUT=3600 ; export TMOUT&lt;BR /&gt;&lt;BR /&gt;where 3600 represents the number of seconds of inactivity.&lt;BR /&gt;&lt;BR /&gt;C2 is not necessary here!&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 08:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/auto-lock/m-p/3510293#M12320</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2005-04-06T08:07:57Z</dc:date>
    </item>
  </channel>
</rss>

