<?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: Adding users with trusted systems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173921#M748436</link>
    <description>/usr/lbin/modprpw -e user_login_name&lt;BR /&gt; &lt;BR /&gt;The man page is missing on 11.0 and earlier systems but it's there for 11.11 and later. Get a copy from docs.hp.com (and also get getprpw, lots of useful info)</description>
    <pubDate>Tue, 27 Jan 2004 10:10:53 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-01-27T10:10:53Z</dc:date>
    <item>
      <title>Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173905#M748420</link>
      <description>I've been adding user via sam for a while now but I'm trying to develop a script to make this task less time consuming.&lt;BR /&gt;&lt;BR /&gt;Does the useradd.sam command work correctly when used on a trusted system and is there anything that I need to know before going forward?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 26 Jan 2004 11:07:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173905#M748420</guid>
      <dc:creator>Travis Harp</dc:creator>
      <dc:date>2004-01-26T11:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173906#M748421</link>
      <description>useradd command works the same on btoh trusted/notrusted system.&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jan 2004 11:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173906#M748421</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2004-01-26T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173907#M748422</link>
      <description>/usr/sbin/useradd  command should workwell with your scripts.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Mon, 26 Jan 2004 11:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173907#M748422</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2004-01-26T11:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173908#M748423</link>
      <description>just tested and useradd works in trusted system.&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 26 Jan 2004 11:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173908#M748423</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-01-26T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173909#M748424</link>
      <description>Hi Travis,&lt;BR /&gt;&lt;BR /&gt;The main point you should know is that it's not supported to use the useradd.sam script.  It's only designed to be used internally by SAM and it's possible that it could get changed by a patch.&lt;BR /&gt;&lt;BR /&gt;Please also consider assigning points to those that have given their time to help you.  It's free, plus it helps others decide which answers have been useful.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Mon, 26 Jan 2004 11:54:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173909#M748424</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-01-26T11:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173910#M748425</link>
      <description>Hi Travis,&lt;BR /&gt;&lt;BR /&gt;As noted /usr/sbin/useradd (and /usr/sbin/groupadd as well) work the same in both envs.&lt;BR /&gt;Would be used as follows:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/useradd -u UID -g GID -d /home/username -m -s /usr/bin/ksh -c "Comments here - maybe full name" username&lt;BR /&gt;&lt;BR /&gt;The GID must exist or you'll have to create it fisrt - with groupadd if you wish.&lt;BR /&gt;The home dir can be wherever you normally put them &amp;amp; the -m states to make (create) the dir if it doesn't exist. We use the -c for full user name &amp;amp; affiliation (what group they're with or phone #, etc.). And of course you can give them whatever valid shell you wish or they want.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 26 Jan 2004 12:02:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173910#M748425</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-26T12:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173911#M748426</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Useradd is the command you should be using as pointed already.&lt;BR /&gt;&lt;BR /&gt;However, with useradd you will not be able to set the password. If you have an encrypted password for the user (you can generate the encrypted password using the 'makekey' command in /usr/lib) and add it using the command&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/usermod.sam -p abjHqL18xWq0A user&lt;BR /&gt;&lt;BR /&gt;Here abjHqL18xWq0A is the encrypted password.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 26 Jan 2004 12:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173911#M748426</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-26T12:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173912#M748427</link>
      <description>I hacked out a C program to handle setting the password with straight useradd.  It just did getpwent, etc.  Wasn't too bad once I thought it out.  Sorry, can't post the code.</description>
      <pubDate>Mon, 26 Jan 2004 15:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173912#M748427</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2004-01-26T15:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173913#M748428</link>
      <description>Attached is a really simple C program to generate an encrypted password. usermod.sam has not changed in several revs and still works to modify the password (whether Trusted or not) in both 11.0 and 11.11 (and 10.20 for that matter). So you can use the output of this program as the encrypted password to pass to usermod.sam&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jan 2004 15:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173913#M748428</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-26T15:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173914#M748429</link>
      <description>Ok I'm making some good progress here thanks to everyone's help but I'm having an issue getting the password set.&lt;BR /&gt;&lt;BR /&gt;I've been using makekey to get the encrypted password as suggested but when I use the usermod.sam -p &lt;ENCRYPTED password=""&gt; it doesn't seem to take.&lt;BR /&gt;&lt;BR /&gt;As a test I tried to su to one of these accounts and the password I just put in doesn't work, I've tried it unencrypted as well with no better results.&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong here?&lt;/ENCRYPTED&gt;</description>
      <pubDate>Mon, 26 Jan 2004 15:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173914#M748429</guid>
      <dc:creator>Travis Harp</dc:creator>
      <dc:date>2004-01-26T15:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173915#M748430</link>
      <description>useradd.sam is just some internal sam program that does the same job as useradd.&lt;BR /&gt;&lt;BR /&gt;use useradd, Bill Hassel's program and as they say in Siberia, "Your'e Done"&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 26 Jan 2004 15:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173915#M748430</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-26T15:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173916#M748431</link>
      <description>To clarify, the program I wrote actually set the password by (carefully!) modifying the passwd file once the account had been created.</description>
      <pubDate>Mon, 26 Jan 2004 15:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173916#M748431</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2004-01-26T15:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173917#M748432</link>
      <description>The password is now working, thanks everyone.&lt;BR /&gt;&lt;BR /&gt;One last thing remains, I would like to have these accounts created with an expired password so the user is forced to change the password on first log in.&lt;BR /&gt;&lt;BR /&gt;How would I go about that on the command line?</description>
      <pubDate>Mon, 26 Jan 2004 16:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173917#M748432</guid>
      <dc:creator>Travis Harp</dc:creator>
      <dc:date>2004-01-26T16:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173918#M748433</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You will need to pay attention to makekey while creating the encrypted password. makekey will accept exactly 10 chars with first 8 being the password. The last two chars are called salt and they can be arbitrary. For ex., to create the encrypted password for "test1234" I would use the following&lt;BR /&gt;&lt;BR /&gt;echo "test1234xy" |/usr/lib/makekey&lt;BR /&gt;&lt;BR /&gt;Here xy can be anything.&lt;BR /&gt;&lt;BR /&gt;Try it and it should work.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 26 Jan 2004 16:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173918#M748433</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-26T16:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173919#M748434</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;command line to force the user to change his/her password is 'passwd -f user'.&lt;BR /&gt;&lt;BR /&gt;Man 'passwd' for more information.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 26 Jan 2004 16:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173919#M748434</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-26T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173920#M748435</link>
      <description>I'm almost there but now I'm having a problem with the accounts saying that the password is expired and it's not allowing the user to set the password.&lt;BR /&gt;&lt;BR /&gt;Last   successful login for &lt;LOGIN&gt;: Mon Jan 26 15:31:39 CST6CDT 2004  &lt;BR /&gt;Last unsuccessful login for &lt;LOGIN&gt;: NEVER       &lt;BR /&gt;Your password has expired. &lt;BR /&gt;su: Password for &lt;LOGIN&gt; has expired. Choose new password and try again&lt;BR /&gt;su: Sorry&lt;BR /&gt;&lt;BR /&gt;It's acting like the password life time has expired.&lt;BR /&gt;&lt;BR /&gt;I can go into sam and reset the password age to zero and it works fine.&lt;BR /&gt;&lt;BR /&gt;Is there a command line way to set the password age to zero?&lt;/LOGIN&gt;&lt;/LOGIN&gt;&lt;/LOGIN&gt;</description>
      <pubDate>Tue, 27 Jan 2004 09:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173920#M748435</guid>
      <dc:creator>Travis Harp</dc:creator>
      <dc:date>2004-01-27T09:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173921#M748436</link>
      <description>/usr/lbin/modprpw -e user_login_name&lt;BR /&gt; &lt;BR /&gt;The man page is missing on 11.0 and earlier systems but it's there for 11.11 and later. Get a copy from docs.hp.com (and also get getprpw, lots of useful info)</description>
      <pubDate>Tue, 27 Jan 2004 10:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173921#M748436</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-27T10:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users with trusted systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173922#M748437</link>
      <description>Almost forgot: using su to login to an expired account will give you that exact behavior. You must login normally (ssh or telnet) to change the password.</description>
      <pubDate>Tue, 27 Jan 2004 10:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-with-trusted-systems/m-p/3173922#M748437</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-27T10:14:30Z</dc:date>
    </item>
  </channel>
</rss>

