📄 smb.conf
字号:
#set the global param[global]#it's about code,notice that the cp367 must be existed in your systerm. else you should chage the one existed in your #systerm doscharset = cp367 unixcharset = cp367 #this is your net workgroup's name workgroup = chip #this is the notation about this samba server,it is not important server string = Samba Server #this is important. 如果需要密码验证设成user。不许要设成share security = user #密码加密 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = IPTOS_LOWDELAY; obey pam restrictions = yes #是否使用dns dns proxy = no[share] #设定共享路径 path =/share guest ok = no #使登陆的用户据有root权限,也可以不设,但是在mount硬盘时,只有root用户有写权限,所以此处设为root force user = root browseable = yes directory mode = 0777 create mode = 0777 valid users = user write list = user
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -