<?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: user create issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809589#M508461</link>
    <description>Thanks all of your help.&lt;BR /&gt;&lt;BR /&gt;  I understand the issue of creating the user by command is that I didn't create the passwd after that. &lt;BR /&gt;&lt;BR /&gt;  But when I use sam last time, I did select the make home directory /home/user1. and after created I checked that the /etc/passwd also have /home/user1 for this user, but actually this directory is not created and after I login by using this user1, it go to / dirctory.</description>
    <pubDate>Wed, 21 Jun 2006 22:38:52 GMT</pubDate>
    <dc:creator>emily_3</dc:creator>
    <dc:date>2006-06-21T22:38:52Z</dc:date>
    <item>
      <title>user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809584#M508456</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;  I have some doubt regarding create user.&lt;BR /&gt;&lt;BR /&gt; 1. I created some user by the command:&lt;BR /&gt;# useradd -d /home/user1 -s /usr/bin/ksh -m user1&lt;BR /&gt;&lt;BR /&gt;After that I checked in /etc/passwd, the password area for user1 is "*", if I am not wrong this means no passwd. &lt;BR /&gt;But I tried to log in from another server:&lt;BR /&gt;# rlogin server -l user1&lt;BR /&gt;it asked for passwd and I couldn't access with any keyword. &lt;BR /&gt;&lt;BR /&gt;However if I create this user by sam, there is no such access problem. But the home directory is / instead of /home/user1. Can someone help on this?</description>
      <pubDate>Wed, 21 Jun 2006 05:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809584#M508456</guid>
      <dc:creator>emily_3</dc:creator>
      <dc:date>2006-06-21T05:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809585#M508457</link>
      <description>After creating the user via the useradd command, I believe you need to run the passwd command to set the password.  When using SAM (without any templates), you need to fill in the home directory box.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 21 Jun 2006 05:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809585#M508457</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-21T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809586#M508458</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;'useradd' command: create new user&lt;BR /&gt;'passwd' command: deal with passwords&lt;BR /&gt;&lt;BR /&gt;These are distinct things from the commands point of view.&lt;BR /&gt;&lt;BR /&gt;In SAM you can easily setup the home directory as well as the standard directory path under which new homes should be created.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 21 Jun 2006 05:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809586#M508458</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-06-21T05:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809587#M508459</link>
      <description>Hi emily,&lt;BR /&gt;&lt;BR /&gt;essentially you can create a user in two ways:&lt;BR /&gt;&lt;BR /&gt;- by command line:&lt;BR /&gt;useradd -d /home/user1 -s /usr/bin/ksh -m user1&lt;BR /&gt;passwd user1&lt;BR /&gt;&lt;BR /&gt;and assign a password.&lt;BR /&gt;You have to assign a password to that user after useradd command. After that you shouldn't have further problems.&lt;BR /&gt;&lt;BR /&gt;- or if you prefer by SAM:&lt;BR /&gt;it is interactive and very friendly, between the options when creating the user you should see the HOME directory creation too, it is there that you have to assign an HOME directory for user1.&lt;BR /&gt;&lt;BR /&gt;Let us know if you have problems.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Fabio</description>
      <pubDate>Wed, 21 Jun 2006 05:22:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809587#M508459</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2006-06-21T05:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809588#M508460</link>
      <description>Hi emily,&lt;BR /&gt;&lt;BR /&gt;The * in the passwd file indicates you either you have a shadow file - /etc/shadow (As you may be using shadow software) OR  you are having trusted system then passwords will be in encrypted form in file /tcb/files/auth/[1st alphabet of user's id]/[userid].&lt;BR /&gt;Thus if user id is abc1 then the file is&lt;BR /&gt;/tcb/files/auth/a/abc123&lt;BR /&gt;&lt;BR /&gt;When you say home directory is / instaed of /home/user1 - what do you mean ? Do you mean that there is no /home/user1 directory created or when user logs in he lands into / ?&lt;BR /&gt;Check if the dir exists&lt;BR /&gt;ls -ld /home/user1&lt;BR /&gt;and check if user's home directory has been set to /home/user1 - grep the_userid /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Also as others have already pointed out after creating user using useradd, you need to set password using passwd username from root account.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 21 Jun 2006 06:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809588#M508460</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-06-21T06:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809589#M508461</link>
      <description>Thanks all of your help.&lt;BR /&gt;&lt;BR /&gt;  I understand the issue of creating the user by command is that I didn't create the passwd after that. &lt;BR /&gt;&lt;BR /&gt;  But when I use sam last time, I did select the make home directory /home/user1. and after created I checked that the /etc/passwd also have /home/user1 for this user, but actually this directory is not created and after I login by using this user1, it go to / dirctory.</description>
      <pubDate>Wed, 21 Jun 2006 22:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809589#M508461</guid>
      <dc:creator>emily_3</dc:creator>
      <dc:date>2006-06-21T22:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809590#M508462</link>
      <description>Hi Emily,&lt;BR /&gt;&lt;BR /&gt;Don't know the version you're using but check the following:&lt;BR /&gt;&lt;BR /&gt;PHCO_33142:&lt;BR /&gt;( SR:8606430859 CR:JAGaf90305 )&lt;BR /&gt;Under certain scenarios, useradd/usermod/userdel are not working as expected.&lt;BR /&gt;&lt;BR /&gt;You can use the passwd -f option to force the user to change his/her passwd at next logon.&lt;BR /&gt;&lt;BR /&gt;Goodluck&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2006 00:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809590#M508462</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-22T00:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809591#M508463</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;  I couldn't find this patch in my server. And my server is ia64 11.23. Do i need to install this patch? Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2006 04:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809591#M508463</guid>
      <dc:creator>emily_3</dc:creator>
      <dc:date>2006-06-22T04:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: user create issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809592#M508464</link>
      <description>The patch for 11.23 is PHCO_33980:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Thu, 22 Jun 2006 04:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-create-issue/m-p/3809592#M508464</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-22T04:55:43Z</dc:date>
    </item>
  </channel>
</rss>

