whack


whack
A perl script that looks in the /etc/passwd file and from there checks who has a web directory. The cool thing is that it creates an alphabetized HTML file of all users with a web directory that is saved your current directory. There is also an option to mail to everyone about the newly created page.
  1. Download whack:
  2. You will probably need to change the following (with any text editor):
    • The first line (it should point to your perl executable)
      #!/usr/local/bin/perl
    • Your site's domain (line 8)
      $site="www.seas.ucla.edu";
    • The location of your srm.conf file (line 52)
      $SRM="/usr/local/etc/httpd/conf/srm.conf";
  3. Make sure the script is executable:
    • % chmod 755 whack
  4. Look at the options:
    • % whack -h

Paul Dutra
Comments: [email protected]
return home
Hosted by www.Geocities.ws

1