Skip to content

Instantly share code, notes, and snippets.

@map7
Created March 4, 2020 05:28
Show Gist options
  • Save map7/b5ca8988660dca5479b5b2247f040a30 to your computer and use it in GitHub Desktop.
Save map7/b5ca8988660dca5479b5b2247f040a30 to your computer and use it in GitHub Desktop.
Enter user into 'plugdev' group by editing /etc/groups on the LTSP machine
Enter chroot
: ltsp-chroot -m
Add the following to chroot:/etc/polkit-1/localauthority/50-local.d/org.freedesktop.automount.pkla
: [Allow Unauthorized mounting/Unmounting]
: Identity=unix-group:plugdev;cdrom
: Action=org.freedesktop.udisks2.filesystem-*;org.freedesktop.udisks2.eject*
: ResultAny=yes
: ResultInactive=yes
: ResultActive=yes
Exit chroot
: exit
Build image, and reboot fat client
: ltsp-update-image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment