<?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: can not create user HOMEDIR in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020328#M428352</link>
    <description>The useradd command is behaving as it should, since the "-m" option does not take an argument but the "-d" option does, and is the dir you specify on the command line.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;useradd -m testuser&lt;BR /&gt;&lt;BR /&gt;the command above will create dir /testuser since the default for the "-d" option is base_dir/login. See the man page for useradd(1M) for details and read the text for the "-d" option.&lt;BR /&gt;&lt;BR /&gt;~cheers</description>
    <pubDate>Tue, 26 Dec 2006 16:55:59 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2006-12-26T16:55:59Z</dc:date>
    <item>
      <title>can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020324#M428348</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;i have some wear problem and need your help.&lt;BR /&gt;when i create new user, it always create user in root DIR, even in &lt;BR /&gt;/etc/default/useradd, i have a HOMEDIR&lt;BR /&gt;#default useradd options&lt;BR /&gt;HOMEDIR /home&lt;BR /&gt;#HOMEDIR /SUNHOME&lt;BR /&gt;GROUPID 20&lt;BR /&gt;INACT -1&lt;BR /&gt;EXPIRE&lt;BR /&gt;CHOWN_HOMEDIR no&lt;BR /&gt;&lt;BR /&gt;and permision of /home is 777&lt;BR /&gt;as root i can cd to /home and mkdir with out a problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the server has been in service 3 yrs and never has problem like this before.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2006 16:26:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020324#M428348</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-26T16:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020325#M428349</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;What happens if you try to provide the home directory from command prompt ,&lt;BR /&gt;&lt;BR /&gt;Ex: # useradd -U&lt;UID&gt; -d/home/user1 -s/usr/bin/sh -g&lt;GROUP&gt; -m user1&lt;BR /&gt;&lt;BR /&gt;Btw, what is version of the OS.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;/GROUP&gt;&lt;/UID&gt;</description>
      <pubDate>Tue, 26 Dec 2006 16:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020325#M428349</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-12-26T16:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020326#M428350</link>
      <description>Could you post the command you use for adding users on your system.</description>
      <pubDate>Tue, 26 Dec 2006 16:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020326#M428350</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-26T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020327#M428351</link>
      <description>Thanks Raj&lt;BR /&gt;&lt;BR /&gt;The os=HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;if I use command line like this,&lt;BR /&gt;then user was created successful.&lt;BR /&gt;useradd -m -d /home/testuser testuser&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if I use command like this&lt;BR /&gt;useradd -m  testuser&lt;BR /&gt;&lt;BR /&gt;it would create user in root as /testuser&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2006 16:50:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020327#M428351</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-26T16:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020328#M428352</link>
      <description>The useradd command is behaving as it should, since the "-m" option does not take an argument but the "-d" option does, and is the dir you specify on the command line.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;useradd -m testuser&lt;BR /&gt;&lt;BR /&gt;the command above will create dir /testuser since the default for the "-d" option is base_dir/login. See the man page for useradd(1M) for details and read the text for the "-d" option.&lt;BR /&gt;&lt;BR /&gt;~cheers</description>
      <pubDate>Tue, 26 Dec 2006 16:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020328#M428352</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-26T16:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020329#M428353</link>
      <description>That means it is not picking up the default configurations from the /etc/default/useradd file. And looks like a weired bug on hpux 11.00 and 11.11, Btw, did you checked with the option -D .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Though not have much idea at this point of time, &lt;BR /&gt;&lt;BR /&gt;But you can check this thread as well:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1012891&amp;amp;admit=-682735245+1167170130569+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1012891&amp;amp;admit=-682735245+1167170130569+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2006 17:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020329#M428353</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-12-26T17:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020330#M428354</link>
      <description>&lt;BR /&gt;useradd -m option will create the directory automatically , as per the username specified. ( As mentioned above by Sandman!. ) &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 26 Dec 2006 17:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020330#M428354</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-12-26T17:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020331#M428355</link>
      <description>thank you Raj and sandman,&lt;BR /&gt;&lt;BR /&gt;this box has been working for the last 3 years and this just happens last few weeks.&lt;BR /&gt;&lt;BR /&gt;the command &lt;BR /&gt;#useradd -m testuser will create user in default home DIR " /home"&lt;BR /&gt;somehow it did not pickup the default in this file.&lt;BR /&gt;/etc/default/useradd&lt;BR /&gt;for now, i just add -d in the script. but if someone has any idea &lt;BR /&gt;please let me now,&lt;BR /&gt;Thank you,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2006 17:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020331#M428355</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-26T17:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020332#M428356</link>
      <description>could uou post the output of the command below:&lt;BR /&gt;&lt;BR /&gt;# useradd -D&lt;BR /&gt;&lt;BR /&gt;thanks!</description>
      <pubDate>Tue, 26 Dec 2006 17:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020332#M428356</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-26T17:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020333#M428357</link>
      <description>Hi Tom:&lt;BR /&gt;&lt;BR /&gt;Try removing the commented line ("#HOMEDIR /SUNHOME") from the defaults file and reissue the 'useradd' command the way you have been using it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 26 Dec 2006 18:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020333#M428357</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-26T18:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020334#M428358</link>
      <description>Remove the #HOMEDIR /SUNHOME line in your useradd file and run the "useradd -D" command before and after deleting the offending line and you'll see why that's the case.&lt;BR /&gt;&lt;BR /&gt;~hope it helps</description>
      <pubDate>Tue, 26 Dec 2006 18:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020334#M428358</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-26T18:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020335#M428359</link>
      <description>Thank you very much,&lt;BR /&gt;it works well after removed the line.&lt;BR /&gt;&lt;BR /&gt;Would someone please explain as why that comment line would cause the problem?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2006 20:28:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020335#M428359</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-26T20:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020336#M428360</link>
      <description>Hi (again) Tom:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Would someone please explain as why that comment line would cause the problem?&lt;BR /&gt;&lt;BR /&gt;Certainly.  Clearly, the presence of the pound sign character is not interpreted as indicative of a comment line that should be skipped.  Hence, the last declaration for the keyword HOMEDIR was processed and since '/SUNHOME' doesn't exist, the variable's value became a default of root's home directory.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 26 Dec 2006 20:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020336#M428360</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-26T20:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: can not create user HOMEDIR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020337#M428361</link>
      <description>Thank-you James for you explanation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 26 Dec 2006 21:08:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-create-user-homedir/m-p/5020337#M428361</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-26T21:08:29Z</dc:date>
    </item>
  </channel>
</rss>

