Re: How to quickly get a snapshot of the Heimdal DB file
"Roland C. Dowdeswell" <[email protected]> Sun, 2 Apr 2017 13:44:05 -0400
| Newsgroups | gmane.comp.encryption.kerberos.heimdal.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 01, 2017 at 04:59:56PM -0700, Adam Lewenberg wrote:
>
> I am looking for a quick way to get a snapshot of the Kerberos
> database file.
In addition to the other methods suggested already, you could just:
$ kadmin -l dump <file>
which can be later loaded with:
$ kadmin -l load <file>
Or one could even grep the entries out that you wish to restore and pass
them to:
$ kadmin -l merge <file>
if, say, you wanted to revert some entries to the dump file that you
created using the cronjob that we all generally have in place.
--
Roland C. Dowdeswell