标签:domain name linux credentials 挂载 smb
主要记录下linux 挂载smb 的配置以及包含密码的使用说明
软件包准备
yum install cifs-utils
挂载
包含认证的,使用credentials 配置选项
//server_name/share_name /mnt cifs credentials=/root/smb.cred 0 0
credentials 格式
配置权限 chmod 600 /root/smb.cred
username=user_name
password=password
domain=domain_name
参考资料
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/mounting_an_smb_share
标签:domain,
name,
linux,
credentials,
挂载,
smb
From: https://www.cnblogs.com/rongfengliang/p/16815168.html