<?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: samba user access to /var/www in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885253#M25685</link>
    <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;Dumb question:  Did you set up the 'group' called 'webdev', and add those selected users to that group?&lt;BR /&gt;&lt;BR /&gt;You need to have the 'valid users = @webdev'.  You can leave the 'force group = webdev', but the lack of 'valid users' is what's allowing everybody access.</description>
    <pubDate>Mon, 23 Oct 2006 23:00:24 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2006-10-23T23:00:24Z</dc:date>
    <item>
      <title>samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885250#M25682</link>
      <description>I have a few users in which I need to give full permissions to in the /var/www directory and all sub-dirs.  Currently /var/www is owned access is root:root.  Does anyone have any recommendations as to how to set these few users up using samba so they can access /var/www and all subdirs without having to change the group permissions? thx.</description>
      <pubDate>Mon, 23 Oct 2006 15:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885250#M25682</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-10-23T15:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885251#M25683</link>
      <description>You don't have too many options, you do have to change the group and permissions for the directories under /var/www or starting with /var/www.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;groupadd webdev&lt;BR /&gt;find /var/www -type d -exec chgrp webdev {} \;&lt;BR /&gt;find /var/www -type d -exec chmod 775 {} \;&lt;BR /&gt;&lt;BR /&gt;In the samba share, use the option:&lt;BR /&gt;&lt;BR /&gt;valid users = @webdev&lt;BR /&gt;&lt;BR /&gt;Add the users to the webdev group.</description>
      <pubDate>Mon, 23 Oct 2006 17:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885251#M25683</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-10-23T17:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885252#M25684</link>
      <description>Ivan, thanks for the reply.  For some reason, when I put "valid users = @webdev", windows prompts me for a user name and password when logging in.  However, it does not accept what actually is the correct username and password.  To get around this, I have to use the "force group = webdev", and then I can access the samba share.  Unfortunately, so can anyone else.  Here is my smb.conf.  Any ideas? &lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = AMRS&lt;BR /&gt;;        security = DOMAIN&lt;BR /&gt;        security = user&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        map to guest = Bad User&lt;BR /&gt;        password server = *&lt;BR /&gt;        log file = /var/log/smb.log&lt;BR /&gt;        keepalive = 30&lt;BR /&gt;        os level = 2&lt;BR /&gt;        use mmap = no&lt;BR /&gt;        socket options = SO_KEEPALIVE TCP_NODELAY&lt;BR /&gt;        wins server = 146.125.26.201;170.240.224.201;146.125.26.202;170.240.224.202 &lt;BR /&gt;&lt;BR /&gt;[WEBDEV]&lt;BR /&gt;   comment = Web Developers&lt;BR /&gt;   force group = webdev&lt;BR /&gt;   path = /var/www&lt;BR /&gt;   public = yes&lt;BR /&gt;   writable = yes&lt;BR /&gt;   printable = no&lt;BR /&gt;   create mask = 0770&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Oct 2006 20:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885252#M25684</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-10-23T20:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885253#M25685</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;Dumb question:  Did you set up the 'group' called 'webdev', and add those selected users to that group?&lt;BR /&gt;&lt;BR /&gt;You need to have the 'valid users = @webdev'.  You can leave the 'force group = webdev', but the lack of 'valid users' is what's allowing everybody access.</description>
      <pubDate>Mon, 23 Oct 2006 23:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885253#M25685</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-10-23T23:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885254#M25686</link>
      <description>You can achieve what you want with admin users directive in your smb.conf.&lt;BR /&gt;&lt;BR /&gt;Below is an example:&lt;BR /&gt;&lt;BR /&gt;[web]&lt;BR /&gt;path = /var/www&lt;BR /&gt;admin users = user1 user2 user3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Of course user1,user2,user3 must exist.</description>
      <pubDate>Tue, 24 Oct 2006 07:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885254#M25686</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-10-24T07:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885255#M25687</link>
      <description>Thanks for the responses:&lt;BR /&gt;&lt;BR /&gt;re: Dumb question:  yes, I did setup the group and I did put the users in it.  By adding that parameter, 'valid users = @webdev', it actually causes SAMBA to "break" (it prompts me for username and password, but doesn't accept them).  When I remove it, I'm able to map the share... but so is everyone else.  &lt;BR /&gt;&lt;BR /&gt;re: admin users:  same situation as above.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Of course user1,user2,user3 must exist. &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2006 13:18:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885255#M25687</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-10-24T13:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885256#M25688</link>
      <description>Remove the password server option. You should not use the password server with security = user.&lt;BR /&gt;&lt;BR /&gt;Ensure that you added the user using smbpasswd -a.</description>
      <pubDate>Tue, 24 Oct 2006 13:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885256#M25688</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-10-24T13:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: samba user access to /var/www</title>
      <link>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885257#M25689</link>
      <description>Thanks for the responses:&lt;BR /&gt;&lt;BR /&gt;re: Dumb question:  yes, I did setup the group and I did put the users in it.  By adding that parameter, 'valid users = @webdev', it actually causes SAMBA to "break" (it prompts me for username and password, but doesn't accept them).  When I remove it, I'm able to map the share... but so is everyone else.  &lt;BR /&gt;&lt;BR /&gt;re: admin users:  same situation as above.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;re: 'password server = *' same situation.  &lt;BR /&gt;&lt;BR /&gt;i.e. withoug 'force group = webdev', I'm unable to write to the directory with any of the above 3 options.</description>
      <pubDate>Tue, 24 Oct 2006 14:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/samba-user-access-to-var-www/m-p/3885257#M25689</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-10-24T14:16:16Z</dc:date>
    </item>
  </channel>
</rss>

