Searched refs:allow (Results 1 - 25 of 78) sorted by relevance

1234

/illumos-gate/usr/src/lib/pyzfs/common/
H A Dunallow.py25 import zfs.allow namespace
27 do_unallow = zfs.allow.do_allow
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_009_neg.ksh36 # zfs allow can deal with invalid arguments.(Invalid options or combination)
52 log_mustnot eval "zfs allow -s @$longset $dtst"
55 log_mustnot zfs allow -s @non-existent $dtst
56 log_mustnot zfs allow $STAFF "atime,created,mounted" $dtst
57 log_mustnot zfs allow $dtst $TESTPOOL
58 log_mustnot zfs allow -c $dtst
59 log_mustnot zfs allow -u $STAFF1 $dtst
60 log_mustnot zfs allow -u $STAFF1 -g $STAFF_GROUP "create,destroy" $dtst
61 log_mustnot zfs allow -u $STAFF1 -e "mountpoint" $dtst
H A Dzfs_allow_008_pos.ksh36 # non-root user can allow any permissions which he is holding to
37 # other else user when it get 'allow' permission.
41 # 2. Verify the non-root user can allow permission if he has allow
47 log_assert "Verify non-root user can allow permissions."
58 log_must zfs allow -l $STAFF1 $perms1 $dtst
59 log_must zfs allow -l $STAFF1 allow $dtst
62 log_must zfs allow -l $STAFF1 $perms2 $childfs
64 log_mustnot user_run $STAFF1 zfs allow
[all...]
H A Dzfs_allow_006_pos.ksh43 # 4. Reset snapshot,allow to $basic
44 # 5. Verify now $STAFF1 have create,allow,destroy permissions.
61 log_must zfs allow -s @basic $perms1 $dtst
62 log_must zfs allow $STAFF1 @basic $dtst
68 log_must zfs allow -s @basic $perms2 $dtst
H A Dzfs_allow_007_pos.ksh72 log_must zfs allow -s @set $perms1 $ROOT_TESTFS
73 log_must zfs allow -s @set $perms2 $childfs
74 log_must zfs allow $STAFF1 @set $childfs
89 log_must zfs allow $STAFF1 @set $ROOT_TESTFS
H A Dzfs_allow_005_pos.ksh55 log_must zfs allow -l everyone create,mount $ROOT_TESTFS
56 log_must zfs allow -c $perms $ROOT_TESTFS
H A Dzfs_unallow_004_pos.ksh39 # 1. Set @basic set to $ROOT_TESTFS or $ROOT_TESTVOL and allow @basic
51 log_must zfs allow -s @basic $LOCAL_DESC_SET $dtst
52 log_must zfs allow -u $STAFF1 @basic $dtst
H A Dzfs_unallow_005_pos.ksh52 log_must zfs allow -c $LOCAL_SET $ROOT_TESTFS
53 log_must zfs allow -l $STAFF1 create,mount $ROOT_TESTFS
H A Dzfs_unallow_007_neg.ksh53 log_must zfs allow $STAFF1 $perm1 $ROOT_TESTFS
54 log_must zfs allow $STAFF1 $perm2 $SUBFS
H A Dzfs_allow_004_pos.ksh36 # Verify option '-d' allow permission to the descendent datasets, and not
52 log_assert "Verify option '-d' allow permission to the descendent datasets."
63 log_must zfs allow -d $STAFF1 $perms $dtst
75 log_must zfs allow -d -g $STAFF_GROUP $perms $dtst
87 log_must zfs allow -d -e $perms $dtst
96 log_pass "Verify option '-d' allow permission to the descendent datasets pass."
H A Dzfs_unallow_006_pos.ksh52 log_must zfs allow -u $STAFF1 $LOCAL_DESC_SET $dtst
53 log_must zfs allow -g $STAFF_GROUP $LOCAL_DESC_SET $dtst
54 log_must zfs allow -e $LOCAL_DESC_SET $dtst
H A Dzfs_allow_002_pos.ksh43 # 4. Delete user $STAFF_GROUP and allow the permission to $STAFF_GROUP
66 log_must zfs allow $STAFF_GROUP $perms $dtst
75 log_must zfs allow $STAFF_GROUP $perms $dtst
H A Dzfs_allow_012_neg.ksh58 set -A perms create snapshot mount send allow quota reservation \
70 log_must zfs allow $STAFF1 ${perms[$i]} $dtst
H A Dzfs_allow_003_pos.ksh36 # Verify option '-l' only allow permission to the dataset itself.
42 # 4. Verify the permissions are only allow on $ROOT_TESTFS or
48 log_assert "Verify option '-l' only allow permission to the dataset itself."
59 log_must zfs allow -l $STAFF1 $perms $dtst
71 log_must zfs allow -l -g $STAFF_GROUP $perms $dtst
83 log_must zfs allow -l -e $perms $dtst
93 log_pass "Verify option '-l' only allow permission to the dataset itself pass."
H A Ddelegate_common.kshlib171 allow)
348 log_must zfs allow -l $STAFF1 $LOCAL_SET $dtst
349 log_must zfs allow -d $STAFF2 $DESC_SET $dtst
350 log_must zfs allow $OTHER1 $LOCAL_DESC_SET $dtst
351 log_must zfs allow $OTHER2 $LOCAL_DESC_SET $dtst
434 log_must zfs allow $user create $fs
441 log_must zfs allow $user mount $fs
448 log_must zfs allow $user mount,create $fs
572 log_must zfs allow $user mount $fs
588 log_must zfs allow
[all...]
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Dallowed.c76 char ** allow,
80 is_user_allowed (user, allow, deny)
82 **allow,
89 return (allowed(user, allow, deny));
108 char **allow, local
111 if (loadaccess(Lp_A_Forms, form, "", &allow, &deny) == -1)
114 return (is_user_allowed(user, allow, deny));
133 char **allow, local
136 if (loadaccess(Lp_A_Printers, printer, UACCESSPREFIX, &allow, &deny) == -1)
139 return (is_user_allowed(user, allow, den
74 is_user_allowed( char * user, char ** allow, char ** deny ) argument
158 char **allow, local
173 allowed( char * item, char ** allow, char ** deny ) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dzfs_allow_001_neg.ksh38 # zfs allow returns an error when run as a user
47 # check to see if we have zfs allow
48 zfs 2>&1 | grep "allow" > /dev/null
50 log_unsupported "ZFS allow not supported on this machine."
53 log_assert "zfs allow returns an error when run as a user"
55 log_must zfs allow $TESTPOOL/$TESTFS
56 log_mustnot zfs allow $(logname) create $TESTPOOL/$TESTFS
59 # checking for any allow output. ( if no allows are granted,
61 OUTPUT=$(zfs allow $TESTPOOL/$TESTFS | grep "Local+Descendent" )
64 log_fail "zfs allow permission
[all...]
H A Dzfs_unallow_001_neg.ksh56 # now check with zfs allow to see if the permissions are still there
57 OUTPUT=$(zfs allow $TESTPOOL/$TESTFS/allowed | grep "Local+Descendent" )
/illumos-gate/usr/src/lib/pam_modules/list/
H A Dlist.c49 string_mode_type(pam_list_mode_t op_mode, boolean_t allow) argument
52 (allow ? "allow" : "deny"));
79 boolean_t allow = B_FALSE; local
107 string_mode_type(op_mode, allow));
110 } else if (strncasecmp(argv[i], "allow=",
111 sizeof ("allow=") - 1) == 0) {
114 sizeof ("allow=") - 1;
115 allow = B_TRUE;
119 log_illegal_combination("allow",
[all...]
/illumos-gate/usr/src/lib/pam_modules/allow/
H A DMakefile31 POFILE= allow.po
32 MSGFILES= allow.c
H A DMakefile.com30 OBJECTS= allow.o
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_002_pos.ksh59 log_must chmod A+owner@:rwxp:f:allow,group@:rwxp:f:allow $mntpnt/dir.$$
H A Dzfs_acl_chmod_001_neg.ksh59 log_mustnot usr_exec chmod ${A}owner@:read_data:allow $node
102 log_mustnot chmod A+owner@:read_data:allow $node
104 chmod A+owner@:read_data:allow $node
/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c72 allowed(user, allow, deny)
73 char *user, *allow, *deny;
75 if (exists(allow)) {
76 if (within(user, allow)) {
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_rmr_util.h59 IN DAT_COMPLETION_FLAGS allow,

Completed in 139 milliseconds

1234