
Linux Administration Bootcamp: Go from Beginner to Advanced - Switching Users and Running Commands as Others
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default user account assumed when using the 'su' command without any arguments?
Admin
Guest
Root
Oracle
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you check which user account you are currently using?
By using the 'who am I' command
By using the 'current user' command
By using the 'user check' command
By using the 'account status' command
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens to environment variables when you switch to another user using 'su' with a dash?
They are discarded unless specified
They are always retained
They are always discarded
They are retained only if specified
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one advantage of using 'sudo' over 'su'?
It does not require the other user's password
It allows running commands without any password
It can only be used by the root user
It requires the other user's password
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you view the commands available for you to run with 'sudo'?
By using 'sudo -commands'
By using 'sudo -L'
By using 'sudo -show'
By using 'sudo -list'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'visudo' command?
To create a new sudoers file
To view the sudoers file
To edit the sudoers file safely
To delete the sudoers file
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the 'sudoers' file, what does the user listed in parentheses represent?
The user who created the file
The user that the commands will run as
The user who can view the file
The user who can edit the file
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?