Re: [EMAIL PROTECTED] htpasswd

2008-05-16 Thread sakthi v
:* sakthi v [mailto:[EMAIL PROTECTED] > *Sent:* sexta-feira, 16 de Maio de 2008 15:59 > *To:* users@httpd.apache.org > *Subject:* [EMAIL PROTECTED] htpasswd > > > > Hello, > > htpasswd is not working , what ever option i give it provides usage > options.,, > &

RE: [EMAIL PROTECTED] htpasswd

2008-05-16 Thread Luis Moreira
[mailto:[EMAIL PROTECTED] Sent: sexta-feira, 16 de Maio de 2008 15:59 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] htpasswd Hello, htpasswd is not working , what ever option i give it provides usage options.,, /usr/local/apache2/bin/htpasswd -c passwdfile Usage: htpasswd [-cmdpsD

Re: [EMAIL PROTECTED] htpasswd

2008-05-16 Thread Harry Holt
htpasswd -c passwdfile newuser1 On Fri, May 16, 2008 at 10:58 AM, sakthi v <[EMAIL PROTECTED]> wrote: > Hello, > > htpasswd is not working , what ever option i give it provides usage > options.,, > > /usr/local/apache2/bin/htpasswd -c passwdfile > > Usage: > htpasswd [-cmdpsD] passwordfile

Re: [EMAIL PROTECTED] htpasswd

2008-05-16 Thread Eric Covener
On Fri, May 16, 2008 at 10:58 AM, sakthi v <[EMAIL PROTECTED]> wrote: > Hello, > > htpasswd is not working , what ever option i give it provides usage > options.,, > > /usr/local/apache2/bin/htpasswd -c passwdfile > > Usage: > htpasswd [-cmdpsD] passwordfile username > htpasswd -b[c

[EMAIL PROTECTED] htpasswd

2008-05-16 Thread sakthi v
Hello, htpasswd is not working , what ever option i give it provides usage options.,, /usr/local/apache2/bin/htpasswd -c passwdfile Usage: htpasswd [-cmdpsD] passwordfile username htpasswd -b[cmdpsD] passwordfile username password .

[EMAIL PROTECTED] htpasswd and special characters

2008-03-20 Thread Marc Fromm
I have been working with htpasswd and .htaccess to limit access to a website. When I create a user with htpasswd and specify a password with the symbols '$', '&', or '!' I cannot log into the website. When I specify a password without those symbols I can log into the website. The man page for htp

Re: [EMAIL PROTECTED] htpasswd questions

2007-10-25 Thread Joshua Slive
On 10/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > Joshua Slive <[EMAIL PROTECTED]> wrote: > > The password formats are described in detail here: > > http://httpd.apache.org/docs/2.2/misc/password_encryptions.html > > Thanks, that explains a lot. But why are Crypt and MD5 hashes

Re: [EMAIL PROTECTED] htpasswd questions

2007-10-25 Thread anon6565
Hello, Joshua Slive <[EMAIL PROTECTED]> wrote: > The password formats are described in detail here: > http://httpd.apache.org/docs/2.2/misc/password_encryptions.html Thanks, that explains a lot. But why are Crypt and MD5 hashes salted, and SHA is not? Joshua Slive <[EMAIL PROTECTED]> wrote: > c

Re: [EMAIL PROTECTED] htpasswd questions

2007-10-25 Thread Joshua Slive
On 10/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I've got some questions about htpasswd. From the man page: > -Anonymous Why anonymous? Are you up to no good? Anyway, this is all public information. The password formats are described in detail here: http://httpd.apache.org/

[EMAIL PROTECTED] htpasswd questions

2007-10-25 Thread anon6565
Hello, I've got some questions about htpasswd. From the man page: -m Use MD5 encryption for passwords. On Windows, Netware and TPF, this is the default. -d Use crypt() encryption for passwords. The default on all plat

Re: [EMAIL PROTECTED] .htpasswd problems

2007-04-20 Thread Jannetta S Steyn
Hi there You're talking about the differences between hashing and encryption / decryption. MD5 is a hashing algorithm, DES is an encryption / decryption algorithm. See: True I was confusing the issue here. However, when I wrote the scripts originally I think only MD5 was used, and the hashe

Re: [EMAIL PROTECTED] .htpasswd problems

2007-04-20 Thread Neil A. Hillard
Hi, Jannetta S Steyn wrote: >> It doesn't matter what gets stored as long as the >> decrypted value matches the password. > > This part of what you said puzzles me. Why would you want to decrypt the > password and > isn't the point of md5 and DES that you don't decrypt the password. Usually > t

Re: [EMAIL PROTECTED] .htpasswd problems

2007-04-20 Thread Jannetta S Steyn
Hi Steve > It doesn't matter what gets stored as long as the > decrypted value matches the password. This part of what you said puzzles me. Why would you want to decrypt the password and isn't the point of md5 and DES that you don't decrypt the password. Usually the passwords are compared in the

Re: [EMAIL PROTECTED] .htpasswd problems

2007-04-19 Thread Steve Swift
Using htpasswd to control passwords in the .htpasswd file has always resulted in varying values for the same password. This is a standard encryption technique. It doesn't matter what gets stored as long as the decrypted value matches the password. A simple mechanism could use 256 different encrypt

[EMAIL PROTECTED] .htpasswd problems

2007-04-19 Thread Jannetta S Steyn
Hi All I'm not sure that I'm on exactly the correct mailing list here, but I figured it a good place to start, even it is just to get someone to guide me in the right direction. Some years ago I wrote web front-end for managing .htpasswd files. My client has been using this for years. Everythi

Re: [EMAIL PROTECTED] htpasswd problem adding user

2007-03-26 Thread Robin-David Hammond
d adding user "jtest" with a password "f" any help would be greatly appreciated Thanks, Brian [EMAIL PROTECTED] ~]# htpasswd -b /etc/opt/CollabNet_Subversion/conf/svn_auth_file jtest f&5H%c [1] 23374 -bash: 5H%c: command not found [EMAIL PROTECTED] ~]# Adding password f

Re: [EMAIL PROTECTED] htpasswd problem adding user

2007-03-26 Thread Stefan Schneider
Hi Brian, [EMAIL PROTECTED] ~]# htpasswd -b /etc/opt/CollabNet_Subversion/conf/svn_auth_file jtest f&5H%c htpasswd -b /tmp/passfile username "f&5H%c" should do the trick :) Cheers, Stefan - The off

RE: [EMAIL PROTECTED] htpasswd problem adding user

2007-03-26 Thread Boyle Owen
> -Original Message- > From: Brian McCann [mailto:[EMAIL PROTECTED] > Sent: Monday, March 26, 2007 2:14 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] htpasswd problem adding user > > Hi, > > When I try to add a new user with htpasswd on th

[EMAIL PROTECTED] htpasswd problem adding user

2007-03-26 Thread Brian McCann
ot; with a password "f" any help would be greatly appreciated Thanks, Brian [EMAIL PROTECTED] ~]# htpasswd -b /etc/opt/CollabNet_Subversion/conf/svn_auth_file jtest f&5H%c [1] 23374 -bash: 5H%c: command not found [EMAIL PROTECTED] ~]# Adding password for user jtest [1]

Re: [EMAIL PROTECTED] htpasswd

2007-02-12 Thread Devraj Mukherjee
If you are writing PHP then check http://koivi.com/php-http-auth/ On 2/12/07, Tony Morris <[EMAIL PROTECTED]> wrote: I have a single users file that is output from htpasswd/2 and I'm looking for a web application that allows users to authenticate and change their password in the users file. I a

[EMAIL PROTECTED] htpasswd

2007-02-11 Thread Tony Morris
I have a single users file that is output from htpasswd/2 and I'm looking for a web application that allows users to authenticate and change their password in the users file. I apologise if it seems like I'm asking a 'just google it' question, but there are *so* many choices and I've already been

[EMAIL PROTECTED] htpasswd and Windows AD auth in one config?

2007-01-29 Thread goofi mon
Is it possible to make a small group of external users authenticate via htpasswd passwords and the rest via internal LAN Windows AD auth with Apache on *nix? Moreover what is the preferred method of authenticating against Windows AD? Kerberos, LDAP, Winbind? Thanks in advance for any useful hint

Re: [EMAIL PROTECTED] htpasswd in cgi (shell script)

2006-01-25 Thread Marty Landman
At 11:11 AM 1/24/2006, Rodrigo Monteiro wrote: I'm using the httpd authentication (.htaccess and .htpasswd) for an cgi-bin/test dir. What I'm trying to do is another cgi (in shell script) that changes this file (cgi-bin/test/.htpasswd). I'm using the -m parameter in htpasswd to create the users.

RE: [EMAIL PROTECTED] htpasswd in cgi (shell script)

2006-01-25 Thread Boyle Owen
> -Original Message- > From: Rodrigo Monteiro [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 24. Januar 2006 17:11 > To: Lista Apache (httpd) > Subject: [EMAIL PROTECTED] htpasswd in cgi (shell script) > > Hello everyone. > > I've looked for this question

[EMAIL PROTECTED] htpasswd in cgi (shell script)

2006-01-24 Thread Rodrigo Monteiro
Hello everyone. I've looked for this question but can't find it in the mailing list archive. So, if there is an answer in a old thread, point to me... I'm using the httpd authentication (.htaccess and .htpasswd) for an cgi-bin/test dir. What I'm trying to do is another cgi (in shell script) that

Re: [EMAIL PROTECTED] htpasswd

2006-01-18 Thread William A. Rowe, Jr.
David's suggestion won't solve your problem... your browser will (deliberately) share credentials or cookies between server1.com and server2.com. As long as the domain names are out of sync, your browser will compartmentalize the information specific to each server. Perhaps you want to reverse

Re: [EMAIL PROTECTED] htpasswd

2006-01-17 Thread David Wolever
I don't think Apache likes to do that very much... I'm sure it would be possible to hack your way around it, but the basic authentication scheme is just that... basic. It may be quicker and easier to whip something up in PHP (or Perl, or Python or what have you). I know sessions are really easy in

Re: [EMAIL PROTECTED] htpasswd

2006-01-17 Thread Aman Raheja
Well indeed apache is doing it's job correctly. apache can not and should not force your browser to remember passwords. Rethink what you want to do? Regards Aman Raheja farhan ahmed wrote: Hi folks, I have been running 2 apache servers on different machines.And both apache servers are doing

[EMAIL PROTECTED] htpasswd

2006-01-17 Thread farhan ahmed
Hi folks, I have been running 2 apache servers on different machines.And both apache servers are doing basic authentication. I created same users and passwords on both boxes. On the webpage it must ask for user name and passowrd once for either apache1 or apache2, but it asks user name and passw

Re: [EMAIL PROTECTED] htpasswd -c -m -b validation

2005-10-10 Thread Andrew Clarke
On Tue, 13 Sep 2005 19:57, [EMAIL PROTECTED] wrote: > > i ve the http password file which is encrypted using htpasswd -c -m > -b command i.e the password which is encrypted using md5 algorithm .i > want to validate the user input password against the stored encrypted > password Umm, if you k

[EMAIL PROTECTED] htpasswd -c -m -b validation

2005-09-13 Thread iyappans
hi i ve the http password file which is encrypted using htpasswd -c -m -b command i.e the password which is encrypted using md5 algorithm .i want to validate the user input password against the stored encrypted password thank u iyappan -

RE: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-20 Thread Jody Cleveland
> You should turn it off until you have the time to learn about it and > configure it properly. That is almost certainly what is giving you > the permission-denied problem. I did a little more research on this this morning. The password file needs permissions of 644, and the password file needs

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-20 Thread Joshua Slive
On 8/20/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > Ok. Now you need to give us a few more details. > > > > Are you using SELinux? > > Yes. This is the first time I've used it. Should I leave it on, or just > turn it off? You should turn it off until you have the time to learn about it and

RE: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-20 Thread Jody Cleveland
> Ok. Now you need to give us a few more details. > > Are you using SELinux? Yes. This is the first time I've used it. Should I leave it on, or just turn it off? > What auth modules do you have in use? LoadModule auth_module modules/mod_auth.so LoadModule auth_anon_module modules/mod_auth_ano

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Joshua Slive
On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > You need to check /home, /home/user, /home/user/test, etc. All the > > directories in the path must be searchable. > > I have the .htpasswd file in this directory: > /passwords > > Permissions: > drwxr-xr-x2 apache apache 4096 Aug 19

RE: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Jody Cleveland
> You need to check /home, /home/user, /home/user/test, etc. All the > directories in the path must be searchable. I have the .htpasswd file in this directory: /passwords Permissions: drwxr-xr-x2 apache apache 4096 Aug 19 12:02 passwords Permissions of the file: -rwxr-xr-x 1 apache apach

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Joshua Slive
On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > > > > > require valid-user > > > > > > > DON'T USE ! > > Ok. Changed it to just be > Require valid-user > > > Check the permissions on all parent directories to make sure they are

RE: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Jody Cleveland
> On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > > > require valid-user > > > > DON'T USE ! Ok. Changed it to just be Require valid-user > Check the permissions on all parent directories to make sure they are > at least searchable (chmod +x) by the web server. I created a new direc

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Spike Burkhardt
Jody, Check to make sure that the username which apache is running under has read access for the /home, /home/cleveland & /home/cleveland/password directories. If you're apache is running as 'nobody' then you'll probably need 744 on the directory files themselves. The other possibility is

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Joshua Slive
On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > require valid-user > DON'T USE ! See the docs on this directive for why. > I created a .htpasswd file in the directory /home/cleveland/passwords > with this as permissions: > -rwxr--r-- 1 cleveland apache 24 Aug 19 11:27 .htpassw

[EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Jody Cleveland
Hello, I've got a site I'm trying to protect with a .htaccess file. In the .htaccess file, I've got this: AuthUserFile /home/cleveland/passwords/.htpasswd AuthGroupFile /dev/null AuthName "phpMyAdmin for Mystique" AuthType Basic require valid-user With this as permissions: -rwxr--r-- 1 clev