Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 14:06:59 +0200
From:      "Shane James" <shane@phpboy.co.za>
To:        "Carstea Catalin" <carstea.catalin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: htpasswd for FreeBSD
Message-ID:  <001201c5a324$2c2109c0$6c0aa8c0@phpboy>
References:  <dc6701ba05081702526c05dda7@mail.gmail.com> <43030E65.4000801@cs.tu-berlin.de> <dc6701ba05081703324f9420eb@mail.gmail.com> <011601c5a317$d2d0ed10$6c0aa8c0@phpboy> <dc6701ba05081705035f03e793@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com>
To: "Shane James" <shane@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@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@gmail.com>
> 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 <bkoenig@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>
>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c5a324$2c2109c0$6c0aa8c0>