From: megacz Date: Mon, 7 May 2007 22:54:12 +0000 (+0000) Subject: add +requires_preauth to "kadmin -q ank" X-Git-Url: http://git.hcoop.net/clinton/scripts.git/commitdiff_plain/52e2a5b3a6573347d68bbd881fbf0d2779dfebd6 add +requires_preauth to "kadmin -q ank" --- diff --git a/create-user b/create-user index 31c67e6..377448c 100755 --- a/create-user +++ b/create-user @@ -28,10 +28,9 @@ fi # worry - we'll invoke cpw later, so that it has the same effect # as setting password right now - while it is more error tolerant). -sudo kadmin.local -p root/admin -q "ank -policy user -randkey $USER@HCOOP.NET" -sudo kadmin.local -p root/admin -q "ank -policy mailfilter -randkey $USER/mailfilter@HCOOP.NET" -sudo kadmin.local -p root/admin -q "ank -policy cgi -randkey $USER/cgi@HCOOP.NET" - +sudo kadmin.local -p root/admin -q "ank -policy user -randkey +requires_preauth $USER@HCOOP.NET" +sudo kadmin.local -p root/admin -q "ank -policy mailfilter -randkey +requires_preauth $USER/mailfilter@HCOOP.NET" +sudo kadmin.local -p root/admin -q "ank -policy cgi -randkey +requires_preauth $USER/cgi@HCOOP.NET" # # Create AFS users corresponding to krb5 principals.