Advertisement
Guest User

Untitled

a guest
May 29th, 2015
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. (Do this “essay” question during the quiz -- up to 10 points. There are two options, depending on whether you take the quiz on a Linus distribution or from Windows, for some reason.)
  2.  
  3. [OPTION A - from a Linux distribution with sFTP]
  4. 1. Logged in to your Linux distro as any user, Redirect the results of the “set |grep PATH=” command into a text file in your working directory called “quiz4.username” where username = your Linus username.
  5. 2. Use any version of sFTP to put the file in your personal directory (lastname-f) on the Linus server (linus.lwtech.edu). Set the SGID permission on the file if you are using sFTP. Leave the other default permissions unchanged.
  6.  
  7. [OPTION B - from a Linux or Windows distribution with ssh]
  8. 1. Log in via ssh to linus.lwtech.edu as your normal user.
  9. 2. Redirect the results of the “set |grep PATH=” command on Linus into a text file in your working directory called “quiz4.username” where username = your Linus username.
  10. 3. Add the special SUID permission to the file. Leave the other default permissions unchanged.
  11.  
  12. Log out of Linus when done. This will be graded AFTER the quiz closes and the points will be added before Monday
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement