删除和添加samba用户

#关闭防火墙:stop暂时关闭,disable永久关闭

setenforce 0
sed -i s/SELINUX=enforcing/SELINUX=disabled/ /etc/selinux/config
systemctl stop firewalld
systemctl disable firewalld
systemctl stop smb
pdbedit -x -u y00
pdbedit -a -u y00

chown -Rf y00:y00 /home/y00
systemctl start smb
systemctl enable smb
systemctl status smb

 

#开启防火墙samba无法映射?

systemctl start firewalld
systemctl enable firewalld
systemctl status firewalld

 

删除和添加samba用户

上一篇:兄弟连区块链教程区块链信息安全3椭圆曲线加解密及签名算法的技术原理二


下一篇:区块链教程Fabric1.0源代码分析scc(系统链码)cscc(通道相关)-兄弟连区块链教程