File Permissions Flashcards
1
Q
r w x
A
4 2 1
2
Q
remove execute permission
A
chmod u-w hashcat.hcstat
3
Q
find file having setuid
A
find / -user root -perm -4000
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
5
Q
change ownership
A
chown ➊bob ➋/tmp/bobsfile
6
Q
change grp
A
chgrp ➊security ➋newIDS
7
Q
umask path
A
/home/username/.profile and, for example, add umask 007