November 2007


Mac OS 10.5 (Leopard) doesn’t auto-discover printers on Math’s network to the same effect as 10.4.If you have administrative rights on your machine, follow this url:http://localhost:631/admin?op=config-serverand find these lines:

# Show shared printers on the local network.

Browsing On

BrowseOrder allow,deny

BrowseAllow all

You need to add a new configuration setting, so that this section of the config file looks like this:

# Show shared printers on the local network.

Browsing On

BrowseOrder allow,deny

BrowseAllow all

BrowseProtocols cups

  • Click the “Save Changes” button, enter the username and password of a user with administrative rights and the cups server should restart.
  • Reboot the computer, open up System Preferences, and then the “Print & Fax” pane.
  • You should now be able to add the Math printers to your list of printers.
  • Again, you need administrative rights to do this.

Adrian Barreno-Quintanar, our technical assistant, will be graduating and moving on soon. In preparation we have trained two new student workers who are ready to help you with your IT problems.

Dustin Mitchell Vashisht Lakhmani
Dustin Mitchell Vashisht Lakhmani

You may have seen Dustin Mitchell and Vashisht Lakhmani as they were being brought up to speed. They are now experts on our systems and when you e-mail helpdesk or visit http://www.math.purdue.edu/help to file a trouble report, they may be dispatched to help you.

  1. You need to create two files.
    1. ~/WWW/protecteddir/.htaccess
    2. ~/.htpasswd
  2. An .htaccess file can be used to specify webserver settings at the directory or file level. Here is a sample .htaccess file:
    • AuthName “Display name of protected area”
      AuthType Basic
      AuthUserFile /homes/ivetter/.htpasswd
      #require user ivetter
      require valid-user
  3. Your .htaccess file points to a file of usernames and passwords, commonly named .htpasswd
    1. To create your .htpasswd directory and place a user in the file, run a command like this:
      1. /opt/csw/apache/bin/htpasswd -c ~/.htpasswd username
      2. You’ll be prompted for the password twice.
      3. Voila! You should now have a username and encrypted password in the ~/.htpasswd file.
    2. To add another username to your .htpasswd file, run this command:
      1. /opt/csw/bin/apache/htpasswd ~/.htpasswd username2
  4. Please note that your .htpasswd file can go anywhere in your home directory, but must be readable (but never writable!) by the ‘nobody’ user (or the world). Additionally, it’s best to not place the ~/.httpasswd directory under your WWW folder.