mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Backport pull request #8038 from jellyfin/release-10.8.z
Remove mount and unmount permissions for jellyfin group from sudoers
Authored-by: Shadowghost <Ghost_of_Stone@web.de>
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Original-merge: 9cebdfdec0
This commit is contained in:
parent
2c9b24a1e7
commit
28594ececa
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!STARTSERVER_INITD !requiretty
|
||||||
Defaults!STOPSERVER_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
|
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
|
$ 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
|
## Building with dotnet
|
||||||
|
|
||||||
Jellyfin is build with `--self-contained` so no dotnet required for runtime.
|
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
|
## TODO
|
||||||
|
|
||||||
- [ ] OpenSUSE
|
- [ ] OpenSUSE
|
||||||
|
@ -11,8 +11,4 @@ Defaults!RESTARTSERVER_SYSTEMD !requiretty
|
|||||||
Defaults!STARTSERVER_SYSTEMD !requiretty
|
Defaults!STARTSERVER_SYSTEMD !requiretty
|
||||||
Defaults!STOPSERVER_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
|
Defaults:jellyfin !requiretty
|
||||||
|
Loading…
Reference in New Issue
Block a user