If I created a Linux distribution
I’d keep it simple. The 1st thing that I would change is the directory structure. I’d have 1 directory called system all OS stuff goes there then I’d have a users dir in the users dir I’d have – programs dir – data dir – home dir the programs dir would contain programs/applications the home […]
Samba, anonymous access, which system user?
I searched around and found nothing so here it is: TL;DR: the user and group is “nobody” my smb.conf
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
[Global] workgroup = LUKETIC security = user domain master = yes domain logons = yes local master = yes preferred master = yes passdb backend = tdbsam logon path = \\%L\Profiles\%U logon script = logon.bat add machine script = /usr/sbin/useradd -d /dev/null -g 200 -s /sbin/nologin -M %u [homes] comment = Home Directories browseable = yes writable = yes [printers] comment = All Printers path = /var/spool/samba printable = Yes print ok = Yes browseable = No [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon browseable = No writable = No [Profiles] path = /var/lib/samba/profiles create mask = 0755 directory mask = 0755 writable = Yes [Storage] path = /srv/Storage create mask = 0755 directory mask = 0755 writable = Yes guest ok = Yes guest only = Yes |
run
|
1 |
chown -R nobody:nobody /srv/Storage |
Flatrate ist kein Volumentarif
Liebe oder eher nicht so liebe Mobilfunkanbieter, Wenn da 16Mbit/s FLATRATE steht und darunter 1GB Transfervolumen, dann ist das keine Flatrate sondern ein Volumentarif. Wie klagt da eigentlich keiner? Sonst klagen doch auch alle wegen allem und ihrer Mutter
Using mgo and writing handlers in Go with net/http
This is a short example of how to write handlers in Go and use the MongoDB mgo driver. Assume you want to write handlers that are in a package and mount this handler under a certain prefix, for instance a HelloHandler mounted on /hello/. So you have a main package and a handler package, called […]