Open /etc/samba/smb.conf and include the lines below to the bottom of that file.
vi /etc/samba/smb.conf
[username]
comment = users backup
path = /home/username/
valid users = username
public = no
writable = yes
printable = no
create mask = 0765
Save that file and issue the command below :
smbpasswd -a username
Give the password
/etc/init.d/smb restart
« Prev:WHM backup conf file Enable suphp in WHM server:Next »