Exam 010-160 Topic 4 Question 82 Discussion

Actual exam question for Lpi's 010-160 exam
Question #: 82
Topic #: 4
What is true about the su command?

Suggested Answer: C Vote an answer

Explanation
The su command stands for substitute user or switch user. It allows you to run a shell or a command as another user, usually the superuser or root. To use the su command, you need to know the password of the target user.
For example, if you want to switch to the root user, you can type su - and enter the root password. This will give you a root shell, where you can execute commands with administrative privileges. To exit the root shell, you can type exit or press Ctrl-D. The su command is not the default shell of the root account, nor can it only be used by the root user. It can be used by any user who knows the password of another user. The su command does not change the name of the main administrator account, which is always root on Linux systems. The su command also does not lock the root account in specific time frames, although there are other ways to do that, such as using the pam_time module. References:
* Linux Essentials - Linux Professional Institute (LPI), section 5.1.1
* LPI Linux Essentials Study Guide: Exam 010 v1.6, 3rd Edition, chapter 9, page 219.

by Hyman at Aug 19, 2026, 09:45 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10