* Bdale Garbee <bd...@gag.com>, 2010-10-07, 16:04:
Package: sudo Version: 1.7.4p4-3$ sudo -g staff id Segmentation faultI can't reproduce this. Any other clues?
Have you tried with the minimal /etc/sudoers I attached to the first message?
Anyway, I recompiled sudo with "-O0 -g" and did some debugging. It crashes at match.c:178:
return(userpw_matches(def_runas_default, runas_pw->pw_name, runas_pw)); because runas_pw is NULL. The traceback is: #0 0x0805d862 in _runaslist_matches (user_list=0x8f10808, group_list=0x8f10810) at ./match.c:178 #1 0x0805dbbf in runaslist_matches (user_list=0x8f10808, group_list=0x8f10810) at ./match.c:253 #2 0x0805437b in sudo_file_lookup (nss=0x806f780, validated=0, pwflag=0) at ./parse.c:221 #3 0x080567ff in main (argc=4, argv=0xbfffa434, envp=0xbfffa448) at ./sudo.c:358 -- Jakub Wilk
signature.asc
Description: Digital signature