<?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: Using useradd.sam in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-useradd-sam/m-p/2540847#M26601</link>
    <description>If use usermod.sam -w "encryptedpasswd" it will put that in to the tcb/files/[a-z]/usename database entry. We used to use modprpw -w but they changed the behaviour in 11.x</description>
    <pubDate>Sat, 16 Jun 2001 16:13:52 GMT</pubDate>
    <dc:creator>Alan D Johnson</dc:creator>
    <dc:date>2001-06-16T16:13:52Z</dc:date>
    <item>
      <title>Using useradd.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-useradd-sam/m-p/2540845#M26599</link>
      <description>I've found /usr/sam/lbin/useradd.sam and was hoping that perhaps it could provide a bit more functionality to the usual /usr/sbin/useradd, in that useradd.sam has a -p &lt;PASSWORD&gt; argument. &lt;BR /&gt;&lt;BR /&gt;This would enable me to set initial passwords for specific accounts (useful when the account is being used by say, operators, and I don't want to provide a "set password at first login" option, 'cos the new password invariably doesn't get passed to all the shifts.)&lt;BR /&gt;&lt;BR /&gt;Unfortunately, setting a users password with this flag renders the password unhashed in /etc/passwd and it is placed in the 2nd field as a literal string;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;./useradd.sam -p password -u 801 -g 20 -d /home/test -s /usr/bin/ksh test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;test:password:801:20::/home/test:/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;Anyone know any workarounds for being able to use the -p option in real life? For standard fixed accounts where a password is already in use on other machines, I can use the hashed password, but at the moment this -p implementation is a bit of a showstopper&lt;BR /&gt;&lt;/PASSWORD&gt;</description>
      <pubDate>Fri, 15 Jun 2001 06:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-useradd-sam/m-p/2540845#M26599</guid>
      <dc:creator>Brendan Newport</dc:creator>
      <dc:date>2001-06-15T06:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using useradd.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-useradd-sam/m-p/2540846#M26600</link>
      <description>Hi,&lt;BR /&gt;you can use  useradd.sam -p ",.."   ...&lt;BR /&gt;the new user than doesn?t have a Password but is forced by the next Login to change the password&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jun 2001 07:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-useradd-sam/m-p/2540846#M26600</guid>
      <dc:creator>justahuman</dc:creator>
      <dc:date>2001-06-15T07:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using useradd.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-useradd-sam/m-p/2540847#M26601</link>
      <description>If use usermod.sam -w "encryptedpasswd" it will put that in to the tcb/files/[a-z]/usename database entry. We used to use modprpw -w but they changed the behaviour in 11.x</description>
      <pubDate>Sat, 16 Jun 2001 16:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-useradd-sam/m-p/2540847#M26601</guid>
      <dc:creator>Alan D Johnson</dc:creator>
      <dc:date>2001-06-16T16:13:52Z</dc:date>
    </item>
  </channel>
</rss>

