How to configure samba in linux
Posted on August 3, 2008
1.Check if samba service is installed on your workstation or server with below command.
[root@host1 release]# rpm -qa |grep samba
samba-3.0.25b-0.4E.6
samba-common-3.0.25b-0.4E.6
samba-client-3.0.25b-0.4E.6
system-config-samba-1.2.21-1.el4.1
samba-common-3.0.25b-0.4E.6
samba-swat-3.0.25b-0.4E.6
2.Modify file /etc/samba/smb.conf to add the sharing entry.eg:
[root@host1 ~]# tail /etc/samba/smb.conf
#Added /release,requested by Jason
[public]
comment = Public
path = /release
public = yes
writable = yes
printable = no
3.Add samba accounts for users using command smbpasswd
[root@host1 ~]# smbpasswd -a jason
New SMB password:
Retype new SMB password:
4.Finished.User can access the /public dir on host1
Popularity: 4% [?]
Related Posts:
» Filed Under Linux
Comments
One Response to “How to configure samba in linux”
Leave a Reply
ip-6 for cancer road test in connicut