<?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 a new user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784494#M78077</link>
    <description>If you are just interested to know the "command syntax" used by sam for adding a user ? &lt;BR /&gt;&lt;BR /&gt;Add one dummy user using sam the way you want it and check the samlog for actual command executed by SAM</description>
    <pubDate>Tue, 13 Aug 2002 01:57:53 GMT</pubDate>
    <dc:creator>Q4you</dc:creator>
    <dc:date>2002-08-13T01:57:53Z</dc:date>
    <item>
      <title>Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784488#M78071</link>
      <description>I am using sam for creating a new user.  What is equivalent command in commandline option.&lt;BR /&gt;&lt;BR /&gt;If i edit /etc/passwd file and add user, is that sufficient to add a new user.  If yes how do the system knows the new user is created. (I haven't edited the /etc/shadow file)&lt;BR /&gt;&lt;BR /&gt;Is their any command that converts the /etc/passwd info  /etc/shadow file</description>
      <pubDate>Mon, 12 Aug 2002 19:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784488#M78071</guid>
      <dc:creator>P.V.Ramesh</dc:creator>
      <dc:date>2002-08-12T19:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784489#M78072</link>
      <description>editing the /etc/passwd will most likely leave some loose ends - not a good idea.&lt;BR /&gt;&lt;BR /&gt;You can fill in your values in this:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/useradd ???u uid ???g gid ???d dir ???s /usr/bin/ksh ???f 45 ???c ???comment??? ???m login&lt;BR /&gt;&lt;BR /&gt;The shell should be one listed in /etc/shells.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 12 Aug 2002 19:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784489#M78072</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2002-08-12T19:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784490#M78073</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;To add new users via commandline, use the 'useradd' command.  Good documentation for this can be found in the 11i man pages for 'useradd(1M)'.&lt;BR /&gt;&lt;BR /&gt;You will need to convert to a trusted system to enable the shadow feature.  This is easily done via SAM.&lt;BR /&gt;&lt;BR /&gt;For more information, see the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" manual for more information:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Aug 2002 19:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784490#M78073</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-12T19:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784491#M78074</link>
      <description>Hi TOM &lt;BR /&gt;&lt;BR /&gt;I am using HP-UX 11..00.  It doent have the /etc/shells file.&lt;BR /&gt;&lt;BR /&gt;Hi James&lt;BR /&gt;&lt;BR /&gt;I haven't received answer for my last question.i.e is their any command which converts /etc/passwd info  to  /etc/shadow</description>
      <pubDate>Mon, 12 Aug 2002 19:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784491#M78074</guid>
      <dc:creator>P.V.Ramesh</dc:creator>
      <dc:date>2002-08-12T19:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784492#M78075</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;I avoided the mention of 'tsconvert' and pointed you to SAM for the reasons discussed in this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xeb33eea29889d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xeb33eea29889d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Aug 2002 19:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784492#M78075</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-12T19:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784493#M78076</link>
      <description>Use SAM. It is quicker and it won't leave any loose ends. You can also use SAM to make your system a trusted system (i.e. use shadow password files).&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Mon, 12 Aug 2002 19:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784493#M78076</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-08-12T19:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784494#M78077</link>
      <description>If you are just interested to know the "command syntax" used by sam for adding a user ? &lt;BR /&gt;&lt;BR /&gt;Add one dummy user using sam the way you want it and check the samlog for actual command executed by SAM</description>
      <pubDate>Tue, 13 Aug 2002 01:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784494#M78077</guid>
      <dc:creator>Q4you</dc:creator>
      <dc:date>2002-08-13T01:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784495#M78078</link>
      <description>Overall, here are the basics:&lt;BR /&gt;&lt;BR /&gt;1. create a passwd entry&lt;BR /&gt;2. create a home directory&lt;BR /&gt;3. modify group file to suit&lt;BR /&gt;&lt;BR /&gt;And, possibly:&lt;BR /&gt;&lt;BR /&gt;4. create a mail file&lt;BR /&gt;5. modify aliases file to suit&lt;BR /&gt;6. modify mail userdb to suit&lt;BR /&gt;&lt;BR /&gt;Sam is probably the best way to accomplish most of it.  Sam will even run a locally written script for you before and/or after creating the user, for local stuff like setting up email, vacation lists, that sort of thing. I have a script that sets up our email client for the user, for example.&lt;BR /&gt;&lt;BR /&gt;But manually at a minimum:&lt;BR /&gt;&lt;BR /&gt;1. vi /etc/passwd (caution on re-using user id's, etc)&lt;BR /&gt;2. copy /etc/skel to /home/&lt;USER&gt; and verify permissions&lt;BR /&gt;3. create a /var/mail/&lt;USER&gt; if needed&lt;BR /&gt;4. vi /etc/group&lt;BR /&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Wed, 14 Aug 2002 10:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-new-user/m-p/2784495#M78078</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2002-08-14T10:50:21Z</dc:date>
    </item>
  </channel>
</rss>

