<?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 non-interactively? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723165#M253249</link>
    <description>I don't know why I said "passwd", I meant useradd of course. In the past I have scripted this with Expect/TCL but it was a long script to handle all the possibilities. And I *did* read the manpages on useradd, there is nothing in there which indicates this can be done easily, such as the password string passwd on the command line, as insecure as it is.</description>
    <pubDate>Thu, 02 Feb 2006 11:17:42 GMT</pubDate>
    <dc:creator>dictum9</dc:creator>
    <dc:date>2006-02-02T11:17:42Z</dc:date>
    <item>
      <title>Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723162#M253246</link>
      <description>&lt;BR /&gt;How do I add users non-interactively? &lt;BR /&gt;&lt;BR /&gt;The password command doesn't seem to give that option?</description>
      <pubDate>Thu, 02 Feb 2006 10:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723162#M253246</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-02-02T10:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723163#M253247</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;See the man pages for 'useradd':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60127/useradd.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60127/useradd.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Feb 2006 10:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723163#M253247</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-02T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723164#M253248</link>
      <description>I would suggest a useradd script:&lt;BR /&gt;&lt;BR /&gt;Snip&lt;BR /&gt;----&lt;BR /&gt;useradd(1M)                                                     useradd(1M)&lt;BR /&gt;&lt;BR /&gt; NAME&lt;BR /&gt;      useradd - add a new user login to the system&lt;BR /&gt;&lt;BR /&gt; SYNOPSIS&lt;BR /&gt;      useradd [-u uid [-o] ] [-g group] [-G group [, group...]] [-d dir]&lt;BR /&gt;           [-s shell] [-c comment] [-m [-k skel_dir]] [-f inactive]&lt;BR /&gt;           [-e expire] [-r update_homedir_ownership]  login&lt;BR /&gt;&lt;BR /&gt;      useradd -D [-g group] [-b base_dir] [-f inactive] [-e expire]&lt;BR /&gt;           [-r update_homedir_ownership]&lt;BR /&gt;&lt;BR /&gt; DESCRIPTION&lt;BR /&gt;      The useradd command creates a user login on the system by adding the&lt;BR /&gt;      appropriate entry to the /etc/passwd file and any security files,&lt;BR /&gt;      modifying the /etc/group file as necessary, creating a home directory,&lt;BR /&gt;      and copying the appropriate default files into the home directory&lt;BR /&gt;      depending on the command line options.  The new login remains locked&lt;BR /&gt;      until the passwd (see passwd(1)) command is invoked.&lt;BR /&gt;&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;Example&lt;BR /&gt;&lt;BR /&gt;useradd schmo -G bagel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can create a user template in /etc/skel that would be able to handle all customizations that your users require.&lt;BR /&gt;&lt;BR /&gt;The passwd command is for password changes, and reports on user password status (passwd -sa)&lt;BR /&gt;&lt;BR /&gt;A releated and possibly useful thread.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=478688" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=478688&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 02 Feb 2006 10:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723164#M253248</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-02T10:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723165#M253249</link>
      <description>I don't know why I said "passwd", I meant useradd of course. In the past I have scripted this with Expect/TCL but it was a long script to handle all the possibilities. And I *did* read the manpages on useradd, there is nothing in there which indicates this can be done easily, such as the password string passwd on the command line, as insecure as it is.</description>
      <pubDate>Thu, 02 Feb 2006 11:17:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723165#M253249</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-02-02T11:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723166#M253250</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't know exactly what your asking.&lt;BR /&gt;First you asked how to add users to a system without using sam i gues. But the question is to give a password directly with useradd.&lt;BR /&gt;This is not possible you need to give to commands for this. 1 useradd, second passwd.&lt;BR /&gt;You can change some security settings with /usr/lbin/modprpw but that is not one of them.&lt;BR /&gt;&lt;BR /&gt;p.s try to do something about your poor score.&lt;BR /&gt;&lt;BR /&gt;I have assigned points to   20  of   135  responses to  my questions.&lt;BR /&gt;&lt;BR /&gt;it's nice to give some reward to the people who are helping you.&lt;BR /&gt;&lt;BR /&gt;grtz. Mark</description>
      <pubDate>Thu, 02 Feb 2006 18:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723166#M253250</guid>
      <dc:creator>Mark Nieuwboer</dc:creator>
      <dc:date>2006-02-02T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723167#M253251</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You can create the user non interactively using #useradd command,&lt;BR /&gt;&lt;BR /&gt;bt after this you have to use #passwd &lt;USER&gt; to assign a password and activate the account.&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;/USER&gt;</description>
      <pubDate>Thu, 02 Feb 2006 22:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723167#M253251</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-02-02T22:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723168#M253252</link>
      <description>HP-Ux is not support an option to give string with passwd command as like linux. For automating user creation you have to use expert scripting.&lt;BR /&gt;&lt;BR /&gt;You can create users and force the user to set password during first login with passwd utility but not assigning passwd with command itself.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Fri, 03 Feb 2006 01:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723168#M253252</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-03T01:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding users non-interactively?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723169#M253253</link>
      <description>Without expect script, there is a possibility to achive with telnet + piping as said in,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=981127" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=981127&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Fri, 03 Feb 2006 03:13:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-users-non-interactively/m-p/3723169#M253253</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-03T03:13:14Z</dc:date>
    </item>
  </channel>
</rss>

