]>
Commit | Line | Data |
---|---|---|
24334275 | 1 | diff -ruN john-1.6./run/mailer john-1.6/run/mailer |
2 | --- john-1.6./run/mailer 1998-12-03 01:29:50.000000000 +0100 | |
3 | +++ john-1.6/run/mailer 2003-07-12 12:06:43.000000000 +0200 | |
4 | @@ -10,10 +10,11 @@ | |
5 | fi | |
6 | ||
7 | # There's no need to mail users with these shells | |
8 | -SHELLS=-,/bin/false,/dev/null,/bin/sync | |
9 | +SHELLS=-,/bin/false,/dev/null,/bin/sync,/bin/true,/sbin/shutdown | |
10 | ||
11 | # Look for John in the same directory with this script | |
12 | -DIR="`echo "$0" | sed 's,/[^/]*$,,'`" | |
13 | +#DIR="`echo "$0" | sed 's,/[^/]*$,,'`" | |
14 | +DIR="/usr/bin" | |
15 | ||
16 | # Let's start | |
17 | $DIR/john -show "$1" -shells:$SHELLS | sed -n 's/:.*//p' | | |
18 | @@ -21,10 +22,23 @@ | |
19 | SENT=0 | |
20 | ||
21 | while read LOGIN; do | |
22 | - echo Sending mail to "$LOGIN"... | |
23 | + echo Sending mail to / Wysylam maila do "$LOGIN"... | |
24 | ||
25 | # You'll probably want to edit the message below | |
26 | - mail -s 'Bad password' "$LOGIN" << EOF | |
27 | + mail -s 'Bad password / Zle haslo' "$LOGIN" << EOF | |
28 | +-------------------------------------------------------------------------- | |
29 | +[PL] | |
30 | + | |
31 | +Witaj! | |
32 | + | |
33 |