remove shell

This commit is contained in:
root
2023-09-24 18:46:20 +03:00
parent 78f49dc907
commit 65914f8895
26 changed files with 132 additions and 132 deletions

View File

@ -5,12 +5,12 @@ date: 2023-05-12T18:10:00+05:00
tags: [linux, krb5]
---
## Установка пакета
```shell
```
apt install cifs-utils -y
```
## Создание файла с данными УЗ
```shell
```
username=<username>
password=<password>
domain=<domain>
@ -19,24 +19,24 @@ domain=<domain>
```
## Смена прав на файл с данными УЗ
```shell
```
sudo chmod 0400 /root/.smbuser
```
## Развёртывание
```shell
```
//<address> /<folder> cifs credentials=/root/.smbuser,uid=<uid>,gid=<gid> 0 0
# /etc/fstab
```
## Монтирование всех директорий
```shell
```
mount -a
```
## Монтирование ручками (необязательно)
```shell
```
mount -t cifs //<address> /<folder> -o \
username=<username>,password=<password>,domain=<domain>
```