summaryrefslogtreecommitdiff
path: root/sysusers.d/systemd.conf.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-12 23:22:27 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-12 23:22:27 +0200
commitf8b5d99408e016ecb3d9bcffcee8c65ef6bc26f6 (patch)
treee73178a8d73b8f2a6768b5fcbdc64c9f62cfd944 /sysusers.d/systemd.conf.in
parent7ec9fb4be987164b1622a4de2c6c96c52bd87b35 (diff)
sysuser: generate default snippet incorporating TTY_GID properly
When the user specifies --with-tty-gid= then we should honour that and write it to the snippet, too.
Diffstat (limited to 'sysusers.d/systemd.conf.in')
-rw-r--r--sysusers.d/systemd.conf.in45
1 files changed, 45 insertions, 0 deletions
diff --git a/sysusers.d/systemd.conf.in b/sysusers.d/systemd.conf.in
new file mode 100644
index 0000000000..b34a8071aa
--- /dev/null
+++ b/sysusers.d/systemd.conf.in
@@ -0,0 +1,45 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+# The superuser
+u root 0 "Super User"
+
+# The nobody use for NFS file systems
+u nobody 65534 "Nobody"
+
+# Administrator group: can *see* more than normal users
+g adm - -
+
+# Administrator group: can *do* more than normal users
+g wheel - -
+
+# Access to certain kernel and userspace facilities
+g kmem - -
+g lock - -
+g tty @TTY_GID@ -
+g utmp - -
+
+# Hardware access groups
+g audio - -
+g cdrom - -
+g dialout - -
+g disk - -
+g input - -
+g lp - -
+g tape - -
+g video - -
+
+# Default group for normal users
+g users - -
+
+# Users and groups for specific systemd subsystems
+g systemd-journal - -
+u systemd-journal-gateway - "systemd Journal Gateway"
+u systemd-bus-proxy - "systemd Bus Proxy"
+u systemd-network - "systemd Network Management"
+u systemd-resolve - "systemd Resolver"
+u systemd-timesync - "systemd Time Synchronization"