<?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 fails in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272583#M178922</link>
    <description>It seems that the group ownership of /home/users needs to be 'users'.&lt;BR /&gt;This fixed it.&lt;BR /&gt;&lt;BR /&gt;Thanks to all!&lt;BR /&gt;Brad</description>
    <pubDate>Mon, 10 May 2004 18:36:03 GMT</pubDate>
    <dc:creator>Brad Marks</dc:creator>
    <dc:date>2004-05-10T18:36:03Z</dc:date>
    <item>
      <title>useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272575#M178914</link>
      <description>When I execute this command:&lt;BR /&gt;useradd -g users -d /home/users -s /bin/sh -c test x.xxx&lt;BR /&gt;I get this error:&lt;BR /&gt;'/home/users' is not a valid directory&lt;BR /&gt;&lt;BR /&gt;What could be invalid about /home/users?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Brad</description>
      <pubDate>Mon, 10 May 2004 18:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272575#M178914</guid>
      <dc:creator>Brad Marks</dc:creator>
      <dc:date>2004-05-10T18:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272576#M178915</link>
      <description>Hi Brad,&lt;BR /&gt;&lt;BR /&gt;Does it exist prior to the command?&lt;BR /&gt;If not then you need a -m to "make" it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 10 May 2004 18:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272576#M178915</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-05-10T18:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272577#M178916</link>
      <description>Jeff,&lt;BR /&gt;Yes it does.&lt;BR /&gt;Further, I found that if i add a trailing "/"; making it "-d /home/users/" it works, except the ownership of /home/users changes from root:sys to the user being added (in this case x.xxx:users)!?</description>
      <pubDate>Mon, 10 May 2004 18:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272577#M178916</guid>
      <dc:creator>Brad Marks</dc:creator>
      <dc:date>2004-05-10T18:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272578#M178917</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I just tried that on a test server and it works perfectly fine. I had to later create the directory. Please advice if the directory is already there and also if you are doing it with sufficient priveleges.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2004 18:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272578#M178917</guid>
      <dc:creator>hari jayaram_1</dc:creator>
      <dc:date>2004-05-10T18:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272579#M178918</link>
      <description>I dont believe you will get an invalid directory message even if the directory exists already.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2004 18:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272579#M178918</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-05-10T18:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272580#M178919</link>
      <description>OK - what is the ownership &amp;amp; perms of /home?&lt;BR /&gt;A clueless admin doing chown username:groupname .* inside a user's home dir can change the ownership of /home&amp;amp; that can result in these symptoms.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 10 May 2004 18:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272580#M178919</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-05-10T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272581#M178920</link>
      <description>The /home/users directory already exists:&lt;BR /&gt;drwxrwxrwx   2 root       users           96 May 10 16:07 .&lt;BR /&gt;drwxrwxrwx  32 root       root          1024 May  4 11:18 ..&lt;BR /&gt;-rw-r--r--   1 root       users          893 May 10 13:42 .profile</description>
      <pubDate>Mon, 10 May 2004 18:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272581#M178920</guid>
      <dc:creator>Brad Marks</dc:creator>
      <dc:date>2004-05-10T18:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272582#M178921</link>
      <description>useradd -g users -d /home/users -s /bin/sh -c test x.xxx&lt;BR /&gt;&lt;BR /&gt;error '/home/users' is not a valid directory&lt;BR /&gt;the comamd some times the directory does not create&lt;BR /&gt;&lt;BR /&gt;in my case&lt;BR /&gt;&lt;BR /&gt;made mkdiir /home/users or option:&lt;BR /&gt;&lt;BR /&gt;-m             Creates the home directory for the new login if it&lt;BR /&gt;                          does not exist.  If the home directory exists, the&lt;BR /&gt;                          directory must have read and execute permission by&lt;BR /&gt;                          group, where group is the primary group of the new&lt;BR /&gt;                          login.</description>
      <pubDate>Mon, 10 May 2004 18:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272582#M178921</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2004-05-10T18:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272583#M178922</link>
      <description>It seems that the group ownership of /home/users needs to be 'users'.&lt;BR /&gt;This fixed it.&lt;BR /&gt;&lt;BR /&gt;Thanks to all!&lt;BR /&gt;Brad</description>
      <pubDate>Mon, 10 May 2004 18:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272583#M178922</guid>
      <dc:creator>Brad Marks</dc:creator>
      <dc:date>2004-05-10T18:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: useradd fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272584#M178923</link>
      <description>The permissions on /home and /home/users are very wrong. They should be 755 (drwxr-xr-x). Do you have umask set? If not, you will have to fix all the directories and files created since the original installation. umask is critical for the root user and should be 022 or even 077.</description>
      <pubDate>Mon, 10 May 2004 21:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-fails/m-p/3272584#M178923</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-05-10T21:19:14Z</dc:date>
    </item>
  </channel>
</rss>

