Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2007 14:07:58 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        "Tamouh H." <hakmi@rogers.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: pwd.db too big for / partition
Message-ID:  <7822B290-4756-47B7-9951-E8F11A294C3C@mac.com>
In-Reply-To: <200703192049.l2JKnBTl010869@mac.com>
References:  <200703192049.l2JKnBTl010869@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 19, 2007, at 1:49 PM, Tamouh H. wrote:
> Well, I had a VM laying around so thought to fire it up and do some  
> testing. I know this is absurd abit but I wanted to see the effect  
> of doing symlinks with pwd.db files.
>
> - I was able to copy /etc/pwd.db /etc/spwd.db to /var/etc/
> - Then I deleted /etc/pwd.db and /etc/spwd.db
> - created ln -s /var/etc/pwd.db /etc/pwd.db   and ln -s /var/etc/ 
> spwd.db /etc/spwd.db
> - changed the root password, worked!
> - Even rebooted the system and was able to successfully able to login

I invite you to repeat the experiment when there is an issue with / 
var which prevents it from being mounted cleanly until, say, a manual  
fsck is completed....  :-/

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7822B290-4756-47B7-9951-E8F11A294C3C>