which command would you use to protect these files from a user who might get the UID or GID as shown below?

You have the /tools directory on a system with critical system files reserved for future use. As a
Linux administrator which command would you use to protect these files from a user who might
get the UID or GID as shown below?
[root@server1 ~]# Is -Id /tools/
drwxrwx- 108 517 527 4096 Mar 26 20:00 /tools/

You have the /tools directory on a system with critical system files reserved for future use. As a
Linux administrator which command would you use to protect these files from a user who might
get the UID or GID as shown below?
[root@server1 ~]# Is -Id /tools/
drwxrwx- 108 517 527 4096 Mar 26 20:00 /tools/

A.
chmod o+t /tools

B.
chmod u+s /tools

C.
chown-R 0.0/tools

D.
chown -R nobody.nobody /tools



Leave a Reply 0

Your email address will not be published. Required fields are marked *