<?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: useradd problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403276#M351902</link>
    <description>I wonder, that there is no -g for user group and -d for user home directory although you have -m which requires to create a home directory.</description>
    <pubDate>Fri, 17 Apr 2009 17:43:41 GMT</pubDate>
    <dc:creator>Tingli</dc:creator>
    <dc:date>2009-04-17T17:43:41Z</dc:date>
    <item>
      <title>useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403274#M351900</link>
      <description>hi guys i am trying to add a user by using:&lt;BR /&gt;useradd –u uid –m –c usercomment -s /usr/bin/sh    username &lt;BR /&gt;&lt;BR /&gt;it takes the argument but when i su to the user or try looking for it in the /etc/passwd file its not there.....&lt;BR /&gt;what do u guys think&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Apr 2009 16:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403274#M351900</guid>
      <dc:creator>khilari</dc:creator>
      <dc:date>2009-04-17T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403275#M351901</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I assume that you are root.  This works:&lt;BR /&gt;&lt;BR /&gt;# useradd -u 9999 -m -c "New User"  -s /usr/bin/sh someuser&lt;BR /&gt;&lt;BR /&gt;If you echo the return value ($?) this should help discover the problem.  The retrun codes are documented in the manpages for 'useradd'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Apr 2009 16:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403275#M351901</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-04-17T16:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403276#M351902</link>
      <description>I wonder, that there is no -g for user group and -d for user home directory although you have -m which requires to create a home directory.</description>
      <pubDate>Fri, 17 Apr 2009 17:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403276#M351902</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-04-17T17:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403277#M351903</link>
      <description>Do this and see if you have NIS configured&lt;BR /&gt;&lt;BR /&gt;#ypwhich&lt;BR /&gt;&lt;BR /&gt;Are you working as root on the machine ?&lt;BR /&gt;&lt;BR /&gt;-uvk</description>
      <pubDate>Fri, 17 Apr 2009 17:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403277#M351903</guid>
      <dc:creator>UVK</dc:creator>
      <dc:date>2009-04-17T17:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403278#M351904</link>
      <description>when i do a echo $? i get 126 but when i use the same command on other server i get a 0 when i do echo $? i am using &lt;BR /&gt;useradd -u 5199 -m -d /home/sm29 -c "sam matt" -s /usr/bin/ksh sm29&lt;BR /&gt;&lt;BR /&gt;what do u guys think,, how should this be erectified</description>
      <pubDate>Fri, 17 Apr 2009 18:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403278#M351904</guid>
      <dc:creator>khilari</dc:creator>
      <dc:date>2009-04-17T18:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403279#M351905</link>
      <description>What is running on it, nis or ldap?</description>
      <pubDate>Fri, 17 Apr 2009 19:04:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403279#M351905</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-04-17T19:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403280#M351906</link>
      <description>Hi Khilari,&lt;BR /&gt;&lt;BR /&gt;You can check below link &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90692/useradd.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90692/useradd.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4607/ch04s02.html" target="_blank"&gt;http://docs.hp.com/en/5992-4607/ch04s02.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds//&lt;BR /&gt;Taifur&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Apr 2009 03:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403280#M351906</guid>
      <dc:creator>Taifur</dc:creator>
      <dc:date>2009-04-18T03:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: useradd problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403281#M351907</link>
      <description>&lt;!--!*#--&gt;Try to login with that user. If it works though you don't have any related line in /etc/passwd then you must be using LDAP or NIS for authentication. What is the output of:&lt;BR /&gt;&lt;BR /&gt;# grep ^passwd /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;if there is an entry like 'nis', you can retrieve the passwd line for that user like this:&lt;BR /&gt;&lt;BR /&gt;# ypcat passwd | grep user&lt;BR /&gt;&lt;BR /&gt;Anyway, I suggest to use the pwget command to retrieve the pw-line for a specific user, it queries the local passwd, the NIS database and also LDAP:&lt;BR /&gt;&lt;BR /&gt;# pwget -n username&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Apr 2009 12:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-problem/m-p/4403281#M351907</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-04-18T12:18:35Z</dc:date>
    </item>
  </channel>
</rss>

