mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-06-26 04:53:59 +03:00
fix
This commit is contained in:
@ -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
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user