[olug] Warning: default smb.conf with TrixBox

Rob Townley rob.townley at gmail.com
Mon Feb 26 20:47:55 UTC 2007


Maybe i am a noob, maybe there is something blatant i am missing, but
it is not the way i would do things.  How many other distributions
share out your entire harddrive by default?  How many give any guest
user root privilege?

TrixBox (Asterisk at home) is based on CentOS and has a quick
"setup-samba" command which configures file sharing with the following
/etc/samba/smb.conf.  Note, this shares out your entire harddrive so
that anybody can change or delete any file on the entire drive without
any authentication.  Look at the line "guest account = root" and "path
= /"

[global]
workgroup = workgroup
server string = trixbox PBX
local master = no
domain master = no
preferred master = no
password server = None
guest ok = yes
guest account = root
security = SHARE
dns proxy = no

[share]
path = /
guest ok = yes
writeable = yes
create mask = 0777



More information about the OLUG mailing list