Term
| The _____ command prints a list of groups you belong to. The _____ command prints the same list, but includes group ID numbers (GIDs). |
|
Definition
|
|
Term
| Use the ______ command to change your primary group. After running this command new files are assigned to the alternate group. |
|
Definition
|
|
Term
| Only the ____ user can change ownership of a file. |
|
Definition
|
|
Term
| When using chown or chgrp the -R option specifies what? |
|
Definition
| Make permissions changes recursively. |
|
|
Term
Which is the correct syntax for chown to make bill the owner of invoice.odt? (a) chown bill invoice.odt (b) chown invoice.odt bill |
|
Definition
| (a) chown bill invoice.odt |
|
|
Term
| The mode contains three sections that describe permissions assigned to ______, _____, and _____. |
|
Definition
| users (owners), groups, others |
|
|
Term
| rw-rw---- will allow what permissions for the group? |
|
Definition
|
|
Term
| To change permissions to a file or directory use the _____ command. |
|
Definition
|
|
Term
What is the result of the following command? chmod a=x stupidtasks.sh |
|
Definition
| Sets execute permission for user, group and others for the stupidtasks.sh file. |
|
|
Term
| Using the numeric syntax for chmod, what are the numeric notations to represent read, write and execute? |
|
Definition
| read=4, write=2, execute=1 |
|
|
Term
What is the result of the following command? chmod 644 newfile.txt |
|
Definition
| assigns user read and write permission, group read permission and others read permission to the newfile.txt file. |
|
|
Term
| By default new files are not give the ______ permission. |
|
Definition
|
|
Term
| By default new directories are assigned ___ permission (no umask). |
|
Definition
| 777 (read,write,execute) for user, group and others |
|
|
Term
| You can temporarily change the unmask for your system using the _____ command. |
|
Definition
|
|
Term
| What are the three special permissions? |
|
Definition
| SUID (Set User ID), SGID (Set Group ID) and Sticky bit |
|
|
Term
| All three special permissions require the ______ permission to work properly. |
|
Definition
|
|
Term
What special permission(s) will the following command give to the /home/public/tmp directory? chmod o+t /home/public/tmp |
|
Definition
|
|