NotificationServer: Remove unnecessary UID separation

This process is already sandboxed to the point where the UID doesn't
matter, so let's just stop having the separate "notify" user.
This commit is contained in:
Andreas Kling 2021-06-06 16:11:06 +02:00
parent 39c12f6f44
commit 3dc1787306
Notes: sideshowbarker 2024-07-18 12:45:59 +09:00
4 changed files with 4 additions and 7 deletions

View File

@ -52,11 +52,11 @@ BootModes=text,graphical,self-test
[NotificationServer]
Socket=/tmp/portal/notify
SocketPermissions=660
SocketPermissions=600
Lazy=1
Priority=low
KeepAlive=1
User=notify
User=anon
[LaunchServer]
Socket=/tmp/portal/launch

View File

@ -5,7 +5,6 @@ phys:x:3:window,anon
audio:x:4:anon
utmp:x:5:
lookup:x:10:anon
notify:x:12:anon
window:x:13:anon,notify
clipboard:x:14:anon,notify
window:x:13:anon
clipboard:x:14:anon
users:x:100:anon

View File

@ -1,6 +1,5 @@
root::0:0:root:/root:/bin/sh
lookup:!:10:10:LookupServer,,,:/:/bin/false
notify:!:12:12:NotificationServer,,,:/:/bin/false
window:!:13:13:WindowServer,,,:/:/bin/false
clipboard:!:14:14:Clipboard,,,:/:/bin/false
sshd:!:19:19:OpenSSH privsep,,,:/:/bin/false

View File

@ -1,6 +1,5 @@
root::18727::::::
lookup:!*:18727::::::
notify:!*:18727::::::
window:!*:18727::::::
clipboard:!*:18727::::::
sshd:!*:18727::::::