<?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: HP/UX 11.11 Restricted access for maintenance? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259298#M471876</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;passwd -l &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;For every user that you want to keep off the system.&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | awk '{ print $1 }' &amp;gt; /tmp/list&lt;BR /&gt;&lt;BR /&gt;edit the list&lt;BR /&gt;&lt;BR /&gt;while read -r un&lt;BR /&gt;do&lt;BR /&gt;   passwd -l $un&lt;BR /&gt;done &amp;lt; /tmp/list&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/USERNAME&gt;</description>
    <pubDate>Tue, 19 Oct 2010 18:17:16 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2010-10-19T18:17:16Z</dc:date>
    <item>
      <title>HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259297#M471875</link>
      <description>We are migrating database from Raid storage to SAN, we want to make sure only key users have access to the system.. &lt;BR /&gt;&lt;BR /&gt;Is there a good way in the /etc/profile to keep all but users root, user1, user2 and informix from getting access? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Oct 2010 18:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259297#M471875</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-19T18:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259298#M471876</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;passwd -l &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;For every user that you want to keep off the system.&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | awk '{ print $1 }' &amp;gt; /tmp/list&lt;BR /&gt;&lt;BR /&gt;edit the list&lt;BR /&gt;&lt;BR /&gt;while read -r un&lt;BR /&gt;do&lt;BR /&gt;   passwd -l $un&lt;BR /&gt;done &amp;lt; /tmp/list&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 19 Oct 2010 18:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259298#M471876</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-10-19T18:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259299#M471877</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can lock other user duiring activity using command&lt;BR /&gt;&lt;BR /&gt; passwd -l username&lt;BR /&gt;&lt;BR /&gt;verify is it done..&lt;BR /&gt;&lt;BR /&gt; /usr/lbin/getprpw username&lt;BR /&gt;&lt;BR /&gt;you should see lockout=0000010&lt;BR /&gt;&lt;BR /&gt;Chandra</description>
      <pubDate>Wed, 20 Oct 2010 02:54:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259299#M471877</guid>
      <dc:creator>Chandrahasa s</dc:creator>
      <dc:date>2010-10-20T02:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259300#M471878</link>
      <description>I am on a trusted system. &lt;BR /&gt;&lt;BR /&gt;should i use the modprpw or passwd? &lt;BR /&gt;&lt;BR /&gt;I want several accounts to remain active, but to lockout during maintenance all others, then after we get done to allow all users again. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2010 12:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259300#M471878</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-20T12:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259301#M471879</link>
      <description>passwd -l works now I have to get a script written to lock and then unlock. &lt;BR /&gt;&lt;BR /&gt;I am going to create a list per SRP's rec, to &lt;BR /&gt;&lt;BR /&gt;for UU in `cat lockoutuser`&lt;BR /&gt;do &lt;BR /&gt;passwd -l $UU &lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for unlocking&lt;BR /&gt;&lt;BR /&gt;Roll these two commands in place of passwd:&lt;BR /&gt;/usr/lbin/modprpw -l -m alock=NO $UU&lt;BR /&gt;/usr/lbin/modprpw -k $UU&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sound right?</description>
      <pubDate>Wed, 20 Oct 2010 12:15:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259301#M471879</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-20T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259302#M471880</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Instead of:&lt;BR /&gt;&lt;BR /&gt;for UU in `cat lockoutuser`&lt;BR /&gt;do&lt;BR /&gt;passwd -l $UU&lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;...eliminate the extra process you spawn (the 'cat') and let the shell do this:&lt;BR /&gt;&lt;BR /&gt;while read UU&lt;BR /&gt;do&lt;BR /&gt;    passwd -l ${UU}&lt;BR /&gt;done &amp;lt; lockoutuser&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 20 Oct 2010 12:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259302#M471880</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-10-20T12:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259303#M471881</link>
      <description>Thanks JRF. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2010 12:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259303#M471881</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-20T12:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259304#M471882</link>
      <description>JRF or Steven, &lt;BR /&gt;&lt;BR /&gt;would this work to unlock post maintenance? &lt;BR /&gt;&lt;BR /&gt;while read UU&lt;BR /&gt;do&lt;BR /&gt;/usr/lbin/modprpw -l -m alock=NO $UU&lt;BR /&gt;/usr/lbin/modprpw -k $UU&lt;BR /&gt;done &amp;lt; lockuser.txt</description>
      <pubDate>Wed, 20 Oct 2010 14:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259304#M471882</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-20T14:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259305#M471883</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can just run&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -k $userid&lt;BR /&gt;&lt;BR /&gt;Chandra</description>
      <pubDate>Wed, 20 Oct 2010 16:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259305#M471883</guid>
      <dc:creator>Chandrahasa s</dc:creator>
      <dc:date>2010-10-20T16:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259306#M471884</link>
      <description>Chandra, so based on my lock file I would just do this correct? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;while read UU&lt;BR /&gt;do&lt;BR /&gt;/usr/lbin/modprpw -k $UU&lt;BR /&gt;done &amp;lt; lockuser.txt&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2010 16:44:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259306#M471884</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-20T16:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259307#M471885</link>
      <description>yes&lt;BR /&gt;&lt;BR /&gt;Chandra</description>
      <pubDate>Sat, 23 Oct 2010 04:02:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259307#M471885</guid>
      <dc:creator>Chandrahasa s</dc:creator>
      <dc:date>2010-10-23T04:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259308#M471886</link>
      <description>All went well, thanks for the assistance!,</description>
      <pubDate>Mon, 25 Oct 2010 17:03:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259308#M471886</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-25T17:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: HP/UX 11.11 Restricted access for maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259309#M471887</link>
      <description>All went well with the migration, Thanks, JRF, Steven, and Chandra</description>
      <pubDate>Mon, 25 Oct 2010 17:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-11-restricted-access-for-maintenance/m-p/5259309#M471887</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-10-25T17:04:38Z</dc:date>
    </item>
  </channel>
</rss>

