Posted On April 1, 2019

Linux: How to create samba shares for Windows

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Linux: How to create samba shares for Windows
Install Samba:
yum install samba
 
SELinux:
 setsebool -P samba_enable_home_dirs 1
 
Run the utility for GUI:
#system-config-samba
set up server setting as “share” if you want universal access without authentication
 
Or go through commands:
#mv /etc/samba/smb.conf /etc/samba/smb.conf.backup
#vi /ect/samba/smb.conf
[global]
workgroup = workgroup
netbios name = smbserver
security = SHARE
load printers = No
default service = global
path = /home
available = No
encrypt passwords = yes
[share]
writeable = yes
admin users = smbuser
path = /home/share
force user = root
valid users = smbuser
public = yes
available = yes
 
save and exit
 
adduser smbuser #add unix account
passwd smbuser #set unix account password
smbpasswd -a smbuser #lets create same user account on samba
<put same password as your unix account password>
/etc/init.d/smb restart

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

FFMPEG Ftuff (old)

Install prerequisites: --- Install DAG --- yum install rpmforge-release yum install gcc gcc-cpp gcc-c++ zlib-devel…

Installing FFMPEG and FFMPEG-PHP

How to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source…

Ubuntu: Auto Updates Configuration

Prepare the Linux OS: # Install auto-update packages sudo apt install -y unattended-upgrades apt-listchanges #…