Subject: [netatalk-admins] Re: $USER variable in AppleVolumes.system?
From: Tim Rand (tim@stlouis.datapage.com)
Date: Mon Jul 07 1997 - 13:26:48 EDT
At 4:01 PM -0500 7/2/97, William R. Dickson wrote:
>Say I've got lots of users, so many that I don't want to be creating a
>.AppleVolumes file in each of their home directories. For the sake of
>argument, let's pretend that five is such a large number.
>
>Now, I want every user, when s/he connects, to see two things in the
>chooser -- the user's home directory, an the user's personal web
>directory. (Again, for the sake of argument, linking the web directory
>into the home directory isn't possible, due to a hypothetical complicated
>nfsmount issue.)
I accomplish this in the following manner:
Using NCSA's HTTPD naming scheme of a directory underneath the user's home
of $HOME/public_html, all you have to do is estabilsh in your
/usr/local/atalk/etc/AppleVolumes.default file, a reference to the user's
public _html directory.
My AppleVolumes.default file is as follows:
# This file may look empty when viewed with "vi". In fact, there is one
# '~', so users with no AppleVolumes file in their home directory get
# their home directory by default.
~
~/public_html
/production /production
/production/ioq/mac "Mass Storage"
/prod2 /prod2
/red /red
/blue /blue
/yellow /yellow
/green /green
/cdrom /cdrom
Now, if your directory structure is different, then you might have to
establish some links to make this work.
--- Tim Rand tim@datapage.com VP Information Systems +1-314-278-8888 (voice) Datapage Technologies International, Inc. +1-314-278-2180 (fax) 222 Turner Blvd. St. Peters, MO 63376 USA
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:29 EST