赞
踩
[root@westoslinux Desktop]# smbclient //172.25.254.123/home -U westos
Enter SAMBA\westos's password:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
树连接失败:NT\u STATUS\u BAD\u NETWORK\u NAME
原因1:没有配置共享系统级别的目录(??)
原因2:不是本地用户的家目录(??)
[root@westoslinux Desktop]# mount -o username=yao,password=westos //172.25.254.123/WESTOS /media
mount: /media: mount point does not exist.
如果是其他主机不在白名单中,挂载时的提示:
[root@westoslinux Desktop]# mount -o username=yao,password=westos //172.25.254.123/WESTOS /media
mount: /media: special device //172.25.254.123/WESTOS does not exist.
[root@westoslinux Desktop]# mount -o username=westos,password=westos //172.25.254.123/MNT /media
[root@westoslinux Desktop]# cp /media/test.sql .
[root@westoslinux Desktop]# ls
test.sql
[root@westoslinux Desktop]# mv /media/baidunetdisk-3.5.0.x86_64.rpm .
mv: cannot remove '/media/baidunetdisk-3.5.0.x86_64.rpm': Permission denied
了解了一种共享文件的方式,不仅仅只会scp了
[root@westoslinux Desktop]# smbclient //172.25.254.123/WESTOS
Enter SAMBA\root's password:
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。