Remove mount and unmount permissions for jellyfin group from sudoers
This commit is contained in:
parent
54778d875d
commit
891ccd7bb2
4
debian/conf/jellyfin-sudoers
vendored
4
debian/conf/jellyfin-sudoers
vendored
|
@ -30,8 +30,4 @@ Defaults!RESTARTSERVER_INITD !requiretty
|
|||
Defaults!STARTSERVER_INITD !requiretty
|
||||
Defaults!STOPSERVER_INITD !requiretty
|
||||
|
||||
#Allow the server to mount iso images
|
||||
jellyfin ALL=(ALL) NOPASSWD: /bin/mount
|
||||
jellyfin ALL=(ALL) NOPASSWD: /bin/umount
|
||||
|
||||
Defaults:jellyfin !requiretty
|
||||
|
|
|
@ -18,14 +18,6 @@ $ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-re
|
|||
$ sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
|
||||
```
|
||||
|
||||
## ISO mounting
|
||||
|
||||
To allow Jellyfin to mount/umount ISO files uncomment these two lines in `/etc/sudoers.d/jellyfin-sudoers`
|
||||
```
|
||||
# %jellyfin ALL=(ALL) NOPASSWD: /bin/mount
|
||||
# %jellyfin ALL=(ALL) NOPASSWD: /bin/umount
|
||||
```
|
||||
|
||||
## Building with dotnet
|
||||
|
||||
Jellyfin is build with `--self-contained` so no dotnet required for runtime.
|
||||
|
@ -40,4 +32,4 @@ $ sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-
|
|||
|
||||
## TODO
|
||||
|
||||
- [ ] OpenSUSE
|
||||
- [ ] OpenSUSE
|
||||
|
|
|
@ -11,8 +11,4 @@ Defaults!RESTARTSERVER_SYSTEMD !requiretty
|
|||
Defaults!STARTSERVER_SYSTEMD !requiretty
|
||||
Defaults!STOPSERVER_SYSTEMD !requiretty
|
||||
|
||||
# Allow the server to mount iso images
|
||||
jellyfin ALL=(ALL) NOPASSWD: /bin/mount
|
||||
jellyfin ALL=(ALL) NOPASSWD: /bin/umount
|
||||
|
||||
Defaults:jellyfin !requiretty
|
||||
|
|
Loading…
Reference in New Issue
Block a user