Subject: Re: $USER variable in AppleVolumes.system?
From: Bill Studenmund (skippy@macro.stanford.edu)
Date: Wed Jul 02 1997 - 21:37:27 EDT
On Wed, 2 Jul 1997 mt@carthage.edu wrote:
> >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.)
Can't you just have a sym link in each user's home directory pointing out
to the web directory? Just do something like:
(in sh)
for i in `cat a_list_of_users`
do
cd $i
ln -s /www/users/$i WWW
done
> >Say I have the real directories:
> >
> >/www/users/andrea
> >/www/users/bob
> >/www/users/chris
> >/www/users/deanna
> >/www/users/effie
> >
> >Can I do something like this in AppleVolumes.system or
> AppleVolumes.default?:
> >
> >/www/users/$USER "User WWW Directory"
> >
> >
> >I know I can't do that exactly, because I tried it and it didn't work. Is
> >there another way?
> Bill --
>
> I know you can't use "$USER", but I think you can use "~/". Of course,
> that only gets you the user's home directory, but at least that's half
> of what you wanted.
But then ~/WWW would point to a symlink which would point to the right
place.
Take care,
Bill
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:26 EST