| /illumos-gate/usr/src/man/man2/ |
| H A D | setuid.2 | 36 The \fBsetuid()\fR function sets the real user ID, effective user ID, and saved 38 ID, effective group ID, and saved group ID of the calling process. The 39 \fBsetegid()\fR and \fBseteuid()\fR functions set the effective group and user 41 information on real, effective, and saved user and group IDs. 44 At login time, the real user ID, effective user ID, and saved user ID of the 46 of the process. The same is true for the real, effective, and saved group IDs; 53 can change. If the file executed is a set-user-ID file, the effective and saved 55 executed is a set-group-ID file, the effective and saved group IDs of the 57 a set-user-ID or set-group-ID file, the effective user \fBID\fR, saved user ID, 58 effective group ID, and saved group ID are not changed. [all …]
|
| H A D | setreuid.2 | 8 setreuid \- set real and effective user IDs 20 The \fBsetreuid()\fR function is used to set the real and effective user IDs of 22 if \fIeuid\fR is \(mi1, the effective user ID is not changed. The real and 23 effective user IDs may be set to different values in the same call. 26 If the {\fBPRIV_PROC_SETID\fR} privilege is asserted in the effective set of 27 the calling process, the real user ID and the effective user \fBID\fR can be 31 If the {\fBPRIV_PROC_SETID\fR} privilege is not asserted in the effective set 32 of the calling process, either the real user ID can be set to the effective 33 user ID, or the effective user ID can either be set to the saved set-user ID 38 not \fB\(mi1\fR), or the effective user ID is being changed to a value not [all …]
|
| H A D | setregid.2 | 8 setregid \- set real and effective group IDs 20 The \fBsetregid()\fR function is used to set the real and effective group IDs 22 changed; if \fIegid\fR is \(mi1, the effective group ID is not changed. The 23 real and effective group IDs may be set to different values in the same call. 26 If the {\fBPRIV_PROC_SETID\fR} privilege is asserted in the effective set of 27 the calling process, the real group ID and the effective group ID can be set to 31 If the {\fBPRIV_PROC_SETID\fR} privilege is not asserted in the effective set 33 set-group-ID from \fBexecve\fR(2), or the effective group ID can either be set 38 is not \(mi1), or the effective group ID is being changed to a value not equal 39 to the real group ID, the saved set-group-ID is set equal to the new effective [all …]
|
| H A D | kill.2 | 30 The real or effective user ID of the sending process must match the real or 33 the effective set of the sending process (see \fBIntro\fR(2)), or \fIsig\fR is 55 not asserted in the effective set of the sending process, \fIsig\fR will be 57 to the effective user \fBID\fR of the sender. 61 asserted in the effective set of the sending process, \fIsig\fR will be sent to 91 The effective user of the calling process does not match the real or saved user 93 asserted in the effective set, and the calling process either is not sending
|
| H A D | chown.2 | 137 asserted in its effective set, the set-user-ID and set-group-ID bits of the 154 privilege is asserted in the effective set of the current process, there are no 160 the ownership matches the effective user ID of the current process. 161 If neither privilege is asserted in the effective set of the calling process, 163 supplementary group IDs and the effective group ID. 216 The effective user ID does not match the owner of the file and the 218 privilege is not asserted in the effective set of the calling process, or the 220 privilege is not asserted in the effective set of the calling process.
|
| H A D | sigsend.2 | 33 The real or effective user \fBID\fR of the sending process must match the real 35 privilege is asserted in the effective set of the sending process or \fIsig\fR 57 effective user \fBID\fR \fIid\fR. 61 effective group \fBID\fR \fIid\fR. 186 The effective user of the calling process does not match the real or saved user 188 {\fBPRIV_PROC_OWNER\fR} privilege asserted in the effective set, and the 194 ID, even though the effective user ID matches the real or saved ID of the
|
| H A D | processor_bind.2 | 66 The {\fBPRIV_PROC_OWNER\fR} privilege must be asserted in the effective set of 67 the calling process or the real or effective user ID of the calling process 68 must match the real or effective user ID of the \fBLWP\fRs being bound. If the 122 The {\fBPRIV_PROC_OWNER\fR} privilege is not asserted in the effective set of 123 the calling process and its real or effective user ID does not match the real 124 or effective user \fBID\fR of one of the \fBLWP\fRs being bound.
|
| H A D | getuid.2 | 9 getuid, geteuid, getgid, getegid \- get real user, effective user, real group, 10 and effective group IDs 42 The \fBgeteuid()\fR function returns the effective user \fBID\fR of the calling 43 process. The effective user \fBID\fR gives the process various permissions 52 The \fBgetegid()\fR function returns the effective group \fBID\fR of the
|
| /freebsd/lib/libsys/ |
| H A D | setuid.2 | 53 sets the real and effective 58 .\" effective user ID is that of the super user. 63 .\" system call if the effective user ID is not that of the super user. 71 or the effective user ID 72 of the process, or if the effective user ID is that of the super user. 77 sets the real and effective 82 .\" effective user ID is that of the super user. 87 .\" system call if the effective user ID is not that of the super user. 95 or the effective group ID 96 of the process, or if the effective user ID is that of the super user. [all …]
|
| H A D | setgroups.2 | 101 system call would set the effective group ID for the process to the first 105 Despite treating the first element as the effective group ID to set, it accepted 112 as a stance requiring to drop all supplementary groups, leaving the effective 125 Formerly, it would set it as the effective group ID while only the others were 130 to change the effective group ID must be modified, e.g., to also call 134 else they will unwillingly keep their effective group ID. 138 with the effective group ID as the first element of array 145 manual page, and has the consequence that subsequent process' effective group 146 ID's changes do not remove membership of the original effective group ID, since 149 the effective group ID as the first element to
|
| H A D | setregid.2 | 33 .Nd set real and effective group ID 41 The real and effective group ID's of the current process 44 new value of the effective group ID. 47 ID to the effective group ID and vice-versa; only the super-user may 50 Supplying a value of -1 for either the real or effective 57 the real and effective group IDs 64 When setting the real and effective group IDs to the same value, 74 other than changing the effective group-id to the real group-id
|
| H A D | setreuid.2 | 33 .Nd set real and effective user ID's 41 The real and effective user IDs of the 49 ID to the effective user ID and vice-versa; only the super-user may 54 is not -1) or the effective user ID is changed to something other than 55 the real user ID, then the saved user ID will be set to the effective user ID. 59 system call has been used to swap the real and effective user IDs 65 When setting the real and effective user IDs to the same value, 75 other than changing the effective user-id to the real user-id
|
| H A D | setcred.2 | 28 super-user (0) as their effective user ID, or not at all if the 48 Set the effective user ID. 54 Set the effective group ID. 70 uid_t sc_uid; /* effective user id */ 73 gid_t sc_gid; /* effective group id */ 87 The ID to set the effective user to, if flag 99 The ID to set the effective group to, if flag 235 allows any unprivileged user to change the effective user ID to either the real 248 Traditionally in UNIX, all credential changes beyond shuffles of effective, real
|
| H A D | intro.2 | 134 .It Effective User Id, Effective Group Id, and Group Access List 136 the effective user ID, and the group access list. 138 effective group ID. 140 group IDs, and it is unspecified whether the effective group ID is 143 The effective user ID and effective group ID are initially the 149 By convention, the effective group ID 161 When a process executes a new file, the effective user ID is set 162 to the owner of the file if the file is set-user-ID, and the effective [all...] |
| H A D | setresuid.2 | 28 .Nd "get or set real, effective and saved user or group ID" 46 effective and saved user IDs of the current process. 49 sets the real, effective and saved group IDs. 63 calls retrieve the real, effective, and saved group and user IDs of 72 which was not the current real ID, the current effective ID
|
| /freebsd/tools/regression/security/access/ |
| H A D | testaccess.c | 226 fprintf(stderr, "saved uid used instead of effective uid\n"); in main() 245 /* Check that the real uid is used, not the effective uid */ in main() 248 fprintf(stderr, "Effective uid was used instead of real uid in access().\n"); in main() 253 /* Check that the effective uid is used, not the real uid */ in main() 256 fprintf(stderr, "Real uid was used instead of effective uid in eaccess().\n"); in main() 261 /* Check that the real uid is used, not the effective uid */ in main() 264 fprintf(stderr, "Effective uid was used instead of real uid in access().\n"); in main() 269 /* Check that the effective uid is used, not the real uid */ in main() 272 fprintf(stderr, "Real uid was used instead of effective uid in eaccess().\n"); in main() 291 /* Set non-root effective uid to avoid excess privilege. */ in main() [all …]
|
| /illumos-gate/usr/src/man/man8/ |
| H A D | id.8 | 105 process to standard output. If the effective and real \fBID\fRs do not match, 113 this case, effective \fBID\fRs are assumed to be identical to real \fBID\fRs. 135 If the effective and real user \fBID\fRs do not match, the following are 151 <\fIeffective user ID\fR>, <\fIeffective user-name\fR> 158 If the effective and real group \fBID\fRs do not match, the following is 160 after any addition resulting from the effective and real user \fBID\fRs not 231 If any of the user \fBID\fR, group \fBID\fR, effective user \fBID\fR, effective 291 Outputs all different group \fBID\fRs (effective, real and supplementary) only, 303 Outputs only the effective group \fBID\fR, using the format \fB"%u\en"\fR. 322 Outputs the real \fBID\fR instead of the effective \fBID\fR. [all …]
|
| /illumos-gate/usr/src/man/man9f/ |
| H A D | ddi_cred.9f | 97 new user id, real, effective and saved user id 106 new group id, real, effective and saved group id 135 respectively, the effective, real, and saved user id from the user credential 140 respectively, the effective, real, and saved group id from the user credential 156 \fBcrsetresuid()\fR sets the real, effective and saved user id. All but one can 160 \fBcrsetresgid()\fR sets the real, effective and saved group id. All but one 164 \fBcrsetugid()\fR initializes the real, effective and saved user id \fBall\fR 165 to \fIuid\fR. It initializes the real, effective, and saved group id \fBall\fR
|
| /illumos-gate/usr/src/man/man5/ |
| H A D | exec_attr.5 | 116 the effective UID is reset to the real UID of the process when the effective 119 preferable. To prevent the effective UIDs from being reset to real UIDs, you 143 Commands designated with \fBeuid\fR run with the effective \fBUID\fR indicated, 145 designated with \fBuid\fR run with both the real and effective \fBUID\fRs. 150 \fBID\fR. Commands designated with \fBegid\fR run with the effective \fBGID\fR 152 designated with \fBgid\fR run with both the real and effective \fBGID\fRs. 167 \fBExample 1 \fRUsing Effective User ID 171 Control profile to execute with an effective user \fBID\fR of root (\fB0\fR):
|
| /freebsd/usr.bin/id/ |
| H A D | id.1 | 66 If the real and effective IDs are different, both are displayed, 73 In this case, the real and effective IDs are assumed to be the same. 81 Display the different group IDs (effective, real and supplementary) 94 Display the effective group ID as a number. 115 If the effective user ID is different from the real user ID, the real user 118 If the effective group ID is different from the real group ID, the real group 130 options instead of the effective ID. 132 Display the effective user ID as a number.
|
| /illumos-gate/usr/src/man/man7/ |
| H A D | rbac.7 | 151 may not have such checks. In most cases, the kernel requires an effective user 157 set the system date, the command must be run with an effective user \fBID\fR of 163 the effective \fBUID\fR should be set to the real \fBUID\fR as early as 164 possible in the program's initialization function. The effective \fBUID\fR can 166 the system call is made. On return from the system call, the effective UID 173 be modified to work properly when the effective and real \fBUID\fRs are 175 resetting the effective \fBUID\fR back to the real \fBUID\fR. 178 Using an effective \fBUID\fR of root instead of the real \fBUID\fR requires 181 shell scripts may be running with the effective \fBUID\fR of root and with a
|
| H A D | privileges.7 | 63 owned by users other than the process's effective user ID. 66 and owned by users other than the process's effective user ID. 119 file's group ID to one other than the process's effective group ID or one of 176 files owned by UID 0 in the absence of an effective UID of 0. 211 process's effective UID. 253 effective group or one of the process's supplemental groups. Allow a process to 542 another process, additional restrictions apply: the effective privilege set of 543 the attaching process must be a superset of the target process's effective, 546 must be asserted unless the effective UID is 0. Allow a process to bind 1096 to be successful, that is, get an effective UID of 0 and additional privileges. [all …]
|
| /illumos-gate/usr/src/man/man3bsm/ |
| H A D | au_to.3bsm | 203 an \fIeuid\fR (effective user \fBID\fR), an \fIegid\fR (effective group 214 \fBID),\fR an \fIeuid\fR (effective user \fBID),\fR an \fIegid\fR (effective 233 an \fIeuid\fR (effective user \fBID\fR), an \fIegid\fR (effective group 242 \fBID),\fR an \fIeuid\fR (effective user \fBID),\fR an \fIegid\fR (effective
|
| /freebsd/share/man/man9/ |
| H A D | OF_node_from_xref.9 | 34 .Nd convert between kernel phandle and effective phandle 44 of effective phandle or xrefs. 69 returns the kernel phandle for the effective phandle 72 does not support effective phandles, the function returns 76 returns the effective phandle for the kernel phandle 79 does not support effective phandles, the function returns
|
| /freebsd/share/doc/psd/05.sysman/ |
| H A D | 1.1.t | 120 a \fIreal user id\fP and a \fIeffective user id\fP, both 16 bit 122 Each process has an \fIreal accounting group id\fP and an \fIeffective 131 The real and effective user ids associated with a process are returned by: 139 the real and effective accounting group ids by: 171 The \fIsetreuid\fP call sets both the real and effective user-id's, 173 and effective accounting group id's. 175 must be equal to either the current real or effective user-id, 176 and \fIrgid\fP equal to either the current real or effective
|