Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 14:17:35 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        C J Michaels <cjm2@earthling.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Converting capability database back to text?
Message-ID:  <20020129201735.GE92289@dan.emsphone.com>
In-Reply-To: <2477.216.153.201.63.1012335177.squirrel@www1.27in.tv>
References:  <2477.216.153.201.63.1012335177.squirrel@www1.27in.tv>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 29), C J Michaels said:
> Is there any way I reverse the process of cap_mkdb and extract
> login.conf from my login.conf.db?  It seems I managed to overwrite my
> /etc/login.conf with mergemaster several months ago, and I don't have
> backups that date that far back.

If you have the db3 port installed, you can use the "db3_dump185 -p"
command to dump the raw databse records out.  You'll have to massage it
a bit to get it back into the old format, but it'll work.

-- 
	Dan Nelson
	dnelson@allantgroup.com

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?20020129201735.GE92289>