commit
15cf8d2ecf
@ -39,10 +39,11 @@ AC_SUBST(SECUREDIR)
|
|||||||
|
|
||||||
AC_ARG_ENABLE(ppassfile,
|
AC_ARG_ENABLE(ppassfile,
|
||||||
AS_HELP_STRING([--enable-ppassfile=FILE],
|
AS_HELP_STRING([--enable-ppassfile=FILE],
|
||||||
[path to file to be used for storing passwords @<:@default=/etc/pam_panic/auth@:>@]),
|
[path to file to be used for storing passwords @<:@default=/var/lib/pam_panic/auth@:>@]),
|
||||||
PPASSFILE=$enableval, PPASSFILE=/var/lib/pam_panic/auth)
|
PPASSFILE=$enableval, PPASSFILE=/var/lib/pam_panic/auth)
|
||||||
AC_DEFINE_UNQUOTED([PPASSFILE], "$PPASSFILE",
|
AC_DEFINE_UNQUOTED([PPASSFILE], "$PPASSFILE",
|
||||||
[path to file to be used for storing passwords])
|
[path to file to be used for storing passwords])
|
||||||
|
AC_SUBST(PPASSFILE)
|
||||||
|
|
||||||
LT_INIT([disable-static])
|
LT_INIT([disable-static])
|
||||||
AC_ENABLE_STATIC([no])
|
AC_ENABLE_STATIC([no])
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
cant_believe_its_not_mandir = $(mandir)
|
cant_believe_its_not_mandir = $(mandir)
|
||||||
|
securelibdir = $(SECUREDIR)
|
||||||
nobase_dist_cant_believe_its_not_man_DATA = \
|
nobase_dist_cant_believe_its_not_man_DATA = \
|
||||||
man8/pam_panic.8.gz \
|
man8/pam_panic.8.gz \
|
||||||
de/man8/pam_panic.8.gz \
|
de/man8/pam_panic.8.gz \
|
||||||
@ -6,4 +7,9 @@ nobase_dist_cant_believe_its_not_man_DATA = \
|
|||||||
fr/man8/pam_panic.8.gz
|
fr/man8/pam_panic.8.gz
|
||||||
|
|
||||||
%.gz: %
|
%.gz: %
|
||||||
gzip -c $< >$@
|
{ sldr=$$(echo "$(securelibdir)" | $(SED) 's/\//\\\//g') ; bdr=$$(echo "$(bindir)" | $(SED) 's/\//\\\//g') ; $(SED) "s/__PAMPANICSO__/$$sldr\/pam_panic\\\\\&.so/; s/__PAMPANICPW__/$$bdr\/pam_panic\\\\\&.so/" $< >$<.tmp ; }
|
||||||
|
gzip -c $<.tmp >$@
|
||||||
|
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
rm ./*/*.tmp ./*/*.gz ./*/*/*.tmp ./*/*/*.gz
|
||||||
|
@ -139,15 +139,15 @@ Um das Modul zu aktivieren, muss PAM konfiguriert werden\&. Siehe dazu \fBpam\&.
|
|||||||
Man f\(:uge folgende beispielhafte Zeilen am Anfang einer Konfigurationsdatei hinzu:
|
Man f\(:uge folgende beispielhafte Zeilen am Anfang einer Konfigurationsdatei hinzu:
|
||||||
.PD 0
|
.PD 0
|
||||||
.RS 4
|
.RS 4
|
||||||
auth requisite /usr/local/lib/security/pam_panic\&.so auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
auth requisite __PAMPANICSO__ auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
||||||
.PP
|
.PP
|
||||||
account requisite /usr/local/lib/security/pam_panic\&.so
|
account requisite __PAMPANICSO__
|
||||||
.RE
|
.RE
|
||||||
Oder auch:
|
Oder auch:
|
||||||
.RS 4
|
.RS 4
|
||||||
auth requisite /usr/local/lib/security/pam_panic\&.so password reboot serious=<UUID>
|
auth requisite __PAMPANICSO__ password reboot serious=<UUID>
|
||||||
.PP
|
.PP
|
||||||
account requisite /usr/local/lib/security/pam_panic\&.so
|
account requisite __PAMPANICSO__
|
||||||
.RE
|
.RE
|
||||||
.PD 1
|
.PD 1
|
||||||
|
|
||||||
@ -178,12 +178,12 @@ Der Wecheldatentr\(:ager wurde nicht erkannt\&.
|
|||||||
|
|
||||||
.SH "DATEIEN"
|
.SH "DATEIEN"
|
||||||
.PP
|
.PP
|
||||||
/usr/local/lib/security/pam_panic\&.so
|
__PAMPANICSO__
|
||||||
.RS 4
|
.RS 4
|
||||||
Shared object-Datei, die f\(:ur alles zust\(:andig ist\&.
|
Shared object-Datei, die f\(:ur alles zust\(:andig ist\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
/usr/local/bin/pam_panic_pw
|
__PAMPANICPW__
|
||||||
.RS 4
|
.RS 4
|
||||||
Programm zum Setzen und Ver\(:andern der Passw\(:orter\&.
|
Programm zum Setzen und Ver\(:andern der Passw\(:orter\&.
|
||||||
.RE
|
.RE
|
||||||
|
@ -95,9 +95,9 @@ Para activar el m\('odulo se tiene que configurar PAM\&. Vea \fBpam\&.conf(5)\fR
|
|||||||
En general, se necesita agregar lo siguiente al comienzo de un archivo de configuraci\('on PAM:
|
En general, se necesita agregar lo siguiente al comienzo de un archivo de configuraci\('on PAM:
|
||||||
.PD 0
|
.PD 0
|
||||||
.RS 4
|
.RS 4
|
||||||
auth requisite /usr/local/lib/security/pam_panic\&.so auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
auth requisite __PAMPANICSO__ auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
||||||
.PP
|
.PP
|
||||||
account requisite /usr/local/lib/security/pam_panic\&.so
|
account requisite __PAMPANICSO__
|
||||||
.RE
|
.RE
|
||||||
.PD 1
|
.PD 1
|
||||||
|
|
||||||
@ -125,11 +125,15 @@ El media removible no fue detectados\&.
|
|||||||
|
|
||||||
.SH "ARCHIVOS"
|
.SH "ARCHIVOS"
|
||||||
.PP
|
.PP
|
||||||
/usr/local/lib/security/pam_panic\&.so
|
__PAMPANICSO__
|
||||||
.RS 4
|
.RS 4
|
||||||
Este m\('odulo\&.
|
Este m\('odulo\&.
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
|
__PAMPANICPW__
|
||||||
|
.RS 4
|
||||||
|
Password changer
|
||||||
|
.RE
|
||||||
|
|
||||||
.SH "ERRORES"
|
.SH "ERRORES"
|
||||||
.PP
|
.PP
|
||||||
|
@ -95,9 +95,9 @@ Pour activer ce module vous devez configurer PAM\&. Lisez \fBpam\&.conf(5)\fR po
|
|||||||
En général, vous voudrez ajouter ce qui suit au début du fichier de configuration PAM:
|
En général, vous voudrez ajouter ce qui suit au début du fichier de configuration PAM:
|
||||||
.PD 0
|
.PD 0
|
||||||
.RS 4
|
.RS 4
|
||||||
auth requisite /usr/local/lib/security/pam_panic\&.so auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
auth requisite __PAMPANICSO__ auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
||||||
.PP
|
.PP
|
||||||
account requisite /usr/local/lib/security/pam_panic\&.so
|
account requisite __PAMPANICSO__
|
||||||
.RE
|
.RE
|
||||||
.PD 1
|
.PD 1
|
||||||
|
|
||||||
@ -128,10 +128,15 @@ Le péripherique amovible n'a pas été détécté\&.
|
|||||||
|
|
||||||
.SH "FICHIERS"
|
.SH "FICHIERS"
|
||||||
.PP
|
.PP
|
||||||
/usr/local/lib/security/pam_panic\&.so
|
__PAMPANICSO__
|
||||||
.RS 4
|
.RS 4
|
||||||
Ce module PAM\&.
|
Ce module PAM\&.
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
|
__PAMPANICPW__
|
||||||
|
.RS 4
|
||||||
|
Password changer
|
||||||
|
.RE
|
||||||
|
|
||||||
|
|
||||||
.SH "BUGS"
|
.SH "BUGS"
|
||||||
|
@ -126,15 +126,15 @@ To activate the module you have to configure PAM\&. See \fBpam\&.conf(5)\fR for
|
|||||||
In general, you will want to add the following to the top of a PAM configuration file:
|
In general, you will want to add the following to the top of a PAM configuration file:
|
||||||
.PD 0
|
.PD 0
|
||||||
.RS 4
|
.RS 4
|
||||||
auth requisite /usr/local/lib/security/pam_panic\&.so auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
auth requisite __PAMPANICSO__ auth=<UUID> reject=<UUID> reboot serious=<UUID>
|
||||||
.PP
|
.PP
|
||||||
account requisite /usr/local/lib/security/pam_panic\&.so
|
account requisite __PAMPANICSO__
|
||||||
.RE
|
.RE
|
||||||
Or:
|
Or:
|
||||||
.RS 4
|
.RS 4
|
||||||
auth requisite /usr/local/lib/security/pam_panic\&.so password reboot serious=<UUID>
|
auth requisite __PAMPANICSO__ password reboot serious=<UUID>
|
||||||
.PP
|
.PP
|
||||||
account requisite /usr/local/lib/security/pam_panic\&.so
|
account requisite __PAMPANICSO__
|
||||||
.RE
|
.RE
|
||||||
.PD 1
|
.PD 1
|
||||||
|
|
||||||
@ -165,12 +165,12 @@ The removable media was not detected\&.
|
|||||||
|
|
||||||
.SH "FILES"
|
.SH "FILES"
|
||||||
.PP
|
.PP
|
||||||
/usr/local/lib/security/pam_panic\&.so
|
__PAMPANICSO__
|
||||||
.RS 4
|
.RS 4
|
||||||
This PAM module\&.
|
This PAM module\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
/usr/local/bin/pam_panic_pw
|
__PAMPANICPW__
|
||||||
.RS 4
|
.RS 4
|
||||||
Program to set and change the passwords\&.
|
Program to set and change the passwords\&.
|
||||||
.RE
|
.RE
|
||||||
|
@ -4,4 +4,9 @@ nobase_dist_cant_believe_its_not_man_DATA = \
|
|||||||
de/man1/pam_panic_pw.1.gz
|
de/man1/pam_panic_pw.1.gz
|
||||||
|
|
||||||
%.gz: %
|
%.gz: %
|
||||||
gzip -c $< >$@
|
{ ppf=$$(echo "$(PPASSFILE)" | $(SED) 's/\//\\\//g') ; bdr=$$(echo "$(bindir)" | $(SED) 's/\//\\\//g') ; $(SED) "s/__PPASSFILE__/$$ppf/; s/__PAMPANICPW__/$$bdr\/pam_panic\\\\\&.so/" $< >$<.tmp ; }
|
||||||
|
gzip -c $<.tmp >$@
|
||||||
|
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
rm ./*/*.tmp ./*/*.gz ./*/*/*.tmp ./*/*/*.g
|
||||||
|
@ -58,12 +58,12 @@ Die Passwortdatei konnte nicht ge\(:offnet werden\&.
|
|||||||
|
|
||||||
.SH "DATEIEN"
|
.SH "DATEIEN"
|
||||||
.PP
|
.PP
|
||||||
/usr/local/bin/pam_panic_pw
|
__PAMPANICPW__
|
||||||
.RS 4
|
.RS 4
|
||||||
Programm zum Setzen und Ver\(:andern der Passw\(:orter\&.
|
Programm zum Setzen und Ver\(:andern der Passw\(:orter\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
/var/lib/pam_panic/auth
|
__PPASSFILE__
|
||||||
.RS 4
|
.RS 4
|
||||||
Die Passwortdatei\&.
|
Die Passwortdatei\&.
|
||||||
.RE
|
.RE
|
||||||
|
@ -58,12 +58,12 @@ Could not open the password file\&.
|
|||||||
|
|
||||||
.SH "FILES"
|
.SH "FILES"
|
||||||
.PP
|
.PP
|
||||||
/usr/local/bin/pam_panic_pw
|
__PAMPANICPW__
|
||||||
.RS 4
|
.RS 4
|
||||||
Program to set and change the passwords\&.
|
Program to set and change the passwords\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
/var/lib/pam_panic/auth
|
__PPASSFILE__
|
||||||
.RS 4
|
.RS 4
|
||||||
The password file\&.
|
The password file\&.
|
||||||
.RE
|
.RE
|
||||||
|
Loading…
Reference in New Issue
Block a user