Directory That Stores SSH Keys Right Ans - /home/.ssh/
Copies Public Key to 'serverX' Right Ans - ssh-copy-id serverX
Renames 'File1' to 'MyFile' Right Ans - mv File1 MyFile
Creates a Directory 'Music' Along with Parent 'MyDocs' Right Ans - mkdir -
p /MyDocs/Music
Creates a Soft Link for 'original' at 'link' Right Ans - ln -s original link
Creates a Hard Link for 'original' at 'link' Right Ans - ln original link
File that contains important information for Shadow Passwords Right Ans -
/etc/login.defs
Specifies a supplementary group 'hobbits' for user 'bbaggins' Right Ans -
usermod -G hobbits bbaggins
Moves user 'bbaggins' home folder (and old contents) to '/shire' Right Ans
- usermod -md /shire bbaggins
Specifies new home folder for user 'bbaggins' (without moving old contents)
to '/shire' Right Ans - usermod -d /shire bbaggins
Removes user 'bbaggins' but keeps his home directory intact Right Ans -
userdel bbaggins
Removes user 'bbaggins' and his home directory Right Ans - userdel -r
bbaggins
Makes user 'bbaggins' change his password every 30 days Right Ans -
chage -M 30 bbaggins
, Warns user 'bbaggins' of 5 days until password expiration Right Ans -
chage -W 5 bbaggins
Makes user 'bbaggins' change his password on next login Right Ans - chage
-d 0 bbaggins
Sets 'bbaggins' password to expire on 2015-08-23 Right Ans - chage -E
2015-08-23 bbaggins
Sets 'bbaggins' account to lock after 5 days of password expiration date
Right Ans - chage -I 5 bbaggins
GUI way to automate authentication configurations Right Ans - authconfig-
gtk
Retrieves information about network user 'internetdude' Right Ans -
getent passwd internetdude
Adds read access for everyone to the file 'dankmemes.txt' Right Ans -
chmod a+r dankmemes.txt
Allows read/write/execute for file owner of 'dankmemes.txt' but only allows
read and execute for group, and nothing for everyone else Right Ans -
chmod 750 dankmemes.txt
Restricts group execution of 'dankmemes.txt' Right Ans - chmod g-x
dankmemes.txt
Allows a user to execute 'dankmemes.txt' as the files creator Right Ans -
chmod u+s dankmemes.txt
Restricts everyone from deleting files in directory '/baybay' except for root
and owner Right Ans - chmod o+t /baybay
Affiliates files in directory '/baybay' with group rather than file owner
Right Ans - chmod g+s /baybay
Disallows execution for group owners for all FUTURE files Right Ans -
umask g-x
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller LeCrae. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.