Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ba435a0
New translations 06-users.md (Chinese Simplified)
rockylinux-auto Jan 29, 2024
3d61418
New translations nvchad_ui.md (Ukrainian)
rockylinux-auto Jan 30, 2024
f3d1166
New translations nvimtree.md (Ukrainian)
rockylinux-auto Jan 30, 2024
fc47ede
New translations index.md (Ukrainian)
rockylinux-auto Jan 30, 2024
7ad5148
New translations additional_software.md (Ukrainian)
rockylinux-auto Jan 30, 2024
335d063
New translations using_nvchad.md (Ukrainian)
rockylinux-auto Jan 30, 2024
9eb2e15
New translations plugins_manager.md (Ukrainian)
rockylinux-auto Jan 30, 2024
bc25364
New translations template_chadrc.md (Ukrainian)
rockylinux-auto Jan 30, 2024
6413d7b
New translations install_nvchad.md (Ukrainian)
rockylinux-auto Jan 30, 2024
5a5996c
New translations vale_nvchad.md (Ukrainian)
rockylinux-auto Jan 30, 2024
4b15dd4
New translations mkdocs_venv.md (Ukrainian)
rockylinux-auto Jan 30, 2024
6ca625d
New translations md_preview.md (Ukrainian)
rockylinux-auto Jan 30, 2024
9b0b06d
New translations projectmgr.md (Ukrainian)
rockylinux-auto Jan 30, 2024
e10bdac
New translations marksman.md (Ukrainian)
rockylinux-auto Jan 30, 2024
5709330
New translations php.md (Italian)
rockylinux-auto Jan 31, 2024
c56dc41
New translations plugins_manager.md (Italian)
rockylinux-auto Jan 31, 2024
7f3aba1
New translations 14-special-authority.md (Ukrainian)
rockylinux-auto Feb 1, 2024
b771e3d
New translations 1_regular_expressions_vs_wildcards.md (Ukrainian)
rockylinux-auto Feb 1, 2024
3789fc4
New translations 2_grep_command.md (Ukrainian)
rockylinux-auto Feb 1, 2024
61b16d1
New translations 3_sed_command.md (Ukrainian)
rockylinux-auto Feb 1, 2024
d8350af
New translations 4_awk_command.md (Ukrainian)
rockylinux-auto Feb 1, 2024
fc2244a
New translations index.md (Ukrainian)
rockylinux-auto Feb 1, 2024
0cfcd48
New translations xfce_installation.md (Ukrainian)
rockylinux-auto Feb 2, 2024
e3694e0
New translations index.md (Italian)
rockylinux-auto Feb 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
391 changes: 204 additions & 187 deletions docs/books/admin_guide/06-users.zh.md

Large diffs are not rendered by default.

31 changes: 18 additions & 13 deletions docs/books/admin_guide/14-special-authority.uk.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Shell > setfacl -b FILE_NAME

!!! info "примітка"

Рекурсія застосовується до файлів/каталогів, які вже існують.
Рекурсія підходить для файлів/каталогів, які вже існують у каталозі.

Розглянемо наступний приклад:

Expand Down Expand Up @@ -290,6 +290,10 @@ default:mask::rwx
default:other::---
```

!!! info "Інформація"

За замовчуванням і рекурсія використання дозволів ACL вимагає, щоб робочим об’єктом команди був каталог! Якщо об’єктом операції є файл, буде виведено повідомлення про помилку.

### SetUID

Роль "SetUID":
Expand All @@ -305,7 +309,7 @@ default:other::---

Як бачите, звичайні користувачі мають лише r та x, але x власника стає s, доводячи, що команда `passwd` має дозволи SUID.

Добре відомо, що звичайні користувачі (uid >= 1000) можуть змінити свій пароль. Справжній пароль зберігається у файлі **/etc/shadow**, але дозвіл тіньового файлу становить 000, і звичайні користувачі не мають жодних дозволів.
Добре відомо, що звичайні користувачі (uid >= 1000) можуть змінювати свої паролі. Фактичний пароль зберігається у файлі **/etc/shadow**, але дозвіл файлу тіней становить 000, і звичайні користувачі не мають жодних дозволів.

```bash
Shell > ls -l /etc/shadow
Expand Down Expand Up @@ -467,7 +471,7 @@ Shell > su - tom
Shell(tom) > rm -rf /tmp/tom_file1
```

!!! info "Інформація"
!!! info "примітка"

користувачі root (uid=0) не обмежені дозволами SUID, SGID і SBIT.

Expand Down Expand Up @@ -550,10 +554,10 @@ Shell > chattr -i /tmp/filei /tmp/diri

#### Опис атрибута a:

| | Видалення | Модифікація | Додавання вмісту файлу | Перегляд | Створення файлу |
|:-------:|:----------------------------------------:|:------------------------------:|:------------------------------:|:------------------------------:|:---------------:|
| файл | × | × | √ | √ | - |
| каталог | x <br>(Каталог і файли в каталозі) | <br>(Файли в каталозі) | √ <br>(Файли в каталозі) | √ <br>(Файли в каталозі) | √ |
| | Видалення | Модифікація | Додавання вмісту файлу | Перегляд | Створення файлу |
|:-------:|:----------------------------------------:|:-----------------------------:|:------------------------------:|:------------------------------:|:---------------:|
| файл | × | × | √ | √ | - |
| каталог | x <br>(Каталог і файли в каталозі) | x<br>(Файли в каталозі) | √ <br>(Файли в каталозі) | √ <br>(Файли в каталозі) | √ |

Приклади для файлу:

Expand Down Expand Up @@ -584,19 +588,19 @@ Shell > mkdir /etc/dira
Shell > cd /etc/dira && echo "asdf" > afile

Shell > chattr +a /etc/dira
Shell > lsattr -a /etc/dira
Shell > lsattr -ad /etc/dira
-----a--------e----- /etc/dira/

Shell > rm -rf /etc/dira
rm: cannot remove '/etc/dira/afile': Operation not permitted

# Allow modification
# Free modification is not allowed
Shell > vim /etc/dira/afile
asdf-bcd
asdf

Shell > echo "new line" >> /etc/dira/afile
Shell > cat /etc/dira/afile
asdf-bcd
asdf
new line

# Allow creation of new files
Expand Down Expand Up @@ -648,7 +652,8 @@ Shell > visudo
99 ## Allow root to run any commands anywhere
100 root ALL=(ALL) ALL
↓ ↓ ↓ ↓
1 2 3 4...
1 2 3 4
...
```

| Частина | Опис |
Expand All @@ -666,7 +671,7 @@ Shell > visudo
101 tom ALL=/sbin/shutdown -r now
...

# Ви можете використовувати опцію "-c", щоб перевірити наявність помилок у написанні /etc/sudoers.
# You can use the "-c" option to check for errors in /etc/sudoers writing.
Shell > visudo -c

Shell > su - tom
Expand Down
4 changes: 2 additions & 2 deletions docs/books/nvchad/additional_software.uk.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags:

У Rocky Linux 8 і 9 ви можете встановити RipGrep з EPEL. Для цього встановіть `epel-release,` оновіть систему, а потім інсталюйте `ripgrep.`:

```
```bash
sudo dnf install -y epel-release
sudo dnf upgrade
sudo dnf install ripgrep
Expand Down Expand Up @@ -74,7 +74,7 @@ sudo dnf install lazygit

![LazyGit UI](images/lazygit_ui.png)

За допомогою клавіші <kbd>x</kbd> ми можемо відкрити меню з усіма доступними командами.
За допомогою клавіші ++x++ ми можемо відкрити меню з усіма доступними командами.

![LazyGit UI](images/lazygit_menu.png)

Expand Down
Loading