common_linux:mount_cifs_as_home
Монтирование cifs каталога
$ apt install -y cift-utils $ mkdir .secrets $ vi .secrets/username.creds user=username password=P@ssw0rd domain=workgroup $ vi /etc/fstab //192.168.101.100/home /mnt/cifs/homes/username cifs uid=1000,gid=1000,credentials=/root/.secrets/username.creds,iocharset=utf8,vers=3.0,noperm 0 0 $ mkdir /mnt/cifs/homes/sh -p $ systemctl daemon-reload $ mount -a
common_linux/mount_cifs_as_home.txt · Последнее изменение: 2024/12/21 19:00 — 127.0.0.1