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

LPI 202-450 Exam - Topic 11 Question 114 Discussion

Actual exam question for LPI's 202-450 exam
Question #: 114
Topic #: 11
[All 202-450 Questions]

There is a restricted area in a site hosted by Apache HTTPD, which requires users to authenticate against the file /srv/www/security/sitepasswd.

Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Margery
2 months ago
B is the correct command, no doubt about it!
upvoted 0 times
...
Sol
2 months ago
I thought it was A at first, but B makes more sense.
upvoted 0 times
...
Gearldine
3 months ago
I always get confused with these options, but I trust you guys!
upvoted 0 times
...
Rocco
3 months ago
Wait, are you sure? I thought --c was for creating a new file.
upvoted 0 times
...
Ligia
3 months ago
It's definitely B, that's how you change passwords without losing data.
upvoted 0 times
...
Paola
3 months ago
I think it's definitely not `--c`, but I can't remember if it's just `htpasswd` or if there's a specific flag for changing passwords.
upvoted 0 times
...
Lino
4 months ago
I feel like I might confuse the flags; I know `--c` creates a new file, but I can't recall if there's another option for changing passwords.
upvoted 0 times
...
Carrol
4 months ago
I remember practicing with `htpasswd`, and I think option B is the one we use to update existing users.
upvoted 0 times
...
Hermila
4 months ago
I think the command to change a password is just `htpasswd` without the `--c` option, but I'm not completely sure.
upvoted 0 times
...
Altha
4 months ago
I'm not entirely sure about this one. I'll need to review the Apache documentation to make sure I understand the correct way to change a user's password in a Basic authentication setup.
upvoted 0 times
...
Janna
4 months ago
Okay, I've got this. The question says we need to change the password without losing data, so I'll use the `htpasswd` command without the `-c` option, which would create a new file.
upvoted 0 times
...
Trevor
5 months ago
Hmm, I'm a bit confused about the different options for `htpasswd`. I'll need to double-check the syntax to make sure I use the right one to change the password.
upvoted 0 times
...
Marshall
5 months ago
This seems straightforward, I think the key is to use the `htpasswd` command to change the password without losing any data.
upvoted 0 times
...

Save Cancel