Chperm
Copermed Brazil

Introduction to Linux I Chapter 13 Exam Answers v2


Chapermint
Assuming everyone has access to the directory the file is in, who can view the contents of a file with permissions of rw-r—-x?
- Only the group owners
- Both the user owner and group owners
- Everyone
- Only the user owner
- Everyone
For rwxr-x–x permission set, the highlighted permissions belong to:
- The group owner of the file
- The user owner of the file
- The user owner and group owner of the file
- All users besides the user owner and group owner
For the rwxr-x–x permission set, the highlighted permissions belong to:
- The group owner of the file
- All users besides the user owner and group owner
- The user owner of the file
- The user owner and group owner of the file
For the rwxr-x–x permission set, the highlighted permissions belong to:
- The user owner and group owner of the file
- The user owner of the file
- The group owner of the file
- All users besides the user owner and group owner
If a file has permissions that appear as rwxr-x—, what is the octal permission mode of the file?
- 750
- 650
- 740
- 760
The command, chmod 0777 /data will:
- Make the /data directory a setgid directory
- Make the /data directory a sticky bit directory
- Make the /data directory a setuid directory
- Remove all special permissions
The command, chmod 1777 /data will:
- Remove all special permissions
- Make the /data directory a setgid directory
- Make the /data directory a sticky bit directory
- Make the /data directory a setuid directory
The command, chmod 2777 /data will:
- Make the /data directory a sticky bit directory
- Make the /data directory a setgid directory
- Remove all special permissions
- Make the /data directory a setuid directory
The command, chmod a+x will:
- Remove execute permission for all users
- Remove execute permissions for the user owner
- Add execute permission for all users
- Add execute permissions for the user owner
The command, chmod u=g will:
- Set the user owners permissions to match the group owners permission
- Set the group owners permissions to match the user owners permissions
- Set the user owners permissions to rwx
- Nothing, the command syntax is invalid
The group ownership of a file may only be changed by:
- Any user can change the group ownership of any file
- The owner of the file
- The root user
- Both the root user and the owner of the file
The only person who can change the user ownership of a file is:
- Both the root user and owner of the file
- The root user
- Any user can change the group ownership of any file
- The owner of the file
The only user with the capability to change the owner of a file is root.
True or False?
- True
- False
The setuid permission on a file:
- Causes the file to run under the user’s identity
- Causes the file to run under the owner’s identity Causes the file to run under the owner’s identity
- Causes the file to always run as root
- Causes the file to never run as root
To access a directory with the cd command, you must also be able to access all the parent directories of the directory with the cd command.
True or False?
- True
- False
To have permissions set to rwxr-x–x, you can use the following command:
- chmod 751
- chmod 777 file
- chmod 755
- chmod 711
To run a script file, you need both read and execute permission.
True or False?
- True
- False
To run binary executables, you need both read and execute permission.
True or False?
- True
- False
To switch to another group, you must:
- Log in as the staff user
- Be logged in graphically
- Log off and log back in
- Be a member of the group that you are switching to
Using the setgid permission on a directory:
- Causes files existing in the directory to be made executable by the group
- Causes new files created in the directory to be owned by the group that owns the directory
- Causes files existing in the directory to be owned by the group that owns the directory
- Causes the directory to be writable to members of the group that owns the directory
What umask value would you use in order for new directories to have the permissions of rwxr-x–x?
- 022
- 027
- 026
- 077
Which command can be used to set what your default permissions will be on new files?
- mode
- mask
- umask
- umode
Which command can change the user owner of a file?
- own
- chpawn
- pawn
- chown
Which command is used to change permissions on a file?
- chperm
- chgperm
- chgmode
- chmod
Which commands can be used to change the ownership of a file?
(choose two)
- newgrp
- chown
- chggrp
- chgrp
Which command will allow you to change the group ownership of a file that you own?
- chgrp
- chown
- regroup
- regroup
Which command will allow you to switch to another group and add files that are group owned by this other group?
- newgrp
- newgroup
- chgrp
- switchgrp
Which permission is necessary on a directory in order for a user to use the cd command to change that directory?
- Read
- Execute
- Write
- None
Which permission, when set on a directory, causes new files and directories that are created inside to be owned by the group that owns the directory?
- sticky bit
- write
- setuid
- setgid
Hdparm Windows
Clearly you donot have permissions to open the device from user space. In the second case when you are running the executable from terminal, you are having permissions probably because you have done su before running the executable. For your problem here, two things can be done. Displays information about the specified volume. For JSON formatted output, use the -json option when running the command. Syntax CLI maprcli volume info -cluster -output verbose. Default: verbose -path -name -columns comma separated list of column names. After you set up the list of operations to include and/or exclude from auditing, you can retrieve and verify the list of included and/or excluded operations using the maprcli volume info command. When you run the volume info command, the output will show the list of operations. Excluded (disableddataauditoperations) from auditing.

