<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm building the script to do this and one thing occurs to me. What
about when someone who does not have a local account on the laptop
tries to log in? The machine will let them log in, but will not be able
to find their home directory. <br>
<br>
A union mount might be interesting, but you'd want (rw) on the local
home for users with local logon and (rw) to be on the network home for
other users. So I don't think this will work. sigh. There should be a
way to do this.<br>
<br>
Darryl Moore wrote:
<blockquote cite="mid:4A36AE5B.9000701@moores.ca" type="cite">
<pre wrap="">Hmmm, I'm beginning to agree with you. It really becomes an issue with
suspend and then waking up to a new home directory. It could cause a bit
of havic with open gnome, firefox, and OOo files in the home directory.
And other too. Doing a quick lsof shows a lot of .* files open in the
home directory. For that reason I don't think even what you suggest
below will work either.
I guess what I should do is simply mount the NFS home directory in
/media so it shows up in nautilus, run rsync periodically & during
suspend/log off, but still use autofs so that I can shed the NFS mount
easily when the network context has changed.
<a class="moz-txt-link-abbreviated" href="mailto:mcr@simtone.net">mcr@simtone.net</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> So, basically, their laptop has a local /home/user which is read-only
to the user. That /home/user gets it's .* files copied from the network
/home/user/.* on a regular basis, with perhaps a final rsync during
shutdown/suspend. When on the road, the user can not change their
settings, but they can edit any documents in "local documents"
To make the /home/user read-only to the user, I suggest that you have
/real/home as writable, and then use a bind mount with -ro to mount
it. I think you can do this with the latest kernels.
>> It will confuse users and piss them off because they won't be
>> able to find things.
Darryl> That is an interesting comment, because part of the goal was
Darryl> to make things easier to find.
Disconnected nomadic computing is hard, because users want things to work, and
get pissed off if you prevent them from getting their work done.
There are some really neat things in NFSv4 that help: but I don't know
if they are implemented in linux yet.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>