> I'm trying to set up a Squid with authentication based on ncsa_auth
> ...
> which actually works so far. What I'm trying to get now is to group
> some users together in, say, two groups, one privileged to surf
> everywhere and another restricted to only a handfull of destinations.
Never mind,
Hi,
I'm trying to set up a Squid with authentication based on ncsa_auth ...
which actually works so far. What I'm trying to get now is to group some
users together in, say, two groups, one privileged to surf everywhere and
another restricted to only a handfull of destinations.
Is that possible w
wow!
> > > #!/usr/bin/perl
> > >
> > > while (<>) {
> > >($username, $password)=split /:/, $_, 2;
>
> chomp($password);
>
> > >system("/usr/bin/htpasswd", "-b", "/path/to/htaccess",
> > > $username, $password);
> > > }
Nice one, this did it - thank you all for contributions!
Ha
Hi again,
> untested, quick and dirty
>
> #!/usr/bin/perl
>
> while (<>) {
>($username, $password)=split /:/, $_, 2;
>system("/usr/bin/htpasswd", "-b", "/path/to/htaccess",
> $username, $password);
> }
Mmmh, I'm not sure why, it looks right, but now I noticed, it doesn't
work. The outp
Hello Michael,
> untested, quick and dirty
Works as advertised, you saved my day! :)
OTOH I should someday learn to hack these quickies myself...
Alaaf,
Erik
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hello list,
just a quickie, I need to add a massive load of users for apache
authentication, I have the usernames and associated passwords in
a plain text file, one line per user like:
:
:
...
Database auth would be an overshot, these users will likely never
change.
Is there an easy way to auto
own ipchains script that I can incorporate, or can
advice me what to look for.
Thanks for your help in advance,
- Erik Dörnbach -
own ipchains script that I can incorporate, or can advice me
what to look for.
Thanks for your help in advance,
- Erik Dörnbach -
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
8 matches
Mail list logo