Koozali.org: home of the SME Server

User Home directories access by Administrator HOWTO for sme

Offline raem

  • *
  • 3,972
  • +4/-0
User Home directories access by Administrator HOWTO for sme
« on: November 24, 2005, 09:50:11 AM »
Dear All

I have made a new HOWTO based on forum posts and revised as required.

User Home directories access by Administrator HOWTO for sme server

You can configure which users (eg administrators)have access to all users home folders by creating a special share.
You can access this share locally, or remotely after establishing a VPN connection to the sme server.

http://mirror.contribs.org/smeserver/contribs//rmitchell/smeserver/howto/User%20Home%20directories%20access%20by%20Administrator%20HOWTO%20for%20sme%20server.htm
...

Offline billmakr

  • **
  • 33
  • +0/-0
    • http://www.midrangesystems.biz
bad link
« Reply #1 on: November 26, 2005, 03:51:47 AM »
the link on the post does not work. please repost as I would like to see this solution. thanks

p. henry :-)

Offline raem

  • *
  • 3,972
  • +4/-0
Re: bad link
« Reply #2 on: November 26, 2005, 05:07:11 AM »
billmakr

The link worked yesterday but apparently ibiblio is having problems.

Here is the essence of the HOWTO


If it does not already exist create the following directory

mkdir -p /etc/e-smith/templates-custom/etc/smb.conf

cd /etc/e-smith/templates-custom/etc/smb.conf

Create a new template fragment in /etc/e-smith/templates-custom/etc/smb.conf
eg 50userhomes-admin

pico 50userhomes-admin

Paste or type the following code to the template:

[userhomes]
comment = Users home directories
path = /home/e-smith/files/users/
valid users = admin root username1 username2
admin users = admin root username1 username2
write list = admin root username1 username2
browseable = yes
guest ok = no
public = no
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770


Note: You can add as many usernames as required but they must be separated by a space

Save the file
Ctrl o
Exit
Ctrl x

then expand the template

/sbin/e-smith/expand-template /etc/smb.conf

then refresh the samba server so your template is active

/etc/init.d/smb reload

then restart smb

/etc/init.d/smb restart


Now you should be able to browse in Windows Explorer (or similar) file sharing to
\\serverIP\userhomes
or
\\servername\userhomes
...

Offline billmakr

  • **
  • 33
  • +0/-0
    • http://www.midrangesystems.biz
username1 etc
« Reply #3 on: November 26, 2005, 07:51:35 AM »
thanks for the quick response. I will work on this on my server asap. happy Thanksgiving

P. Henry