OT: debian question

Gebhardt Thomas gebhardt at hrz.uni-marburg.de
Thu Dec 7 14:30:05 CET 2006


Hi,

On Thursday 07 December 2006 14:03, you wrote:
> During installation of ssh postinst script creates the file
> /etc/ssh/sshd_config. Is it possible to query

Do you need a "method" or just an pragmatic procedure that
works "almost always"?

> 1. which files a package creates

The pramatic procedure would be a "grep sshd_config *postinst"
or "xargs *postinst  | grep ...." in /var/lib/dpkg/info.

> 2. whether they have been changed since installation

You could compare the timestamps of /etc/ssh/sshd_config
and /var/lib/dpkg/info/ssh.list , the latter is generated during
installation.

Cheers, Thomas



More information about the linux-fai mailing list