summaryrefslogtreecommitdiff
path: root/usr/src/cmd/passwd/passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/passwd/passwd.c')
-rw-r--r--usr/src/cmd/passwd/passwd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/src/cmd/passwd/passwd.c b/usr/src/cmd/passwd/passwd.c
index e155f357f1..851de6f237 100644
--- a/usr/src/cmd/passwd/passwd.c
+++ b/usr/src/cmd/passwd/passwd.c
@@ -1066,14 +1066,6 @@ ckarg(int argc, char **argv, attrlist **attributes)
if (repository.type == NULL)
repository = __REPFILES;
- /*
- * Only privileged process can execute this
- * for FILES
- */
- if (IS_FILES(repository) && (ckuid() != SUCCESS)) {
- retval = NOPERM;
- return (FAIL);
- }
if (flag & (EFLAG|SAFLAG|AGEFLAG)) {
retval = BADOPT;
return (FAIL);