Ensure cosmic-greeter is part of the video group
This commit is contained in:
parent
48c191e0ee
commit
64174e515f
1 changed files with 3 additions and 0 deletions
3
debian/cosmic-greeter.postinst
vendored
3
debian/cosmic-greeter.postinst
vendored
|
|
@ -22,6 +22,9 @@ if ! getent passwd cosmic-greeter >/dev/null; then
|
|||
usermod -c "COSMIC Greeter" cosmic-greeter
|
||||
fi
|
||||
|
||||
# ensure cosmic-greeter user is part of the video group
|
||||
adduser cosmic-greeter video
|
||||
|
||||
# debconf is not a registry, so we only fiddle with the default file if
|
||||
# the configure script requested an update
|
||||
if [ -e $DEFAULT_DISPLAY_MANAGER_FILE.debconf-update ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue