<?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: permission problem in home directory when creating users with useradd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385758#M35740</link>
    <description>L.S.&lt;BR /&gt;&lt;BR /&gt;what is the result of (all executed by root):&lt;BR /&gt;- ls -ld /home&lt;BR /&gt;- cd /home; mkdir newdir; ls -ld newdir&lt;BR /&gt;- umask&lt;BR /&gt;- which useradd (or type useradd) &lt;BR /&gt;&lt;BR /&gt;JP</description>
    <pubDate>Mon, 23 Mar 2009 16:45:17 GMT</pubDate>
    <dc:creator>Jeroen Peereboom</dc:creator>
    <dc:date>2009-03-23T16:45:17Z</dc:date>
    <item>
      <title>permission problem in home directory when creating users with useradd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385754#M35736</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  I am using RHEL4. I used "useradd" command to create a user.&lt;BR /&gt;&lt;BR /&gt;  # useradd john&lt;BR /&gt;        or&lt;BR /&gt;  # useradd -m john&lt;BR /&gt;&lt;BR /&gt;  # cd /home&lt;BR /&gt;  &lt;BR /&gt;  # ll -d john&lt;BR /&gt;&lt;BR /&gt;  d---------  2 john john 96 Mar 23 09:16 john&lt;BR /&gt;  &lt;BR /&gt;  so there is no permission (rwx) set in this directory. &lt;BR /&gt;&lt;BR /&gt;  I am getting following error. If i try to change the permission thru "root" user.&lt;BR /&gt;&lt;BR /&gt;# chmod 755 -R john&lt;BR /&gt;chmod: changing permissions of `john': Operation not permitted&lt;BR /&gt;chmod: `john': Permission denied&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   All the users home directories are created in same way.&lt;BR /&gt;&lt;BR /&gt;  So pls help to solve this problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Mar 2009 13:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385754#M35736</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-03-23T13:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: permission problem in home directory when creating users with useradd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385755#M35737</link>
      <description>Hi,&lt;BR /&gt;There is some other issue with security.&lt;BR /&gt;By default there should be some default rights to User (newly created).&lt;BR /&gt;&lt;BR /&gt;There is issue with security policy applied with your system.&lt;BR /&gt;&lt;BR /&gt;First you have to check security policy.&lt;BR /&gt;&lt;BR /&gt;There may be some other issue with new user add is linked with other policy.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
      <pubDate>Mon, 23 Mar 2009 15:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385755#M35737</guid>
      <dc:creator>Gokul Chandola</dc:creator>
      <dc:date>2009-03-23T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: permission problem in home directory when creating users with useradd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385756#M35738</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;maybe you should do it as 'root' or 'administrator'.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Mar 2009 16:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385756#M35738</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2009-03-23T16:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: permission problem in home directory when creating users with useradd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385757#M35739</link>
      <description>Please post the output of these commands:&lt;BR /&gt;&lt;BR /&gt;- umask&lt;BR /&gt;- ls -ldZ /home&lt;BR /&gt;&lt;BR /&gt;I suspect the selinux context of /home may be incorrect.  It should be:&lt;BR /&gt;&lt;BR /&gt;system_u:object_r:home_root_t</description>
      <pubDate>Mon, 23 Mar 2009 16:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385757#M35739</guid>
      <dc:creator>Autocross.US</dc:creator>
      <dc:date>2009-03-23T16:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: permission problem in home directory when creating users with useradd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385758#M35740</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;what is the result of (all executed by root):&lt;BR /&gt;- ls -ld /home&lt;BR /&gt;- cd /home; mkdir newdir; ls -ld newdir&lt;BR /&gt;- umask&lt;BR /&gt;- which useradd (or type useradd) &lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Mon, 23 Mar 2009 16:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/permission-problem-in-home-directory-when-creating-users-with/m-p/4385758#M35740</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2009-03-23T16:45:17Z</dc:date>
    </item>
  </channel>
</rss>

