1. 本地挂载windows系统网盘
1)id获取本地用户信息
# id
uid=1000(gxq) gid=1000(gxq) groups=1000(gxq),4(adm),24(iso),27(sudo),30(dip),46(plugdev),108(lpadmin),124(sambashare),137(nginx),139(go)
2)挂载
mount -t cifs //10.20.120.7/in /media/tmpWin5file/ -o username='yl',password='yltest',uid=1000
#或者
#mount -t cifs //192.168.117/in /media/tmpWin6file/ -o username='jl',password='2022',uid=gxq