<?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: passwd -l &amp;lt;username&amp;gt; command equivalent in 10.20 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963275#M814458</link>
    <description>Since I am not a big fan of SAM. I forgot to check the sam logs to see how it is being done there.&lt;BR /&gt;&lt;BR /&gt;Thanks for the &lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/usermod.sam -p "*" &lt;USERNAME&gt; &lt;BR /&gt;&lt;BR /&gt;command. it works like hot knife thru butter for me.&lt;/USERNAME&gt;</description>
    <pubDate>Wed, 30 Apr 2003 21:28:24 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2003-04-30T21:28:24Z</dc:date>
    <item>
      <title>passwd -l &lt;username&gt; command equivalent in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963271#M814454</link>
      <description>HP/UX 11.x has this nice feature of issuing the command 'passwd -l &lt;USERNAME&gt;' to disable username's account immediately from the command line.&lt;BR /&gt;&lt;BR /&gt;Unfortunately passwd command in 10.20 lacks this -l option. I am sure, if not the same, something in the lines of disabling an account can be done by using passwd and pwage commands on 10.20 but for the life of me, I could not figure out an easy way. Is there a cookie cutter recipe to do this somewhere in a script form or sequence of commands ?&lt;BR /&gt;&lt;BR /&gt;All help is greatly appreciated&lt;/USERNAME&gt;</description>
      <pubDate>Wed, 30 Apr 2003 20:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963271#M814454</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2003-04-30T20:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: passwd -l &lt;username&gt; command equivalent in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963272#M814455</link>
      <description>Mel,&lt;BR /&gt;I don't think 10.20 has such option. You can alwasy type * or something in his password fild in passwd file. &lt;BR /&gt;Or &lt;BR /&gt;change shell to /bin/false &lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Wed, 30 Apr 2003 21:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963272#M814455</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2003-04-30T21:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: passwd -l &lt;username&gt; command equivalent in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963273#M814456</link>
      <description>The sam log produces a this string when deactiviting a user.&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/usermod.sam -p "*" username&lt;BR /&gt;&lt;BR /&gt;But the problem is there is no -p option for usermod.sam program ... What this did was to place a '*' in the encryption field. You can edit the /etc/passwd file directly and do this anyway. Use 'vipw' program.</description>
      <pubDate>Wed, 30 Apr 2003 21:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963273#M814456</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-30T21:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: passwd -l &lt;username&gt; command equivalent in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963274#M814457</link>
      <description>Probably:&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/usermod.sam -p "*" &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;...which adds '*' into the passwd arguement.&lt;BR /&gt;&lt;BR /&gt;No man pages on usermod.sam commands since it controls trusted system accounts.&lt;BR /&gt;&lt;BR /&gt;'vipw' and manually edit and save /etc/passwd.  Again, add in '*' into the password parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&amp;amp;con=/hpux/onlinedocs/B9106-90008/00/04/452-con.html&amp;amp;toc=/hpux/onlinedocs/B9106-90008/00/04/452-toc.html&amp;amp;searchterms=vipw&amp;amp;queryid=20030430-160822" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&amp;amp;con=/hpux/onlinedocs/B9106-90008/00/04/452-con.html&amp;amp;toc=/hpux/onlinedocs/B9106-90008/00/04/452-toc.html&amp;amp;searchterms=vipw&amp;amp;queryid=20030430-160822&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;usermod -e account and -f will test for inactivity (* -f *) or 'expire' on date (* -e *).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&amp;amp;con=/hpux/onlinedocs/B9106-90008/00/04/424-con.html&amp;amp;toc=/hpux/onlinedocs/B9106-90008/00/04/424-toc.html&amp;amp;searchterms=userdel%7cusermod&amp;amp;queryid=20030430-160405" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&amp;amp;con=/hpux/onlinedocs/B9106-90008/00/04/424-con.html&amp;amp;toc=/hpux/onlinedocs/B9106-90008/00/04/424-toc.html&amp;amp;searchterms=userdel%7cusermod&amp;amp;queryid=20030430-160405&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;userdel if not used with the -r option will only remove the account from /etc/passwd but not the user's directory.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&amp;amp;con=/hpux/onlinedocs/B9106-90008/00/04/423-con.html&amp;amp;toc=/hpux/onlinedocs/B9106-90008/00/04/423-toc.html&amp;amp;searchterms=userdel%7cusermod&amp;amp;queryid=20030430-160405" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&amp;amp;con=/hpux/onlinedocs/B9106-90008/00/04/423-con.html&amp;amp;toc=/hpux/onlinedocs/B9106-90008/00/04/423-toc.html&amp;amp;searchterms=userdel%7cusermod&amp;amp;queryid=20030430-160405&lt;/A&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Wed, 30 Apr 2003 21:10:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963274#M814457</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-30T21:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: passwd -l &lt;username&gt; command equivalent in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963275#M814458</link>
      <description>Since I am not a big fan of SAM. I forgot to check the sam logs to see how it is being done there.&lt;BR /&gt;&lt;BR /&gt;Thanks for the &lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/usermod.sam -p "*" &lt;USERNAME&gt; &lt;BR /&gt;&lt;BR /&gt;command. it works like hot knife thru butter for me.&lt;/USERNAME&gt;</description>
      <pubDate>Wed, 30 Apr 2003 21:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-l-lt-username-gt-command-equivalent-in-10-20/m-p/2963275#M814458</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2003-04-30T21:28:24Z</dc:date>
    </item>
  </channel>
</rss>

