mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-11-07 17:04:32 +01:00
selinux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
aa6a58ce2e
commit
e0b966c214
@ -109,8 +109,8 @@ allow init_t user_tmp_t:file map;
|
||||
Run:
|
||||
|
||||
```bash
|
||||
checkmodule -M -m -o rustdesk.mod rustdesk.te && semodule_package -o rustdesk.pp -m rustdesk.mod && sudo semodule -i rustdesk.pp
|
||||
sudo semodule -l | grep rustdesk
|
||||
$ checkmodule -M -m -o rustdesk.mod rustdesk.te && semodule_package -o rustdesk.pp -m rustdesk.mod && sudo semodule -i rustdesk.pp
|
||||
$ sudo semodule -l | grep rustdesk
|
||||
```
|
||||
|
||||
### Create A Type "rustdesk_t"
|
||||
|
@ -108,8 +108,8 @@ allow init_t user_tmp_t:file map;
|
||||
执行:
|
||||
|
||||
```bash
|
||||
checkmodule -M -m -o rustdesk.mod rustdesk.te && semodule_package -o rustdesk.pp -m rustdesk.mod && sudo semodule -i rustdesk.pp
|
||||
sudo semodule -l | grep rustdesk
|
||||
$ checkmodule -M -m -o rustdesk.mod rustdesk.te && semodule_package -o rustdesk.pp -m rustdesk.mod && sudo semodule -i rustdesk.pp
|
||||
$ sudo semodule -l | grep rustdesk
|
||||
```
|
||||
|
||||
### 新建 rustdesk_t 的类型
|
||||
|
Loading…
Reference in New Issue
Block a user