htpasswd for FreeBSD

Shane James shane at phpboy.co.za
Wed Aug 17 12:07:02 GMT 2005


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" <carstea.catalin at gmail.com>
To: "Shane James" <shane at phpboy.co.za>
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 <shane at phpboy.co.za> 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" <carstea.catalin at gmail.com>
> To: <freebsd-questions at 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 <bkoenig at cs.tu-berlin.de> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>


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



More information about the freebsd-questions mailing list