Searched refs:uid (Results 1 - 9 of 9) sorted by relevance

/httpd/support/SHA1/
H A Dconvert-sha1.pl9 my $uid='';
14 if ( $line =~ /uid:\s*(.+)/) { $uid = $1 }
22 if (length $uid and length $passwd) {
23 print $uid, ':', $passwd, "\n";
26 $uid = '';
33 if (length $uid and length $passwd) {
34 print $uid, ':', $passwd, "\n";
/httpd/support/
H A Dsuexec.c288 uid_t uid; /* user information */ local
312 uid = getuid();
313 if ((pw = getpwuid(uid)) == NULL) {
314 log_err("crit: invalid uid: (%lu)\n", (unsigned long)uid);
323 && ((uid == 0)
478 uid = pw->pw_uid;
490 log_no_err("uid: (%s/%s) gid: (%s/%s) cmd: %s\n",
499 if ((uid == 0) || (uid < AP_UID_MI
[all...]
/httpd/modules/generators/
H A Dmod_suexec.c59 const char *uid, const char *gid)
74 cfg->ugid.uid = ap_uname2id(uid);
58 set_suexec_ugid(cmd_parms *cmd, void *mconfig, const char *uid, const char *gid) argument
/httpd/modules/arch/unix/
H A Dmod_unixd.c83 * the lookup of to uid --- the same uid may have multiple passwd entries,
92 /* Get username if passed as a uid */
96 uid_t uid = atol(&ap_unixd_config.user_name[1]); local
98 if ((ent = getpwuid(uid)) == NULL) {
100 "getpwuid: couldn't determine user name from uid %ld, "
102 (long)uid);
188 "setuid: unable to change to uid: %ld",
336 apr_uid_t uid = ap_unixd_config.user_id; local
345 ap_unixd_config.user_name, (unsigned long)uid, no_roo
[all...]
H A Dmod_privileges.c50 uid_t uid; member in struct:__anon74
104 cfg->uid = 0;
139 /* ugly hack: grab default uid and gid from unixd */
151 if (cfg->uid || cfg->gid) {
156 if (cfg->uid && (setuid(ap_unixd_config.user_id) == -1)) {
257 if (cfg->uid || cfg->gid) {
265 if (cfg->uid && (setuid(cfg->uid) == -1)) {
423 cfg->uid = ap_uname2id(arg);
424 if (cfg->uid
[all...]
/httpd/os/unix/
H A Dunixd.h56 uid_t uid; member in struct:__anon348
H A Dunixd.c100 "Must be uid 0 to raise maximum %s", cmd->cmd->name);
156 execuser = apr_psprintf(p, "~%ld", (long) ugid->uid);
159 execuser = apr_psprintf(p, "%ld", (long) ugid->uid);
247 buf.sem_perm.uid = ap_unixd_config.user_id;
447 bs2_FORK, /* only fork() because uid != 0 */
488 /* We can be sure that no change to uid==0 is possible because of
/httpd/modules/mappers/
H A Dmod_userdir.c361 if (apr_uid_get(&ugid->uid, &ugid->gid, username, r->pool) != APR_SUCCESS) {
/httpd/modules/metadata/
H A Dmod_mime_magic.c194 char uid[8]; member in struct:record::header

Completed in 46 milliseconds