[ubuntu-uk] Unwelcomed desktop sharing......

Neil Greenwood neil.greenwood.lug at gmail.com
Sat Mar 3 19:35:44 GMT 2007


On 03/03/07, Adam McMaster <adam at moosoft.net> wrote:
>
> On 2 Mar 2007, at 22:54, Alan Pope wrote:
>
> > Well of course the blindingly obvious answer is to have separate /home
> > directories.
> >
> > You could do that one one of the installs (the newer one?) by
> > temporarily by editing the /etc/fstab and commenting out the line
> > referring to /home. Do this in single user/recovery mode, then make
> > sure
> > it isn't currently mounted (umount /home) and make a home directory
> > (mkdir /home) and make a home directory for your user (mkdir /home/
> > alan)
> > then change ownership of it (chown alan:alan /home/alan)
> >
> > Of course replacing all occurrences of "alan" with your user name.
> >
> > This would (in one install) give you a clean home directory.
> >
> > Cheers,
> > Al.
>
> Alternatively, you could give the two accounts separate home
> directories on the same partition. From the usermod man page:
>
> >        -d, --home HOME_DIR
> >           The user's new login directory. If the -m option is given
> > the
> >           contents of the current home directory will be moved to
> > the new home
> >           directory, which is created if it does not already exist.
>
> Remember, the home directory name doesn't *have* to be the same as
> the login name.
>

Or if it's not too confusing, you could use a different username in
the two installations. I think Adam's suggestion is good - this will
give you access to files in both home directories whichever
installation you're currently using.

Hwyl,
Neil.



More information about the ubuntu-uk mailing list