You are logged in as user tux1, but now you want to switch users to tux2 with tux2's environment. How would you do this?
Suggested Answer: B
Get Premium LCP-001 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
31 comments · newest first
SH
Shalon
11 months ago
I didn't know you could switch users like that!
MA
Margarita
11 months ago
Wait, is "su -m" even a thing?
JU
Jules
11 months ago
Nope, "su - tux2" is correct.
MA
Maybelle
12 months ago
I thought "su -e tux2" was the right one?
DO
Domitila
12 months ago
It's definitely "su - tux2" for the full environment!
TE
Tennie
12 months ago
I thought "su -m tux2" was used to switch users without changing the environment, but I can't recall the exact details.
CA
Carylon
1 year ago
I feel like "su - tux2" is the correct answer because it loads the user's environment, but I might be mixing it up with another command.
TA
Tamera
1 year ago
I remember practicing a similar question, and I think "su -e tux2" was one of the options, but it doesn't sound right for switching environments.
YU
Yuki
1 year ago
I think the command to switch users while loading the environment is "su - tux2," but I'm not entirely sure if the dash is necessary.
CA
Cary
1 year ago
Option C, "su - tux2", is the way to go. That will switch to the tux2 user and ensure their environment is loaded properly.
GL
Glen
1 year ago
I'm not too familiar with the "su" command. Is option A "su tux2" the right way to switch users? I'll have to review my notes on this.
FE
Fernanda
1 year ago
The key here is to switch to the tux2 user while also loading their environment. I'd go with option C, "su - tux2", as that should do the trick.
TE
Teddy
1 year ago
I'm a bit unsure about this one. Is option D "su -m tux2" the right way to switch users and maintain the environment? I'll have to think this through.
CA
Carol
1 year ago
Hmm, this seems straightforward. I think I'll go with option C - "su - tux2" to switch to the tux2 user and load their environment.
NI
Niesha
1 year ago
Haha, I bet the answer is C. su - tux2. The - option is key for switching to the new user's full environment. Can't trick me with those other options!
WI
William
1 year ago
I'm going with B. su -e tux2. The -e option should allow me to execute commands as tux2, right?
VA
Vannessa
1 year ago
C) su - tux2
MA
Marti
1 year ago
Yes, the -e option will allow you to execute commands as tux2.
FR
Franklyn
1 year ago
B) su -e tux2
GE
Georgiann
1 year ago
A) su tux2
VI
Virgina
1 year ago
D. su -m tux2 seems like the right choice to me. It should maintain the environment for tux2 rather than just switching to the new user.
JE
Jeniffer
1 year ago
I think the answer is C. su - tux2 because that will switch to tux2's environment and not just the current user's environment.
MI
Mitsue
1 year ago
I think the answer is C. su - tux2 because that will switch to tux2's environment and not just the current user's environment.
VI
Viola
1 year ago
E) su -f tux2
ED
Edwin
1 year ago
D) su -m tux2
ED
Edwin
1 year ago
C) su - tux2
JA
Jacquelyne
1 year ago
B) su -e tux2
LA
Lavina
1 year ago
A) su tux2
KE
Keshia
2 years ago
I have used A) su Keshia before and it worked perfectly for switching users, so I would go with that option.
BE
Bev
2 years ago
I agree with Glenna, A) su tux2 seems like the correct option for switching users.
GL
Glenna
2 years ago
I think the answer is A) su tux2 because it allows me to switch to tux2's environment.