How? what? This is simply the way that the wildcard works with sudo. has read the spell inside of the octavo and everything has ended. $ sudo -u rincewind cat /luggage/camera/./octavo/spellĪshonai. Sorry, user twoflower is not allowed to execute '/bin/cat /luggage/octavo/spell' as rincewind on discworld. $ sudo -u rincewind cat /luggage/octavo/spell User twoflower may run the following commands on discworld: Matching Defaults entries for twoflower on discworld:Įnv_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin We feel pretty good about this setup, it has only allowed twoflower a single command in a single path. rwx- 1 rincewind rincewind 67 Dec 5 02:40 spell Twoflower discworld=(rincewind) /bin/cat $ ls -lA /luggageĭrwxr-xr-x 2 twoflower twoflower 4096 Dec 5 02:37 cameraĭrwx- 2 rincewind rincewind 4096 Dec 5 02:40 $ ls -la /luggage/octavo/ĭrwx- 2 rincewind rincewind 4096 Dec 5 02:40. Rincewind feels pretty good that twoflower will never be able to read anything in the octavo and certainly never be able to read the spell located in the folder and file permissions are both set with 0700.īelow is the output of /etc/sudoers.d/012-twoflower file and a command output. Because, we don’t know what the photos will be named we will wildcard all the filenames in /luggage/camera/* luggage/camera/ /luggage/octavo/ We have allowed twoflower to run only the cat command as rincewind, and only in the location /luggage/camera/ folder. Because, rincewind doesn’t want twoflower to read the octavo, but is fine if he looks at the camera, both which are located in the in the luggage. Rincewind and twoflower are two users who have been traveling with this luggage for sometime. The luggage is carrying some incredibly valuable things. Let’s say that we have a folder named /luggage/. Sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user. He said, "sudo you are welcome." The post (shown below, right) received more than 10 retweets and 130 likes in 24 hours.Sudo make me a sandwich, then I’ll pwn your fridge # THIS INCIDENT WILL BE REPORTED." The post (shown below, center) received more tahn 2,400 retweets and 6,800 likes in 24 hours.Īmong the people to respond 0xMatt's tweet was Bob Coggeshall, the author of sudo. The next day, Twitter user retweeted and added the caption, "Boy: I LOVE YOU Girl: I HAVE A BOYFRIEND Boy: SUDO I LOVE YOU Girl: BOY IS NOT IN THE SUDOERS FILE. They captioned the joke "Sexism, the tech edition." The post (shown below, left) received more than 255 retweets and 850 likes in two days. The following year, Twitter user posted a screen capture of the Facebook account Programming Jokes advertising a shirt with the joke on it. The post (shown below) received more than 400 reactions and 50 shares in one year. On February 5th, 2017, Facebook account techworm.in posted an image of the joke "Me: I love you Girl: I have a boyfriend Me: Sudo I love you Girl: I love you too. Several months later, on October 22nd, Twitter user tweeted, 'Me: I love you □ Girl: I have a boyfriend Me: sudo I love you Girl: I love you too □" (shown below, right) On February 8th 2016, the Facebook account for the Linux website TecMint posted an ASCII Art image of a boy holding a sign that reads "Me: Will you be my Valentine? Girl: No way Me: sudo will you be my valentine? Girl: Yes…yes…yes! Let's go!" The post (shown below, center) received more than 5,600 reactions and 10,000 shares in two years. On May 26th, 2015, Twitter user tweeted (shown below, left), "#Engineer me: i love you she: how dare you! You have NO RIGHT to say so!! me: sudo i love you *blocked*" They defined the command as "Put in front of any word, spoken or writen, and it will command anyone to do anything you want them to do." The post (shown below) received more than 440 upvotes in 11 years. On December 11th, 2006 by Urban Dictionary user Rave4Simon. One says to the other "Make me a sandwich." When the request is denied, the one seated says, "Sudo make me a sandwich," and the other obliges (shown below). The earliest known usage online of the "Sudo" command used in a joke was posted in a comic by XKCD on August 28th, 2006. Sudo was creted by Bob Coggeshall and Cliff Spencer in 1980 at the Department of Computer Science at SUNY/Buffalo.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |