<?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: 2 users with same home dir in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474296#M37819</link>
    <description>You could also create another user name but with the same ID.</description>
    <pubDate>Fri, 07 Aug 2009 23:07:54 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-08-07T23:07:54Z</dc:date>
    <item>
      <title>2 users with same home dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474291#M37814</link>
      <description>Hello, is it possible to have 2 users with the same home directory.&lt;BR /&gt;&lt;BR /&gt;THis is the current user..&lt;BR /&gt;&lt;BR /&gt;crmuser:x:24800:440:CRM ftp id - home/ftp/./crmuser:/bin/false&lt;BR /&gt;&lt;BR /&gt;I need to create another user but with the same home dir. &lt;BR /&gt;&lt;BR /&gt;THe folks are trying to run some ftp jobs but the problem is noone seems to know what the password is fo that user and that person is no longer around. I'm worried if I chnage the password, we could break some scripts if passwords are hard-coded. &lt;BR /&gt;&lt;BR /&gt;We would just like to be able to create another user but with the same home-dirs as the crmuser. &lt;BR /&gt;&lt;BR /&gt;Thanks and points will be assigned.</description>
      <pubDate>Thu, 06 Aug 2009 03:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474291#M37814</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2009-08-06T03:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: 2 users with same home dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474292#M37815</link>
      <description>Hi&lt;BR /&gt;Sharing a HOME directory can be done.&lt;BR /&gt;Only thing you need to do is make new user account attached to the same group of the old user.&lt;BR /&gt;eg:&lt;BR /&gt;vi /etc/passwd&lt;BR /&gt;&lt;BR /&gt;ftp1:x:1003:1003::/home/ftpuser1 //Old user&lt;BR /&gt;ftp2:x:1004:1003::/home/ftpuser1 //new&lt;BR /&gt;&lt;BR /&gt;note i have used same gid for new user as in old users gid which makes both new and old user both same group&lt;BR /&gt;&lt;BR /&gt;may be you have to alter home folder permission if its on 700&lt;BR /&gt;&lt;BR /&gt;Good Luck...!</description>
      <pubDate>Thu, 06 Aug 2009 05:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474292#M37815</guid>
      <dc:creator>Nuwan Alwis</dc:creator>
      <dc:date>2009-08-06T05:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: 2 users with same home dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474293#M37816</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Sure you can stick two users in the same home directory.&lt;BR /&gt;&lt;BR /&gt;To keep permissions from being wildly open, they need to both be in the same group, gropu 440.&lt;BR /&gt;&lt;BR /&gt;Then set the umask to permit group write on new files created.&lt;BR /&gt;&lt;BR /&gt;You may need to modify files in the home directory so that both users can change them.&lt;BR /&gt;&lt;BR /&gt;As to breaking scripts with hard coded passwords. Yes, you will break these scripts. This is not a best practices setup anyway.&lt;BR /&gt;&lt;BR /&gt;You can try something else.&lt;BR /&gt;&lt;BR /&gt;Public key exchange ssh, which would permit these users to log on as each other without a password. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=10" target="_blank"&gt;http://www.hpux.ws/?p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The second user can gain access to all of crmuser data and essentially be crmuser when needed by script. I don't know if that meets the requirements, you really don't post requirements.&lt;BR /&gt;&lt;BR /&gt;SEP &lt;BR /&gt;</description>
      <pubDate>Thu, 06 Aug 2009 06:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474293#M37816</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-08-06T06:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: 2 users with same home dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474294#M37817</link>
      <description>you can do that, however it's not a very clean/secure implementation.&lt;BR /&gt;&lt;BR /&gt;let this be a lesson also for having documentation and/or a password database for important id's.&lt;BR /&gt;&lt;BR /&gt;also consider cracking the unknown password of the user with 'john the ripper' or the likes;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.openwall.com/john/" target="_blank"&gt;http://www.openwall.com/john/&lt;/A&gt;</description>
      <pubDate>Fri, 07 Aug 2009 06:02:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474294#M37817</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2009-08-07T06:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: 2 users with same home dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474295#M37818</link>
      <description>Rather than adding a different user you could edit /etc/sudoers and add permission for specific users to sudo to the crmuser.&lt;BR /&gt;Then&lt;BR /&gt;sudo -i -u crmuser&lt;BR /&gt;would allow one of those users to get a shell as crmuser.</description>
      <pubDate>Fri, 07 Aug 2009 16:26:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474295#M37818</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2009-08-07T16:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: 2 users with same home dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474296#M37819</link>
      <description>You could also create another user name but with the same ID.</description>
      <pubDate>Fri, 07 Aug 2009 23:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-users-with-same-home-dir/m-p/4474296#M37819</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-08-07T23:07:54Z</dc:date>
    </item>
  </channel>
</rss>

