RE: cannot figure out how to add a new user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for responding.

I have several "htaccess" files and it is unclear which one and from which
directory to post. I'm running Apache HTTP Server on a Windows system.

I have a very simple website that I've mostly used for my own internal use.
I now want to grant access to my site to a couple of friends but I don't
want to give out my credentials. My thought was to create a "guest" account
with the username set to "guest" and a corresponding password. 

I set it up Apache HTTP Server many years ago. In looking through my notes,
I apparently setup a second user (username and password) about 3 years ago.
Unfortunately, I have no recollection of how I did it, but the credentials
still work. Additionally, I have no idea how I setup my username and
password when I originally installed and configured Apache HTTP Server. 

Thank you for your help. I'm sorry I didn't state my question more clearly
the first time. Hopefully what I've added here helps to clarify.

Tim


-----Original Message-----
From: Jim Barchuk [mailto:jb@xxxxxxxxxxxx] 
Sent: Wednesday, December 31, 2014 4:50 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  cannot figure out how to add a new user

HiHi!

> I cannot figure out how to add a new user to Apache HTTP Server 2.2. I 
> want to add a "guest" account so that I don't have to give out my own 
> credentials. This is essentially what I've done and everything seems 
> to work, except I can't log into my site with these new credentials:
>
> D:\Program Files\Apache Software Foundation\Apache2.2\bin>htpasswd -cm 
> passwords guest New password: ******** Re-type new password: ******** 
> Adding password for user guest

Your Q is a little unclear. For example you said 'new' credentials, but that
doesn't state clearly whether you've ever had the htaccess system ever
working before.

With the -cm those are not 'new' credentials. (Meaning you are not 'adding
them to the htpasswd.') Man says '-c If passwordfile already exists, it is
rewritten and truncated.' Meaning it is now the -only- username/password
pair.

Beyond that, what Apache does with that pair depends on what htaccess tells
it to do.

Please post your htacces, and also describe what you 'intend' it to do.

Have a :) day!

jb

--
Jim Barchuk
jb@xxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux