summaryrefslogtreecommitdiff
path: root/Base/etc
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-06 17:50:45 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-06 17:56:34 +0200
commit8f1d9c949d5549c5ddb431a720025b49f670b653 (patch)
tree938abb956f071acc8a06b66479d3589ebd332cc4 /Base/etc
parent3dc1787306c2708d1b47761c601ec2c022e123cb (diff)
downloadserenity-8f1d9c949d5549c5ddb431a720025b49f670b653.zip
Clipboard: 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 "clipboard" user.
Diffstat (limited to 'Base/etc')
-rw-r--r--Base/etc/SystemServer.ini2
-rw-r--r--Base/etc/group1
-rw-r--r--Base/etc/passwd1
-rw-r--r--Base/etc/shadow1
4 files changed, 1 insertions, 4 deletions
diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini
index fb2c6aab29..c062518617 100644
--- a/Base/etc/SystemServer.ini
+++ b/Base/etc/SystemServer.ini
@@ -82,7 +82,7 @@ User=anon
Socket=/tmp/portal/clipboard
SocketPermissions=660
Priority=low
-User=clipboard
+User=anon
[ResourceGraph.Applet]
Arguments=--cpu=CPUGraph,#00bb00 --memory=MemoryGraph,#00bbbb
diff --git a/Base/etc/group b/Base/etc/group
index e27697f9b7..085f87349d 100644
--- a/Base/etc/group
+++ b/Base/etc/group
@@ -6,5 +6,4 @@ audio:x:4:anon
utmp:x:5:
lookup:x:10:anon
window:x:13:anon
-clipboard:x:14:anon
users:x:100:anon
diff --git a/Base/etc/passwd b/Base/etc/passwd
index cf689bcc9c..97e84869fb 100644
--- a/Base/etc/passwd
+++ b/Base/etc/passwd
@@ -1,7 +1,6 @@
root::0:0:root:/root:/bin/sh
lookup:!:10:10:LookupServer,,,:/:/bin/false
window:!:13:13:WindowServer,,,:/:/bin/false
-clipboard:!:14:14:Clipboard,,,:/:/bin/false
sshd:!:19:19:OpenSSH privsep,,,:/:/bin/false
anon:!:100:100:Anonymous,,,:/home/anon:/bin/sh
nona:!:200:200:Nona,,,:/home/nona:/bin/sh
diff --git a/Base/etc/shadow b/Base/etc/shadow
index 9dca754c2f..7e26c6832c 100644
--- a/Base/etc/shadow
+++ b/Base/etc/shadow
@@ -1,7 +1,6 @@
root::18727::::::
lookup:!*:18727::::::
window:!*:18727::::::
-clipboard:!*:18727::::::
sshd:!*:18727::::::
anon:$5$zFiQBeTD88m/mhbU$ecHDSdRd5yNV45BzIRXwtRpxJtMpVI5twjRRXO8X03Q=:18727:0:99999::::
nona:!*:18727::::::