Skip to content

Instantly share code, notes, and snippets.

@ridingintraffic
Last active December 5, 2018 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ridingintraffic/0c56c11b0029847df62a9182cafb3175 to your computer and use it in GitHub Desktop.
Save ridingintraffic/0c56c11b0029847df62a9182cafb3175 to your computer and use it in GitHub Desktop.
#/etc/sudoers.d/012-twoflower
twoflower discworld=(rincewind) /bin/cat /luggage/camera/*
root@discworld:/ $ ls -lA /luggage
total 8
drwxr-xr-x 2 twoflower twoflower 4096 Dec 5 02:37 camera
drwx------ 2 rincewind rincewind 4096 Dec 5 02:40 octavo
root@discworld:/luggage $ ls -la /luggage/octavo/
total 12
drwx------ 2 rincewind rincewind 4096 Dec 5 02:40 .
drwxrwxrwx 4 root root 4096 Dec 5 02:37 ..
-rwx------ 1 rincewind rincewind 67 Dec 5 02:40 spell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment