You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by senthil kumar j <se...@gmail.com> on 2010/04/15 12:50:32 UTC

[users@httpd] Creating user in apache web server

Hi there,

Could you please tell me how to create user name pasword for apache web
server.

Thanks in advance
Senthilkumar .J

RE: [users@httpd] Creating user in apache web server

Posted by Renato Oliveira <re...@grant.co.uk>.
DO you want to have users authenticated?
If that is what want: htpasswd -c /etc/password.users <username>

Note 'htpasswd' is the command, '-c' is the command option, '/etc/password.users' is the file to store the users, <username> is to be replaced with the username you want.

R


Renato Oliveira
Systems Administrator
e-mail: renato.oliveira@grant.co.uk

Tel: +44 (0)1763 260811
Fax: +44 (0)1763 262410
www.grant.co.uk<http://www.grant.co.uk/>

Grant Instruments (Cambridge) Ltd

Company registered in England, registration number 658133

Registered office address:
29 Station Road,
Shepreth,
CAMBS SG8 6GB
UK


From: senthil kumar j [mailto:senthiljkumar2009@gmail.com]
Sent: 15 April 2010 11:51
To: users@httpd.apache.org
Subject: [users@httpd] Creating user in apache web server

Hi there,

Could you please tell me how to create user name pasword for apache web server.

Thanks in advance
Senthilkumar .J




P Please consider the environment before printing this email
CONFIDENTIALITY: The information in this e-mail and any attachments is confidential. It is intended only for the named recipients(s). If you are not the named recipient please notify the sender immediately and do not disclose the contents to another person or take copies.

VIRUSES: The contents of this e-mail or attachment(s) may contain viruses which could damage your own computer system. Whilst Grant Instruments (Cambridge) Ltd has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should therefore carry out your own virus checks before opening the attachment(s).

OpenXML: For information about the OpenXML file format in use within Grant Instruments please visit our website<http://www.grant.co.uk/Support/openxml.html>

Re: [users@httpd] Creating user in apache web server

Posted by Tom Evans <te...@googlemail.com>.
On Thu, Apr 15, 2010 at 11:50 AM, senthil kumar j
<se...@gmail.com> wrote:
> Hi there,
>
> Could you please tell me how to create user name pasword for apache web
> server.
>
> Thanks in advance
> Senthilkumar .J
>

http://httpd.apache.org/docs/2.2/programs/htpasswd.html

# Create
htpasswd -c /path/to/.htpasswd youruser
# Add user
htpasswd /path/to/.htpasswd yourotheruser

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org