First, we will be creating some Apache users, we will be using httpasswd command to create
username and password combination when we are using this httpasswd command
we can use the different option and you can use the -c option to create new file because we have
two store information regarding a username in some file.
So in our case, what we will be running the command httpasswd -c what is the meaning
of -c, -c option to create new file.
That means it is going to create the file which file that we are going to specify in our we are going
to create the file /etc/httpd/webpass, you can name any and we are creating it in /etc/httpd directory
and which user.
I want to create anankita and if we are specifying -m option then it will be using the MD5
encryption.
And please remember when we are going to create the second user, we are not going to specify the -
C again because it is going to override the file.
So only during the creation of a first user you need to specify the -.
c option in the rest of the user do not specify it.
Otherwise what will happen, it will override that.
So we will create the second user, Vipin and we are going to give some passwords to them and then
we will be creating the kanu user and the nanu user.
So in this way we will create the 4 user and where the information will be stored, it will be
stored in /etc/httpd/webpass file and this name you can name it. it is not that this
is a fixed name.
You can have any name and we can view that information.
Also cat /etc/httpd/webpass.
If we are going to view that information, it will be visible that it contains the information about
all the four users.