]> git.pld-linux.org Git - packages/john.git/commitdiff
- polish version
authorareq <areq@pld-linux.org>
Sun, 12 Feb 2006 21:36:10 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    john-mailer.patch -> 1.1

john-mailer.patch [new file with mode: 0644]

diff --git a/john-mailer.patch b/john-mailer.patch
new file mode 100644 (file)
index 0000000..20a958c
--- /dev/null
@@ -0,0 +1,50 @@
+diff -ruN john-1.6./run/mailer john-1.6/run/mailer
+--- john-1.6./run/mailer       1998-12-03 01:29:50.000000000 +0100
++++ john-1.6/run/mailer        2003-07-12 12:06:43.000000000 +0200
+@@ -10,10 +10,11 @@
+ fi
+ # There's no need to mail users with these shells
+-SHELLS=-,/bin/false,/dev/null,/bin/sync
++SHELLS=-,/bin/false,/dev/null,/bin/sync,/bin/true,/sbin/shutdown
+ # Look for John in the same directory with this script
+-DIR="`echo "$0" | sed 's,/[^/]*$,,'`"
++#DIR="`echo "$0" | sed 's,/[^/]*$,,'`"
++DIR="/usr/bin"
+ # Let's start
+ $DIR/john -show "$1" -shells:$SHELLS | sed -n 's/:.*//p' |
+@@ -21,10 +22,23 @@
+       SENT=0
+       while read LOGIN; do
+-              echo Sending mail to "$LOGIN"...
++              echo Sending mail to / Wysylam maila do "$LOGIN"...
+ # You'll probably want to edit the message below
+-              mail -s 'Bad password' "$LOGIN" << EOF
++              mail -s 'Bad password / Zle haslo' "$LOGIN" << EOF
++--------------------------------------------------------------------------
++[PL]
++
++Witaj!
++
++Twoje has³o dla konta "$LOGIN" nie jest bezpieczne. Proszê zmieñ
++je tak szybko jak to jest mo¿liwe.
++
++Twój,
++      Robot Sprawdzaj±cy Has³a.
++--------------------------------------------------------------------------
++[ENG]
++
+ Hello!
+ Your password for account "$LOGIN" is insecure. Please change it as soon
+@@ -32,6 +46,7 @@
+ Yours,
+       Password Checking Robot.
++--------------------------------------------------------------------------
+ EOF
This page took 0.041812 seconds and 4 git commands to generate.