Lines Matching refs:username
481 if(cfg->username && cfg->username[0]) { in perform_setup()
482 if((pwd = getpwnam(cfg->username)) == NULL) in perform_setup()
483 fatal_exit("user '%s' does not exist.", cfg->username); in perform_setup()
557 if(!(cfg->username && cfg->username[0])) in perform_setup()
579 if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1) { in perform_setup()
587 cfg->username, strerror(errno)); in perform_setup()
648 if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1) { in perform_setup()
650 if(initgroups(cfg->username, cfg_gid) != 0) in perform_setup()
652 cfg->username, strerror(errno)); in perform_setup()
666 cfg->username, strerror(errno)); in perform_setup()
675 cfg->username, strerror(errno)); in perform_setup()
677 cfg->username); in perform_setup()