Lines Matching refs:username
539 if(cfg->username && cfg->username[0]) {
540 if((pwd = getpwnam(cfg->username)) == NULL)
541 fatal_exit("user '%s' does not exist.", cfg->username);
579 /* Check old pid if there is no username configured.
580 * With a username, the assumption is that the privilege
586 if(!(cfg->username && cfg->username[0]))
608 if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1) {
616 cfg->username, strerror(errno));
677 if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1) {
679 if(initgroups(cfg->username, cfg_gid) != 0)
681 cfg->username, strerror(errno));
695 cfg->username, strerror(errno));
704 cfg->username, strerror(errno));
706 cfg->username);