> > $HOME should, normally, point to a REAL directory, not a symlink. If > your home directory on a fileserver is /argle/bargle/foo/user, and you > mount it on a local machine like /some/mountpoint/argle/bargle/foo/user, > and symlink to /home/user, this is exactly the sort of things that will > crop up: $HOME isn't REALLY your home. > > There's a couple of ways to handle this: > > 1) Modify things a bit on your home dir: > > /argle/bargle/foo/home/user > > Then, export /argle/bargle/foo/home > > Then, when you mount, simply mount server:/argle/bargle/foo/home /home > > Another way is to set up some kind of automount, create the /home/user > dirs, and mount individual home dirs via automount, or equivalent. >
that is what AMD is already doing. > Either way, having $HOME be a symlink to somewhere else will, as in this > case, come back and bite you. > > And, as someone else pointed out, just searching $USER can sometimes not > be uniqe enough. But, more importantly, it's simply an issue of > consistency: if your mount $HOME/somemount, that's what you should look > for. Otherwise, you might introduce a race, or some other kind of > security bugaboo. > well we've been using AMD for years so we are not likely to change any time soon. you're right searching for $USER is not enough, but searching for /raid/.*?/$user/ seems to be. Wouldn't 'grep -E "/$USER/"' be enough to ensure uniqueness? We are now looking for a delimited name, basically in the same way as you're doing with the search for $HOME. having 1600 potential users and soon more than 10 servers, then reconfiguring everything is just not something that we are going to do. We have enough to do as it is. /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
