单项选择题A system administrator wants to give full read/write/excute access to the owner and group of the /stuff directory and all subdirectories and files, but only allow read/execute for others. What command would the administrator use?()

A.chmod -R 775 /stuff
B.chmod -h 002 /stuff
C.chmod -R 577 /stuff
D.chmod ug+rwx,o+rx /stuff


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题

A user reports that they cannot cd to /tmp/application. A system administrator entered the following command:  
(1)ls -ld /tmp/application  
(2)drw-r--r-- 4 root system 512 Jan 15 14:09 application  
What is the most likely cause of the problem?()

A.The /tmp/application should be globally writable.
B.The /tmp/application directory should be executable.
C.The /tmp/application directory should be owned by the user.
D.The /tmp/application directory should have the sticky bit set.

2.单项选择题

Given the following script, why does the output come out as an empty line instead of "dog"?()

A.The $VAR variable was not exported
B.The $VAR should have been set as VAR
C.dog needs double quotes around it when setting $VAR
D.The { } should not be around VAR in the echo command

3.单项选择题

Review the following program.

What is the possible problem?()

A.#!/bin/ksh line is missing
B.Variable name VAR is not properly initialized
C.Loop variable is not incremented inside the loop
D.Loop variable is not decremented inside the loop

6.单项选择题A system administrator wants to configure a system so that all new users will be put into the database group by default. How would this be accomplished?()

A.remove all other groups from the system
B.run the command mkuser -default "GROUP=database"
C.change the default group in /usr/lib/security/mkuser.default
D.edit /etc/security/group to move all users to the database stanza

7.单项选择题A system administrator would like to modify the system default user characteristics so that each new user will now be assigned (by default) the csh shell rather than the ksh shell. Which of the following actions should be performed?()

A.Run the command chlogin -shell "csh"
B.Run the command mkuser -default "SHELL=csh"
C.Edit /etc/passwd and change all "ksh" entries to "csh"
D.Modify the contents of /usr/lib/security/mkuser.default file

8.单项选择题For security reasons, an administrator is asked to modify the system to prevent someone from leaving a terminal logged in. To enable a five minute timeout for all users, what would need to be done to accomplish this task?()

A.Add the following line to /etc/environment:  TMOUT=300
B.Add the following lines to /.profile  TMOUT=5  export TMOUT
C.Execute the following command:  chuser -u ALL -a TIMEOUT=5M
D.Execute the following command:  chsec -u ALL -a TIMEOUT=600

9.单项选择题Which action changes the default editor for ALL users on the system from vi to edit of the following?()

A.Issue the command:  export EDITOR=/usr/bin/edit
B.Modify /.profile and change the EDITOR variable to /usr/bin/edit
C.Modify /etc/environment and add  EDITOR=/usr/bin/edit  export EDITOR
D.Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit

10.单项选择题How does a system administrator add a new user to a system?()

A.mkuser
B.cruser
C.adduser
D.edit /etc/password

最新试题

In which directory are the basic Linux commands such as gzip, gunzip and zcat installed?()

题型:单项选择题

A system administrator is attempting to restore some files from a backup tape. The restore failed. The system administrator suspects the block size of the tape drive is incorrect. Which of the following commands can be used to determine the block size of the backup tape?()

题型:单项选择题

Review the following program.What is the possible problem?()

题型:单项选择题

How can permissions be set up on /tmp so that a user cannot delete another user’s files?()

题型:单项选择题

A system administrator performs a full backup every Saturday evening and incremental backups the rest of the week. The system failed on Thursday and needs to be restored. Which backup tapes will be required to restore the system to its most recent recoverable state?()

题型:单项选择题

A user’s print jobs default to PRINTER_A.The user wants to change their default printer to PRINTER_B.How can the system administrator change the user’s default printer to PRINTER_B?()

题型:单项选择题

A system administrator wants to configure a system so that all new users will be put into the database group by default. How would this be accomplished?()

题型:单项选择题

Which command will run myscript and redirect stdout and sterr to /tmp/myoutput?()

题型:单项选择题

Which command can a system administrator use to verify that a tape is in backup format and is readable by the system?()

题型:单项选择题

How can a directory be excluded from a mksysb backup of the following?()

题型:单项选择题