怎样在终端用cd命令访问SMB上共享的目录?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
sanz
帖子: 1010
注册时间: 2006-09-29 5:11

怎样在终端用cd命令访问SMB上共享的目录?

#1

帖子 sanz » 2007-01-26 14:37

在XP下可以用//computer/disk/directory/file
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#2

帖子 zhan » 2007-01-26 14:45

安装 smbfs
然后 直接把 共享文件夹 mount 到本地。
那个 dir 是远程共享的目录,tempdir 是本地的目录
sudo smbmount //*.*.*.*/dir tempdir
然后 cd tempdir 就当你自己的文件操作把。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#3

帖子 skyx » 2007-01-26 14:47

是啊,可以mount的,和硬盘一样的
no security measure is worth anything if an attacker has physical access to the machine
zhaofw
帖子: 40
注册时间: 2007-01-25 20:12

#4

帖子 zhaofw » 2007-01-27 21:34

sudo smbmount //ip/ZZZZ 你mount的位置 -o username=XXX,password=XXX,uid=XXX,gid=XXX,好像后面两个有一个就可以了,缺少的话会没有写权限。我是两个都加了。
头像
chewbaaca
帖子: 126
注册时间: 2006-08-25 16:24
来自: Beijing
联系:

#5

帖子 chewbaaca » 2007-01-29 14:28

-t smbfs
nothing special....
enjoy using command line console
enjoy the colour build by black and white
网兜
http://www.wangdooou.com/w

U-day
http://www.uaresmiling.com/tiki

Uaresmiling
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2007-01-29 15:12

没-t的。
● 鸣学
头像
chewbaaca
帖子: 126
注册时间: 2006-08-25 16:24
来自: Beijing
联系:

#7

帖子 chewbaaca » 2007-01-29 20:46

哦,看错了
习惯
mount -t smbfs -o username=username,password=password //server1/folder /smb-folder
nothing special....
enjoy using command line console
enjoy the colour build by black and white
网兜
http://www.wangdooou.com/w

U-day
http://www.uaresmiling.com/tiki

Uaresmiling
小楼
帖子: 14
注册时间: 2007-01-30 22:14

#8

帖子 小楼 » 2007-02-07 8:45

为什么我输入mount -t smbfs -o username=username,password=password //server1/folder /smb-folder后会出现
cli_negprot: SMB signing is mandatory and we have disabled it.
3619: protocol negotiation failed
SMB connection failed
用的是6.10
回复