File Permissions Flashcards

1
Q

r w x

A

4 2 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

remove execute permission

A

chmod u-w hashcat.hcstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

find file having setuid

A

find / -user root -perm -4000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

add the execute permission for the user as well as the execute permission for others

A

chmod u+x, o+x hashcat.hcstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

change ownership

A

chown ➊bob ➋/tmp/bobsfile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

change grp

A

chgrp ➊security ➋newIDS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

umask path

A

/home/username/.profile and, for example, add umask 007

How well did you know this?
1
Not at all
2
3
4
5
Perfectly