Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
redhat:samba-server-redhat:start [2017/09/18 15:02] – [Erstellen der Gruppen und User] michael | redhat:samba-server-redhat:start [2019/02/21 11:06] – [Server Konfiguration] michael | ||
---|---|---|---|
Line 93: | Line 93: | ||
< | < | ||
# mkdir -p / | # mkdir -p / | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP center box 100%> | ||
+ | **Setzen der korrekten SELinux Rules:** | ||
+ | |||
+ | < | ||
+ | # setsebool -P samba_export_all_ro=1 samba_export_all_rw=1 | ||
+ | # getsebool –a | grep samba_export | ||
+ | # semanage fcontext –at samba_share_t "/ | ||
+ | |||
+ | # restorecon /finance | ||
</ | </ | ||
</ | </ | ||
Line 101: | Line 113: | ||
< | < | ||
# cd / | # cd / | ||
- | # chcon -R -t samba_share_t / | ||
# chgrp beziehung ferien_fotos && chgrp ion daten_simon && chgrp hunde fressnapf | # chgrp beziehung ferien_fotos && chgrp ion daten_simon && chgrp hunde fressnapf | ||
- | # chmod -R 2770 / | + | # chmod -R 0770 / |
- | # chmod -R 775 / | + | # chmod 775 / |
</ | </ | ||
</ | </ | ||
Line 146: | Line 157: | ||
[public] | [public] | ||
+ | | ||
+ | | ||
path = / | path = / | ||
| | ||
Line 153: | Line 166: | ||
| | ||
valid users = @smbusers | valid users = @smbusers | ||
+ | force group = smbusers | ||
[ferien_fotos] | [ferien_fotos] | ||
+ | | ||
+ | | ||
path = / | path = / | ||
| | ||
Line 162: | Line 178: | ||
| | ||
valid users = @beziehung | valid users = @beziehung | ||
+ | force group = beziehung | ||
+ | |||
[daten_simon] | [daten_simon] | ||
+ | | ||
+ | | ||
path = / | path = / | ||
| | ||
Line 171: | Line 190: | ||
| | ||
valid users = @ion | valid users = @ion | ||
+ | force group = ion | ||
[hundenapf] | [hundenapf] | ||
+ | | ||
+ | | ||
path = / | path = / | ||
| | ||
Line 180: | Line 202: | ||
| | ||
valid users = @hunde | valid users = @hunde | ||
+ | force group = hunde | ||
</ | </ | ||
Line 211: | Line 234: | ||
<wrap em> | <wrap em> | ||
- | ---- | ||
- | |||
- | https:// |