Deal of The Day! 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

Posted by Adria on Jul 08, 2025 at 11:08 AM

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?

Suggested Answer: A

Get Premium 202-450 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
MA
Margery 10 months ago
B is the correct command, no doubt about it!
SO
Sol 10 months ago
I thought it was A at first, but B makes more sense.
GE
Gearldine 10 months ago
I always get confused with these options, but I trust you guys!
RO
Rocco 10 months ago
Wait, are you sure? I thought --c was for creating a new file.
LI
Ligia 11 months ago
It's definitely B, that's how you change passwords without losing data.
PA
Paola 11 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.
LI
Lino 11 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.
CA
Carrol 11 months ago
I remember practicing with `htpasswd`, and I think option B is the one we use to update existing users.
HE
Hermila 12 months ago
I think the command to change a password is just `htpasswd` without the `--c` option, but I'm not completely sure.
AL
Altha 12 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.
JA
Janna 12 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.
TR
Trevor 1 year 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.
MA
Marshall 1 year ago
This seems straightforward, I think the key is to use the `htpasswd` command to change the password without losing any data.
0/2000 characters

Save Cancel