老是要忘记 索性备忘一下
:linux => "debian 6.0.4", :samba => "2:3.5.6"
>su root
>apt -get install samba
>nano /etc/samba/smb.conf
写入如下内容
[yyj]
comment = yyj
path = /home/yyj
browseable = yes
guest ok = no
valid users = yyj
writeable = yes
create mode = 0777
directory mode = 0777
C-o Enter C-x
==
>smbpasswd -a yyj # 这步不知道是不是一定需要
输入密码 #反正我是做了这步了
==
>/etc/init.d/samba restart
完工 yyj是用户名
:linux => "debian 6.0.4", :samba => "2:3.5.6"
>su root
>apt -get install samba
>nano /etc/samba/smb.conf
写入如下内容
[yyj]
comment = yyj
path = /home/yyj
browseable = yes
guest ok = no
valid users = yyj
writeable = yes
create mode = 0777
directory mode = 0777
C-o Enter C-x
==
>smbpasswd -a yyj # 这步不知道是不是一定需要
输入密码 #反正我是做了这步了
==
>/etc/init.d/samba restart
完工 yyj是用户名