🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

5 total messages Started by Jawad Ali Thu, 24 Sep 1998 00:00
web passwords
#12
Author: Jawad Ali
Date: Thu, 24 Sep 1998 00:00
15 lines
842 bytes

I would like to learn about password protecting my web page.
They tell me to make a .htaccess file and then run htpasswd
like so: htpasswd -c <filename> <username>

They dont mention anything about salt.  htpasswd gives me the
error: "Usage: htpasswd [salt]"

Any good places to learn more about htpasswd and crypt() etc. ?

Also do many of you use web-authoring tools that work better than
vi :) and produce relatively clean (minimal) HTML? Just curious.

Jawad
Re: web passwords
#13
Author: D.A. Harris
Date: Thu, 24 Sep 1998 00:00
35 lines
1631 bytes
In article <6ucsqh$nlv$1@hubble.csuchico.edu>,
Jawad Ali <jawad@ecst.csuchico.edu> wrote:
>
>
>I would like to learn about password protecting my web page.
>They tell me to make a .htaccess file and then run htpasswd
>like so: htpasswd -c <filename> <username>
>
>They dont mention anything about salt.  htpasswd gives me the
>error: "Usage: htpasswd [salt]"
>
>Any good places to learn more about htpasswd and crypt() etc. ?
>
>Also do many of you use web-authoring tools that work better than
>vi :) and produce relatively clean (minimal) HTML? Just curious.
>
>Jawad


Hey Jawad,

The salt is typically a two character salt, just like what is used in 
crypt(), typically you'd probably want to randomize the generation of
the salt characters when creating the password.  Course it has been 
so long since I used htpasswd, I'd have to check the source on how 
to make it work.  Someone is bound it have this information off the top
of their head.



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dale Harris  <rodmur@csuchico.edu>   PGP KeyID: E26EC5FD      
http://www.ecst.csuchico.edu/~rodmur/
|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|
Re: web passwords
#15
Author: Pythagoras Watson
Date: Thu, 24 Sep 1998 00:00
17 lines
1233 bytes
According to Jawad Ali <jawad@ecst.csuchico.edu>:
:I would like to learn about password protecting my web page.
:They tell me to make a .htaccess file and then run htpasswd
:like so: htpasswd -c <filename> <username>
:
:They dont mention anything about salt.  htpasswd gives me the
:error: "Usage: htpasswd [salt]"

The local htpasswd command is not the one that they are referring to.
Theirs does significantly more than the simple perl script that I wrote.
The local one merely encrypts an asked-for password using the standard Unix
crypt.  A random salt is chosen unless you enter one on the command line.

-- 
Py -- 3.141592653589793238462643383279502884197169399375105...
Pythagoras Watson -- "Live long and may all your kernels pop."
INET: py@ecst.csuchico.edu === COMPUSERVE: cspy@compuserve.com
Re: web passwords
#16
Author: Jawad Ali
Date: Thu, 24 Sep 1998 00:00
16 lines
901 bytes
In article <6uecc1$5om$1@hubble.csuchico.edu>,
Pythagoras Watson <py@ecst.csuchico.edu> wrote:
>The local htpasswd command is not the one that they are referring to.
>Theirs does significantly more than the simple perl script that I wrote.
>The local one merely encrypts an asked-for password using the standard Unix
>crypt.  A random salt is chosen unless you enter one on the command line.
>

Thanks Py and Rodmur.  This works.






Jawad
Re: web passwords [html tools]
#21
Author: Charles Duffy
Date: Sun, 08 Nov 1998 00:00
10 lines
853 bytes
>
> Also do many of you use web-authoring tools that work better than
> vi :) and produce relatively clean (minimal) HTML? Just curious.
>

I use Xemacs with hm--html-menus (Communicator when I'm lazy and don't
care about getting clean results).

That's on my home machine... I don't think the school boxes have Xemacs
installed.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads