leonchan

sudo mount -t cifs //hostName/shareFileName mountPoint -o username=\'username\',password=\'password\'

添加命令到/etc/fstab 下开机自启动,重启,挂载点就加载  //hostName/fileName /mountFilePath cifs username=用户名,password=密码 0 0(后面的两个参数表示挂载点的使用用户和用户组,0表示root用户)

分类:

技术点:

相关文章:

  • 2021-08-07
  • 2021-10-09
  • 2021-12-03
  • 2021-08-07
  • 2021-08-07
  • 2021-08-07
  • 2021-08-07
猜你喜欢
  • 2021-12-10
  • 2021-08-07
  • 2021-08-07
  • 2021-08-07
  • 2021-08-07
相关资源
相似解决方案