[ubuntu-uk] Unwelcomed desktop sharing......
Adam McMaster
adam at moosoft.net
Sat Mar 3 10:55:23 GMT 2007
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.
--
Adam McMaster <adam at moosoft.net>
More information about the ubuntu-uk
mailing list