New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM LCP-001 Exam - Topic 4 Question 85 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 85
Topic #: 4
[All LCP-001 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Shalon
3 months ago
I didn't know you could switch users like that!
upvoted 0 times
...
Margarita
3 months ago
Wait, is "su -m" even a thing?
upvoted 0 times
...
Jules
3 months ago
Nope, "su - tux2" is correct.
upvoted 0 times
...
Maybelle
4 months ago
I thought "su -e tux2" was the right one?
upvoted 0 times
...
Domitila
4 months ago
It's definitely "su - tux2" for the full environment!
upvoted 0 times
...
Tennie
4 months ago
I thought "su -m tux2" was used to switch users without changing the environment, but I can't recall the exact details.
upvoted 0 times
...
Carylon
4 months 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.
upvoted 0 times
...
Tamera
4 months 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.
upvoted 0 times
...
Yuki
5 months 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.
upvoted 0 times
...
Cary
5 months ago
Option C, "su - tux2", is the way to go. That will switch to the tux2 user and ensure their environment is loaded properly.
upvoted 0 times
...
Glen
5 months 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.
upvoted 0 times
...
Fernanda
5 months 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.
upvoted 0 times
...
Teddy
5 months 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.
upvoted 0 times
...
Carol
5 months 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.
upvoted 0 times
...
Niesha
9 months 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!
upvoted 0 times
...
William
9 months ago
I'm going with B. su -e tux2. The -e option should allow me to execute commands as tux2, right?
upvoted 0 times
Vannessa
8 months ago
C) su - tux2
upvoted 0 times
...
Marti
8 months ago
Yes, the -e option will allow you to execute commands as tux2.
upvoted 0 times
...
Franklyn
8 months ago
B) su -e tux2
upvoted 0 times
...
Georgiann
8 months ago
A) su tux2
upvoted 0 times
...
...
Virgina
9 months 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.
upvoted 0 times
...
Jeniffer
9 months 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.
upvoted 0 times
Mitsue
8 months 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.
upvoted 0 times
...
Viola
8 months ago
E) su -f tux2
upvoted 0 times
...
Edwin
8 months ago
D) su -m tux2
upvoted 0 times
...
Edwin
8 months ago
C) su - tux2
upvoted 0 times
...
Jacquelyne
8 months ago
B) su -e tux2
upvoted 0 times
...
Lavina
8 months ago
A) su tux2
upvoted 0 times
...
...
Keshia
10 months ago
I have used A) su Keshia before and it worked perfectly for switching users, so I would go with that option.
upvoted 0 times
...
Bev
10 months ago
I agree with Glenna, A) su tux2 seems like the correct option for switching users.
upvoted 0 times
...
Glenna
11 months ago
I think the answer is A) su tux2 because it allows me to switch to tux2's environment.
upvoted 0 times
...

Save Cancel