This commit is contained in:
root
2023-10-08 23:18:25 +03:00
parent a94c0c0a46
commit d9ca3f4de2
19 changed files with 35 additions and 35 deletions

View File

@ -12,7 +12,7 @@ apt install cifs-utils -y
## Создание файла с данными УЗ
В файл `/root/.smbuser` необходимо добавить данные УЗ для подключения к шаре:
```sh
```config
username=<username>
password=<password>
domain=<domain>
@ -25,7 +25,7 @@ sudo chmod 0400 /root/.smbuser
## Развёртывание
В `/etc/fstab` необходимо добавить строку подключения к шаре:
```sh
```config
//<address> /<folder> cifs credentials=/root/.smbuser,uid=<uid>,gid=<gid> 0 0
```