mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-16 03:30:23 -07:00
20 lines
423 B
Bash
Executable File
20 lines
423 B
Bash
Executable File
#!/bin/sh
|
||
|
||
# Give Xorg setgid to /dev/input.
|
||
chown :input "$1/usr/bin/Xorg"
|
||
chmod g+s "$1/usr/bin/Xorg"
|
||
|
||
cat <<EOF
|
||
|
||
NOTE: You must be a part of the [1mvideo[m group
|
||
for rootless xorg-server to work.
|
||
|
||
NOTE: This groups based permissions model may not
|
||
be suitable if KISS will be used as a multi
|
||
user system. Further configuration can be
|
||
done at your own discretion.
|
||
|
||
-> addgroup USER video
|
||
|
||
EOF
|