cheat and use the noauth flag so we pass the admin checks
Change-Id: Ie064db4fb930529fe474317d096238c915d1ef5b
Reviewed-on: http://gerrit.openafs.org/9839
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
extern char *optarg;
extern int optind;
+extern int pr_noAuth;
+
int restricted = 0;
static int display_entry(int);
if (tparm[0].items) {
wflag++;
+ /* so we are treated as admin and can create "mis"owned
+ groups */
+ pr_noAuth = 1;
}
if (tparm[1].items) {
flags |= DO_USR;