Plan 9 from Bell Labs 2000-07-10
1 files changed, 1 insertions(+), 1 deletions(-) M port/auth.c
M port/auth.c => port/auth.c +1 -1
@@ 600,7 600,7 @@ userwrite(char *a, int n) { if(n >= NAMELEN) error(Ebadarg); - if(strcmp(a, "none") != 0) + if(!iseve() || strcmp(a, "none") != 0) error(Eperm); memset(up->user, 0, NAMELEN); strcpy(up->user, "none");