Description
Type integer READONLY
gid contains the Group ID of the submitting user's primary group on the client host.
Example
adminusers = {"dan","robyn","cory"}; printf ("Request received from user id:%d %d\n", uid, gid);
Type integer READONLY
gid contains the Group ID of the submitting user's primary group on the client host.
adminusers = {"dan","robyn","cory"}; printf ("Request received from user id:%d %d\n", uid, gid);
Type string READONLY
group contains the name of user's primary group.
if (group == "admin") adminusers = append(adminusers,user);
Type string READONLY
groups contains the list all groups in which the user is a member.
# If a user belongs to a particular group, reject the command if ( "restrictedUsers" in groups ) { reject; }
Type string READONLY
host identifies the host name where the user has requested to run the command.
# If the requested host is not in the allowed_hosts list, reject the command allowed_hosts = {“hosta.test.com”, “hostb.test.com”, “hostc.test.com”}; if ( host !in allowed_hosts ) { reject “Commands on host “ + host + “ are not allowed. \n”; }
© ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center