postinst is in sssd-ipa 1.13.4-1ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh
set -e
LIBDIR=/usr/lib/x86_64-linux-gnu/sssd
case "$1" in
configure)
chown root:sssd $LIBDIR/selinux_child
chmod 4754 $LIBDIR/selinux_child
chown sssd:sssd /var/lib/sss/keytabs
chmod 700 /var/lib/sss/keytabs
;;
esac
|