Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2000 12:27:19 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        questions@freebsd.org
Subject:   Moving /home to a new hard drive
Message-ID:  <3.0.6.32.20000831122719.00874c20@stjohn.stjohn.ac.th>

next in thread | raw e-mail | index | archive | help
I had FreeBSD 3.1 on a 3GB drive. I discovered the guy before me had
installed so much useless junk that /usr was 94% full. /usr/home was in
a separate slice, but it was 92% full as well. I was able to get my
hands on a 4.1GB hard drive, and I've done a new installation of
FreeBSD, and have gotten it upgraded to 4.1-STABLE. I still have a lot
of tweaking to do, but I need to get the users' directories moved over
to the new drive.

OK, no problem copying the users' home directories, but what do I do
about the usernames and their associated passwords? Many years ago I
would have assumed I could just merge the /etc/passwd file. Can I
accomplish this by merging both /etc/passwd and /etc/master.passwd,
then doing a pwd_mkdb?

Actually, there are only a couple of dozen usernames involved here at
this time (soon to increase). It would be feasible for me to add the
names using adduser, copy the contents of the user directories over,
and then make the users change their passwords, but I would like to do
this without them even being aware of it. One complication I *don't*
have to deal with -- we don't have Kerberos here, so I'm changing
*only* the local password.

Any advice/warnings would be appreciated.
-- 
Roger


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?3.0.6.32.20000831122719.00874c20>