<?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: disable /enable users. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727676#M254130</link>
    <description>Thanks all !!&lt;BR /&gt;&lt;BR /&gt;Kasper ,&lt;BR /&gt;&lt;BR /&gt;how do i get lockout parameter from getprpw ??</description>
    <pubDate>Thu, 09 Feb 2006 05:53:06 GMT</pubDate>
    <dc:creator>chapaya_1</dc:creator>
    <dc:date>2006-02-09T05:53:06Z</dc:date>
    <item>
      <title>disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727665#M254119</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;1. How do i disable a user with command line ?&lt;BR /&gt;2. How do i verify it by command?&lt;BR /&gt;3. How do i enable it back ?&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Thu, 09 Feb 2006 02:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727665#M254119</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2006-02-09T02:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727666#M254120</link>
      <description>lock&lt;BR /&gt;#passwd -l &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;unlock&lt;BR /&gt;#passwd &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;See also&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x78ae50dde50cd71190050090279cd0f9%2C00.html&amp;amp;admit=-682735245+1139472327698+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x78ae50dde50cd71190050090279cd0f9%2C00.html&amp;amp;admit=-682735245+1139472327698+28353475&lt;/A&gt;&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 09 Feb 2006 03:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727666#M254120</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2006-02-09T03:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727667#M254121</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1: &lt;BR /&gt;/usr/lbin/modprpw -l -m alock=YES username&lt;BR /&gt;&lt;BR /&gt;2:&lt;BR /&gt;/usr/lbin/getprpw -lrm lockout username&lt;BR /&gt;&lt;BR /&gt;this command gives this output:&lt;BR /&gt;0000010 ( which means - admin lock )&lt;BR /&gt;&lt;BR /&gt;3:&lt;BR /&gt;/usr/lbin/modprpw -lk username&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for more info man modprpw and getprpw&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Kasper</description>
      <pubDate>Thu, 09 Feb 2006 03:06:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727667#M254121</guid>
      <dc:creator>Kasper Hedensted</dc:creator>
      <dc:date>2006-02-09T03:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727668#M254122</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;To disable a user&lt;BR /&gt;&lt;BR /&gt;#passwd -l &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do,&lt;BR /&gt;&lt;BR /&gt;#passwd &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;and assign a passwrod to enable it back&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 09 Feb 2006 03:07:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727668#M254122</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-02-09T03:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727669#M254123</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;1. How do i disable a user with command line ?&lt;BR /&gt;&lt;BR /&gt;# passwd -l &lt;USER_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;2. How do i verify it by command?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726139" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726139&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3. How do i enable it back ?&lt;BR /&gt;&lt;BR /&gt;# passwd &lt;USER_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/USER_NAME&gt;&lt;/USER_NAME&gt;</description>
      <pubDate>Thu, 09 Feb 2006 03:29:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727669#M254123</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T03:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727670#M254124</link>
      <description>Chapaya,&lt;BR /&gt;&lt;BR /&gt;Disable/Lock a user account&lt;BR /&gt;&lt;BR /&gt;# passwd -l loginid&lt;BR /&gt;&lt;BR /&gt;To unlock/enable a user's account that has become disabled&lt;BR /&gt;#modprpw -k loginid&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;&lt;BR /&gt;Ajit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Feb 2006 04:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727670#M254124</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2006-02-09T04:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727671#M254125</link>
      <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;My system is in trusted mode , is it make difference ?&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Thu, 09 Feb 2006 04:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727671#M254125</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2006-02-09T04:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727672#M254126</link>
      <description>Yes, &lt;BR /&gt;&lt;BR /&gt;In case of trusted mode, you can follow these steps, &lt;BR /&gt;&lt;BR /&gt;# /usr/lbin/modprpw -k uname&lt;BR /&gt;&lt;BR /&gt;For other queries, use this thread, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=955231" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=955231&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 09 Feb 2006 04:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727672#M254126</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T04:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727673#M254127</link>
      <description>Non-trusted mode:&lt;BR /&gt;&lt;BR /&gt;1) passwd -l &lt;USER&gt;&lt;BR /&gt;2) Login with that user from terminal or passwd -s &lt;USER&gt;&lt;BR /&gt;3) passwd -d &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;Trusted Mode:&lt;BR /&gt;&lt;BR /&gt;1) modprpw alock=YES &lt;USERID&gt;&lt;BR /&gt;2) getprpw -a &lt;USERID&gt;&lt;BR /&gt;3) modprpw -k &lt;USERID&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/USERID&gt;&lt;/USERID&gt;&lt;/USERID&gt;&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Thu, 09 Feb 2006 04:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727673#M254127</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-09T04:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727674#M254128</link>
      <description>Use the attached document for trusted systems.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 09 Feb 2006 05:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727674#M254128</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-09T05:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727675#M254129</link>
      <description>Use the attached document for trusted systems.&lt;BR /&gt;&lt;BR /&gt;Thanks to Bharat ;)&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 09 Feb 2006 05:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727675#M254129</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-09T05:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727676#M254130</link>
      <description>Thanks all !!&lt;BR /&gt;&lt;BR /&gt;Kasper ,&lt;BR /&gt;&lt;BR /&gt;how do i get lockout parameter from getprpw ??</description>
      <pubDate>Thu, 09 Feb 2006 05:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727676#M254130</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2006-02-09T05:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727677#M254131</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;man getprpw &lt;BR /&gt;&lt;BR /&gt;This one works with trusted systems. If your system is not trusted, it may not be useful for you.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 09 Feb 2006 05:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727677#M254131</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-09T05:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727678#M254132</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;# /usr/lbin/getprpw -lrm lockout username&lt;BR /&gt;&lt;BR /&gt;Take a look at # man getprpw.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;           lockout        returns the reason for a lockout in a "bit" valued&lt;BR /&gt;                          string, where 0 = condition not present, 1 is&lt;BR /&gt;                          present.  The position, left to right represents:&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;-Arun &lt;BR /&gt;&lt;BR /&gt;P.S Remember to assign points.</description>
      <pubDate>Thu, 09 Feb 2006 05:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727678#M254132</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T05:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727679#M254133</link>
      <description>How about the script below?&lt;BR /&gt;&lt;BR /&gt;echo "THE USERS BELOW LOCKED:\r"&lt;BR /&gt;for USER in $(listusers | awk '{print $1}'|egrep -v "sshd|smbnull|tools|tbase")&lt;BR /&gt;do&lt;BR /&gt;   lock_pos=$(/usr/lbin/getprpw -r -m lockout $USER)&lt;BR /&gt;   user_name=$(grep $USER /etc/passwd|awk -F: '{print $5}')&lt;BR /&gt;   if [ $lock_pos != "0000000" ]&lt;BR /&gt;   then&lt;BR /&gt;echo "$USER $user_name $lock_pos"&lt;BR /&gt;    fi&lt;BR /&gt;done &lt;BR /&gt;#end script&lt;BR /&gt;&lt;BR /&gt;#man getprpw&lt;BR /&gt;&lt;BR /&gt;           lockout        returns the reason for a lockout in a "bit" valued&lt;BR /&gt;                          string, where 0 = condition not present, 1 is&lt;BR /&gt;                          present.  The position, left to right represents:&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;Good Luck,</description>
      <pubDate>Thu, 09 Feb 2006 09:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727679#M254133</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-02-09T09:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: disable /enable users.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727680#M254134</link>
      <description>if you wish i can send you a script for to &lt;BR /&gt;"unlock" users who are locked!!!&lt;BR /&gt;:-))&lt;BR /&gt;Good Luck,</description>
      <pubDate>Thu, 09 Feb 2006 09:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-enable-users/m-p/3727680#M254134</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-02-09T09:59:09Z</dc:date>
    </item>
  </channel>
</rss>

