samba配置共享用户home目录
时间: 2020-01-12来源:OSCHINA
【围观】麒麟芯片遭打压成绝版,华为亿元投入又砸向了哪里?>>>
1. 先要安装samba sudo apt-get update sudo apt-get install samba openssh-server
2. 编辑Samba配置文件 sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak sudo vi /etc/samba/smb.conf
找到[homes]项,此项默认是注释掉的,取消其注释,然后修改其具体内容,修改成如下: #======================= Share Definitions ======================= # Un-comment the following (and tweak the other settings below to suit) # to enable the default home directory shares. This will share each # user's home directory as \\server