Skip to content

Instantly share code, notes, and snippets.

@ytlm
Last active June 13, 2022 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ytlm/8937069370d720257f99340418534b47 to your computer and use it in GitHub Desktop.
Save ytlm/8937069370d720257f99340418534b47 to your computer and use it in GitHub Desktop.
samb 默认配置
[share]
comment = Share Files
path = /root
valid users = root
write list = root
writeable = yes
browsable = yes
用这个命令设置用户的密码
smbpasswd -a root
// https://www.myfreax.com/how-to-install-and-configure-samba-on-ubuntu-18-04/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment