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,170 points
88 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,180 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
2,664 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
296 views
–1 vote
1 answer

How to use help command for ls?

The help command is limited and it ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,130 points
1,478 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,180 points
8,000 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,180 points
182 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,180 points
230 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,180 points
144 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,180 points
511 views