Red_Hat
EX300(23Q) · Question #11
Mount the samba share /opstack permanently beneath /mnt/smbspace on desktopX as a multiuser mount. The samba share should be mounted with the credentials of frankenstein.
yum -y install cifs-utils samba-client mkdir -p /mnt/smbspace vim /root/smb-multiuser.txt username=frankenstein password=Santago chmod 0600 /root/multiuser.txt vim /etc/fstab //server1.cluster /mnt/smbspace cifs defaults,sec=ntlm,sp_credentials=/root/smb-multiuser.txt,multiuser…
Configure SMB Client Mount
Question
Mount the samba share /opstack permanently beneath /mnt/smbspace on desktopX as a multiuser mount. The samba share should be mounted with the credentials of frankenstein.
Explanation
yum -y install cifs-utils samba-client
mkdir -p /mnt/smbspace
vim /root/smb-multiuser.txt username=frankenstein password=Santago
chmod 0600 /root/multiuser.txt
vim /etc/fstab //server1.cluster /mnt/smbspace cifs defaults,sec=ntlm,sp_credentials=/root/smb-multiuser.txt,multiuser 0 0
Topics
#CIFS multiuser mount#Samba credentials file#/etc/fstab#persistent SMB mount
Community Discussion
No community discussion yet for this question.