<?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 useradd: warning: the home directory already exists in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4820883#M44596</link>
    <description>&lt;P&gt;I'm trying to create a user in Linux by specifying the home directory with option -d. But I'm getting the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@test123 ~]# useradd -c "Admin" -s /bin/ksh -d /oracle -g dba oracle123&lt;BR /&gt;useradd: warning: the home directory already exists.&lt;BR /&gt;Not copying any file from skel directory into it.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the reason for the files not being copied from the /etc/skel directory?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2011 12:17:08 GMT</pubDate>
    <dc:creator>kumar_chandel</dc:creator>
    <dc:date>2011-07-11T12:17:08Z</dc:date>
    <item>
      <title>useradd: warning: the home directory already exists</title>
      <link>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4820883#M44596</link>
      <description>&lt;P&gt;I'm trying to create a user in Linux by specifying the home directory with option -d. But I'm getting the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@test123 ~]# useradd -c "Admin" -s /bin/ksh -d /oracle -g dba oracle123&lt;BR /&gt;useradd: warning: the home directory already exists.&lt;BR /&gt;Not copying any file from skel directory into it.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the reason for the files not being copied from the /etc/skel directory?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 12:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4820883#M44596</guid>
      <dc:creator>kumar_chandel</dc:creator>
      <dc:date>2011-07-11T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: useradd: warning: the home directory already exists</title>
      <link>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4820997#M44597</link>
      <description>&lt;P&gt;&amp;gt;What is the reason for the files not being copied from the /etc/skel directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most likely because it thought you already did that and didn't want to destroy your customizations.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 13:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4820997#M44597</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-07-11T13:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: useradd: warning: the home directory already exists</title>
      <link>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4822203#M44599</link>
      <description>&lt;P&gt;Does it affect an user if the files .bash_profile and .bash_logout are not copied form the /etc/skel diretory in linux?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 07:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4822203#M44599</guid>
      <dc:creator>kumar_chandel</dc:creator>
      <dc:date>2011-07-12T07:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: useradd: warning: the home directory already exists</title>
      <link>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4825091#M44603</link>
      <description>&lt;P&gt;&amp;gt;Does it affect an user if the files .bash_profile and .bash_logout are not copied form the /etc/skel directory in linux?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the user uses bash.&amp;nbsp; :-)&lt;/P&gt;&lt;P&gt;And of course how much customization is done.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2011 17:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4825091#M44603</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-07-13T17:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: useradd: warning: the home directory already exists</title>
      <link>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4825485#M44604</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Default values for account creation defined in /etc/default/useradd file&amp;nbsp; RHEL . Simply open this file using a text editor:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# vi /etc/default/useradd﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The default home directory defined by HOME variable, find line that read as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HOME=/home&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Replace with:&lt;/P&gt;&lt;P&gt;HOME=/etc/skel﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this can help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Naj&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2011 02:36:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/useradd-warning-the-home-directory-already-exists/m-p/4825485#M44604</guid>
      <dc:creator>Naj</dc:creator>
      <dc:date>2011-07-14T02:36:36Z</dc:date>
    </item>
  </channel>
</rss>

