<?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 returns not a valid directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937524#M411145</link>
    <description>Thanks for the quick ideas but I was able to resolve the problem myself.  Please see my comments above for the solution.</description>
    <pubDate>Mon, 31 Oct 2005 14:18:48 GMT</pubDate>
    <dc:creator>Nate Arnold</dc:creator>
    <dc:date>2005-10-31T14:18:48Z</dc:date>
    <item>
      <title>useradd returns not a valid directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937519#M411140</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;I am trying to add number of users to a few of my servers via a script.  This script has worked in the past with other home directories but I get the following error when I run the attached command: "'/home/app/' is not a valid directory"&lt;BR /&gt;&lt;BR /&gt;useradd -d /home/app/ -u 511 -c Amy_Whipple -s /usr/bin/ksh -g epic -G epicgrp ahiwpple&lt;BR /&gt;&lt;BR /&gt;This directory has been in production use for 4 years and current users have no problem using it today.&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 31 Oct 2005 11:57:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937519#M411140</guid>
      <dc:creator>Nate Arnold</dc:creator>
      <dc:date>2005-10-31T11:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: useradd returns not a valid directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937520#M411141</link>
      <description>In your command I don't see the -m switch to create the directory. I also am not sure about the -d selection you have. I thought you had to actually give the full path to the home directory:&lt;BR /&gt;&lt;BR /&gt;useradd -d /home/app/ahiwpple -u 511 -c etc. etc.&lt;BR /&gt; I would type the command like this:&lt;BR /&gt;&lt;BR /&gt;useradd -g epic -d /home/app/ahiwpple -m -s /usr/bin/ksh -G epicgrp -c "Amy Whipple" ahiwpple&lt;BR /&gt;&lt;BR /&gt;I am assumeing that the ahipple is a typo and it should actuall be ahwipple.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Oct 2005 12:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937520#M411141</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2005-10-31T12:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: useradd returns not a valid directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937521#M411142</link>
      <description>One thing that comes to mind is if the /home/app an NFS mount point ? If so, are you able to create files on this directory even as root ? When it comes to NFS, you are at the mercy of exported rights on that servers even if you are root on the client side.&lt;BR /&gt;&lt;BR /&gt;If worse comes to worst, can you create a user with the default homedir, i.e., /home/awhipple and edit the passwd file with 'vipw' command and replace the value of homedir and user can still work ?</description>
      <pubDate>Mon, 31 Oct 2005 12:37:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937521#M411142</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-10-31T12:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: useradd returns not a valid directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937522#M411143</link>
      <description>I found the problem.  Apparently when you use the the -d argument to specify a home directory .  The group ID of the directory must be the primary group ID of the user.</description>
      <pubDate>Mon, 31 Oct 2005 12:59:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937522#M411143</guid>
      <dc:creator>Nate Arnold</dc:creator>
      <dc:date>2005-10-31T12:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: useradd returns not a valid directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937523#M411144</link>
      <description>See if permissions have gotten messed up on the directory in question.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 31 Oct 2005 13:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937523#M411144</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-10-31T13:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: useradd returns not a valid directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937524#M411145</link>
      <description>Thanks for the quick ideas but I was able to resolve the problem myself.  Please see my comments above for the solution.</description>
      <pubDate>Mon, 31 Oct 2005 14:18:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-returns-not-a-valid-directory/m-p/4937524#M411145</guid>
      <dc:creator>Nate Arnold</dc:creator>
      <dc:date>2005-10-31T14:18:48Z</dc:date>
    </item>
  </channel>
</rss>

