On Sunday 23 May 2004 01:56, Robert Storey wrote: > On Sat, 22 May 2004 12:54:29 +0200 > > platanthera <[EMAIL PROTECTED]> wrote: > > On Friday 21 May 2004 17:49, platanthera wrote: > > > hi all, > > > > > > I want to move my home directory to a gbde encrypted partition. > > > I plan to have only the default dotfiles in /home/xxx (before > > > mounting the encrypted partition), log in as usual, attach and > > > fsck the encrypted partion and then mount it 'over' /home/xxx. Is > > > there anything wrong with this approach? > > > > hmm... obviously there is something wrong. I can't unmount my > > current home directory later. Not really surprising.. > > Interesting question. File /etc/passwd is where the system determines > where a user's data files will > be located. For example, user "robert" on my system: > > [EMAIL PROTECTED]:~> cat /etc/passwd | grep robert > robert:*:1005:1006:User &:/home/robert:/usr/local/bin/bash > > So just create a special user (using sysinstall), perhaps user > "secure". Instead of putting his login directory at /home/secure, put > it on /secure (a directory you manually create) and (as root) mount > /secure on an encrypted partition. After /secure is mounted, login as > user secure. You'll have to tweak permissions of course so that user > secure can read/write files on this partition.
hi Robert, thanks for your reply. In the meantime I decided to move /home completely to an encrypted partition, which I attach and mount as root before logging in under my user account. Think that's the easiest approach.. best regards _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"