try this
# htpasswd -c /path/to/htaccess/passwd/file username

That command will create a new htaccess password file and enter the username specified as the new user.

----- Original Message ----- From: "Carstea Catalin" <[EMAIL PROTECTED]>
To: "Shane James" <[EMAIL PROTECTED]>
Sent: Wednesday, August 17, 2005 2:03 PM
Subject: Re: htpasswd for FreeBSD


I try the same httpasswd from RedHat . Look here:

#./httpasswd
./htpasswd: Exec format error. Binary file not executable.

Why?
....................................................................................................................

On 8/17/05, Shane James <[EMAIL PROTECTED]> wrote:
I'm sure that 'htpasswd' on FreeBSD is exactly the same as in Red Hat.

Perhaps I don't understand your problem correctly?


----- Original Message ----- From: "Carstea Catalin" <[EMAIL PROTECTED]>
To: <freebsd-questions@freebsd.org>
Sent: Wednesday, August 17, 2005 12:32 PM
Subject: Re: htpasswd for FreeBSD


ok, with htpasswd i create accounts for accessing web sites

On 8/17/05, Björn König <[EMAIL PROTECTED]> wrote:
>
> Carstea Catalin wrote:
>
> > In red hat i used htpasswd to change my users passwd, to create
> accounts,
>
> I don't know Red Hat, but I can't imagine, because htpasswd is part of
> the apache webserver. Do you really mean system accounts or accounts for
> accessing web sites?
>
> Björn
>



--
Any help would be greatly appreciated.
regards,
Carstea Catalin
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"




--
Any help would be greatly appreciated.
regards,
Carstea Catalin

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to