How to create HTTP user using htpasswd command

0 votes

Hi Guys,

I have configured the Apache webserver. I want to create an HTTP user for basic authentication. Can anyone tell me how can I create a user?

Dec 2, 2020 in Linux Administration by akhtar
• 38,260 points
1,238 views

1 answer to this question.

0 votes

Hi@akhtar,

Htpasswd command is available in the Linux system. The first time it will ask for a password. It will encrypt the password in a file. The below command is used for the same.

$ htpasswd -c /etc/www.passwd used_name
answered Dec 2, 2020 by MD
• 95,460 points

Related Questions In Linux Administration

0 votes
1 answer

How to perform proxy http request using curl?

One of the ways is: export http_proxy=http://your.proxy.server:port/ Then you ...READ MORE

answered Mar 26, 2019 in Linux Administration by DareDev
• 6,890 points
4,079 views
0 votes
1 answer
0 votes
1 answer

How to create nested directories with a single command in linux?

Try this command. mkdir -p /parent_dir/son_dir READ MORE

answered Oct 19, 2020 in Linux Administration by anonymous
• 19,610 points
2,199 views
0 votes
0 answers

How to create user in linux by providing uid and gid options?

I have 2 linux machines. On one ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
816 views
0 votes
1 answer
0 votes
1 answer

What is the difference between ctrl z and ctrl c in command line?

Hi@akhtar, Generally, these two commands are used to ...READ MORE

answered Feb 24, 2020 in Linux Administration by MD
• 95,460 points
47,492 views
0 votes
1 answer

not able to run netstat-tnlp in Linux.

Hi@akhtar, In Linux system netstat-tnlp command comes from ...READ MORE

answered Apr 16, 2020 in Linux Administration by MD
• 95,460 points
1,094 views
0 votes
1 answer

How to break root password in CentOS/RHEL 8?

Hi@akhtar, Reboot the system and interrupt the boot ...READ MORE

answered May 11, 2020 in Linux Administration by MD
• 95,460 points
1,916 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

answered Apr 7, 2020 in Linux Administration by MD
• 95,460 points
1,187 views
0 votes
1 answer

How to Configuring NTP server using chrony?

Hi@akhtar, To use NTP server in your system, ...READ MORE

answered May 11, 2020 in Linux Administration by MD
• 95,460 points
2,051 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP