File: libpam-runtime.postrm

package info (click to toggle)
pam 1.1.8-3.6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,800 kB
  • ctags: 2,930
  • sloc: ansic: 31,350; xml: 21,611; sh: 11,344; makefile: 1,563; perl: 893; yacc: 408; lex: 70; sed: 16
file content (11 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

if [ "$1" = "purge" ]; then
	rm -f /etc/pam.d/common-auth /etc/pam.d/common-account \
	      /etc/pam.d/common-session /etc/pam.d/common-password
	rm -f /var/lib/pam/auth /var/lib/pam/account /var/lib/pam/session \
	      /var/lib/pam/password /var/lib/pam/seen
	rmdir --ignore-fail-on-non-empty /var/lib/pam
fi

#DEBHELPER#