From 8f1d9c949d5549c5ddb431a720025b49f670b653 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 6 Jun 2021 17:50:45 +0200 Subject: 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. --- Base/etc/SystemServer.ini | 2 +- Base/etc/group | 1 - Base/etc/passwd | 1 - Base/etc/shadow | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) (limited to 'Base/etc') 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:::::: -- cgit v1.2.3