samba

[root@server-rhel6 ~]#yum install -y samba [root@server-rhel6 ~]#mkdir /sharedrepo [root@server-rhel6 ~]#groupadd staff [root@server-rhel6 ~]#chgrp -R staff /sharedrepo/ [root@server-rhel6 ~]#chmod -R 777 /sharedrepo/ [root@server-rhel6 ~]#cd /sharedrepo/ [root@server-rhel6 ~]#touch one [root@server-rhel6 ~]#chcon -R -t samba_share_t /sharedrepo/ [root@server-rhel6 ~]#semanage fcontext -a -t samba_share_t /sharedrepo/ [root@server-rhel6 ~]#yum provides /usr/sbin/semanage [root@server-rhel6 ~]#yum install policycoreutils-python [root@server-rhel6 ~]#setsebool -P samba_enable_home_dirs on [root@server-rhel6 ~]#useradd … Continue reading samba