Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 13:45:23 -0800
From:      Rob <europax@home.com>
To:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   a virtual CFS home directory
Message-ID:  <3A0DBDF3.80C5EB62@home.com>

next in thread | raw e-mail | index | archive | help
I've been trying to set up a cryptographic file system virtual home
directory.  So far, cfs has worked very well.  I have created a new user
account for myself and made the virtual directory with all of the dot
files and "rc" files for this new account.  

What I am having trouble figuring out is how to automate the process, so
when I log in, after I enter my login password, I then give my password
for the cfs virtual home directory, and I am automatically in the
virtual directory.

I wrote a simple shell script and call it at the end of /etc/profile. 
If $LOGNAME is equal to my new user account, it calls "cattach" and
afterwards tries to set $HOME to the virtual directory.   Unfortunately,
I alway end up with / as my home directory, since bash can't find the
virtual directory until cattach is called, and since exporting a new
$HOME doesn't seem to work.  I wonder if there is any simple way to
assign a new home directory at the end of the login process, but after
"profile" is executed?

I will keep looking through my O'Reilly bash and csh books.  If I can
figure all this out I am going to write it up into a HowTo.  Seems like
a nice system for securing the data in a laptop.  

Rob.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0DBDF3.80C5EB62>