remove debug email address and add user in to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e49d9465c5
commit
a9122ad106
1 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,6 @@ fi
|
||||||
|
|
||||||
sendmail="/usr/sbin/sendmail"
|
sendmail="/usr/sbin/sendmail"
|
||||||
to="systems-sysadmins@lists.inf.ethz.ch"
|
to="systems-sysadmins@lists.inf.ethz.ch"
|
||||||
to="nicosc@ethz.ch"
|
|
||||||
from="${NETHZ_USERNAME}@ethz.ch"
|
from="${NETHZ_USERNAME}@ethz.ch"
|
||||||
|
|
||||||
account="$1"; shift
|
account="$1"; shift
|
||||||
|
@ -76,8 +75,9 @@ expiry="$1"; shift
|
||||||
|
|
||||||
comment="$@"
|
comment="$@"
|
||||||
|
|
||||||
cat << eof | $sendmail -f "$from" $to
|
# Also send to user
|
||||||
To: systems-sysadmins@lists.inf.ethz.ch
|
cat << eof | $sendmail -f "$from" $from $to
|
||||||
|
To: <$from>, <$to)
|
||||||
Subject: Create account $account in ou $ou
|
Subject: Create account $account in ou $ou
|
||||||
|
|
||||||
Sysadmin-Proxy: Check & forward this e-mail 1:1 to support@inf.ethz.ch.
|
Sysadmin-Proxy: Check & forward this e-mail 1:1 to support@inf.ethz.ch.
|
||||||
|
|
Loading…
Add table
Reference in a new issue