RE: Squid auth - allow destinations upon username

2004-09-13 Thread Erik Dörnbach
> 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,

Squid auth - allow destinations upon username

2004-09-13 Thread Erik Dörnbach
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

AW: Apache: adding massive amount of users for .htaccess from text file

2004-02-20 Thread Erik Dörnbach
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

Re: Apache: adding massive amount of users for .htaccess from text file

2004-02-20 Thread Erik Dörnbach
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

AW: Apache: adding massive amount of users for .htaccess from text file

2004-02-20 Thread Erik Dörnbach
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]

Apache: adding massive amount of users for .htaccess from text file

2004-02-20 Thread Erik Dörnbach
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

ipchains and ftp problem

2002-10-23 Thread 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 -

ipchains and ftp problem

2002-10-23 Thread 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]