module 2 day 4, final day of module 2: supplemental reading for special permissions in windows through Permissions Quiz Flashcards
what can groups or users do with Full control?
groups or users granted full control permissions on a folder can delete any files in that folder regardless of the permissions protecting the file
Although they have the same special permissions, what permissions are inherited differently?
List Folder Contents and Read&Execute
What is inherited by folders but not files?
List Folder Contents
What is inherited by both files and folder and is always present when you view file or folder permissions?
read&execute
What group does not include the Anonymous Logon group by default?
the Everyone group, so permissions applied to the Everyone group do not affect the Anonymous Logon group.
what do you need special permissions for in Linux?
Giving a normal user root access
How can we write or scramble passwords in the shadow file if it is owned by root?
a special permission bit known as setuid
what does setuid do?
enable files to be run set by the permissions of the owner of the file
how do you run the passwd command? what are you running it as?
as root
in rws, what does the s permission stand for?
setuid
what allows us to run the file with the permissions of the owner of the file?
when the S is substituted where a regular bit would be in the first three bits of permissions
how do you enable the setuid bit? what two methods are available?
symbolically or numerically
how do you enable the setuid bit in symbolic format? for mycoolfile.txt
use an s.
sudo chmod u+s mycoolfile.txt
how do you enable the setuid bit in numeric format? for filename.txt
sudo chmod 4755 filename.txt
you prepend a 4 to the other permissions for the file to enable setuid.
how can I run a file similar to setuid?
with group permissions
what does the passwd command do?
it scrambles our password and adds it to the shadow file
what does setuid do?
allows the file to be run by the permissions of the owner of the file
what is setUID?
a special permission
what is s replacing for setuid?
x
what can you use to run a file with group permissions?
SetGID
how can you see if the setGID is enabled?
run:
ls -l /usr/filename,
and you look in the bits 4-6 of the permissions