Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
Re: [opensuse] Re: how to change users home directory
jdd said the following on 03/26/2012 05:51 AM:

may be mount /home2 (--bind?) on /home, you can still access it
directly (not tested, just a guess)

Call me paranoid but ... I'd never mount directly on /home !

All my NFS mounts are onto
/mnt/<server_name>/<whatever>
and I the use mount --bind to or a symlink to put thing where they
expect to be.

Having the home directory on a server and NFS mounting it to the
workstation is old, old, old, dating back to the use of NFS by SUN in
the 1980s. I've encountered it at many places I've worked and set it up
at many others, all based on that technique above and what amounts to
"NFS on demand". All this is well documented in many HOW-TOs on the net.

I don't think that having alternative login directories for certain
accounts is odd. After all, we have root at /root and others in
/var/spool/ and /usr/lib. The issue is access permissions.

So what went wrong?
Perhaps we need a sneak at the entries in your /etc/passwd file.
As someone said, you can't have two home directories, only one for each
account.
Perhaps there was a problem with copying. In circumstances like that I
use rsync rather than cp. In fact when I think about it, I rarely use
cp at all ... All those hidden directories are important and its easy
to forget about them.
Perhaps ... perhaps ... perhaps ...

--
In preparing for battle I have always found that plans are useless, but
planning is indispensable.
Dwight D. Eisenhower
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups