Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.You want to find all files on your server that have either the SGID or SUID permission set. Which command should you use to obtain

1.You want to find all files on your server that have either the SGID or SUID permission set. Which command should you use to obtain a list of these files?

Select one:

a. find / -perm +6000 -type f

b. find / -perm +4000 -type f

c.find / -perm +2000 -type f

d.find / -perm +1000 -type f

2. Which of the following octal file permissions represents read and write access for the owner, read access for the group, and no access for anybody else?

Select one:

a. 664

b. 420

c. 640

d. 421

3. What does the following command accomplish?

# chown one:two three

Select one:

a. It assigns ownership of the file three to the user one and the group two

b.It assigns ownership of the file one to the owner two and the group three.

c. It assigns ownership of the file two to the owner one and the group three

d.It assigns ownership of the file one to the owner three and the group two.

4. What is the effect of typing cp -Rpf ./sample ~/ as an ordinary user? (Choose all that apply.)

Select one or more:

a.The sample file or directory is copied from the current directory to the users home directory.

b.The copy operation halts at filesystem boundaries; if a filesystem is mounted somewhere under sample, it wont be copied.

c. Permissions and time stamps on the copied files are preserved.

d.If the target directory holds files of the specified names, theyre overwritten without prompting.

5. What mount option is required to enable user quota support on filesystems that provide this support?

Select one:

a.usrquota

b.quotaon

c.addquota

d. quota

6. Which of the following utilities should be used to delete an entire directory filled with files?

Select one:

a. deltree

b. del

c. rmdir

d. rm -R

7. Where may users home directories reside?

Select one:

a. Only in the /home directory

b. Only in the /users directory

c. In any directory that resides on its own partition

d. In any directory that can hold normal files

8. You want to give ownership of a file youve created to another user. What must you do before you can do this with chown?

Select one:

a. Ensure that the target user has read access to the file

b. Place the file in a directory owned by the target user

c. Place the file on an ext2 filesystem

d. Acquire root privileges

9. Which of the following directories is least likely to be shared via NFS?

Select one:

a. /opt

b. /home

c. /etc

d. /usr/X11R6

10. What can symbolic links do that hard links cannot do?

Select one:

a. Use different names for the link and the linked-to file

b. Link files on two different filesystems

c. Enforce identical permissions on the link and the original file

d. Provide easy access from GUI file managers

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Multimedia Database Systems

Authors: V.S. Subrahmanian

1st Edition

1558604669, 978-1558604667

More Books

Students also viewed these Databases questions