[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] .htaccess on RAQ4 for all my users



On Sun, 16 Sep 2001, Tech wrote:

> I need a way to give access to a hidden directory for all my customers 
> (with their own loginname/password) without creating/editing an 
> extra ".htpasswd" - file. Is there an existing ".htpasswd" - file on my 
> RAQ4 with all my existing RAQ-users or is it possible to create a 
> virtual ".htpasswd" - file which will be updated after any changes are 
> done in the RAQ-settings.
> 
> I'm familiar with the .htaccess/.htpasswd-rules as long as I self-
> create the .htpasswd-file.
> 
> ...or are there other ways to create such a login....

Yes, and it's already built in, in addition to htpasswd , PAM is enabled
in apache, so if you create an htaccess file requiring authentication,
and don't supply any passwords, and leave PAM enabled, users can log in
using their existing username/password for the machine (same one as email
etc)

ps: somewhere in the archives is an example file for this....you want one
that *doesn't have any reference for PAm in this case...

gsh