From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hs6XC-00049b-10 for garchives@archives.gentoo.org; Sun, 27 May 2007 00:22:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4R0L1lK017101; Sun, 27 May 2007 00:21:01 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4R0EC6x008720 for ; Sun, 27 May 2007 00:14:12 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 03EC564F49 for ; Sun, 27 May 2007 00:14:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.348 X-Spam-Level: X-Spam-Status: No, score=-0.348 required=5.5 tests=[AWL=-0.348] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5+JAoVO6mGgc for ; Sun, 27 May 2007 00:14:02 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id BBE4564AF5 for ; Sun, 27 May 2007 00:14:00 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hs6OH-0007Ey-T0 for gentoo-user@gentoo.org; Sun, 27 May 2007 02:13:45 +0200 Received: from c-959471d5.012-53-73746f50.cust.bredbandsbolaget.se ([213.113.148.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2007 02:13:45 +0200 Received: from che by c-959471d5.012-53-73746f50.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2007 02:13:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Christer Ekholm Subject: [gentoo-user] Re: two identical /etc/sudoers -- only one works Date: Sun, 27 May 2007 02:12:49 +0200 Message-ID: <86d50n15vi.fsf@poke.chrekh.se> References: <86r6p31dbn.fsf@poke.chrekh.se> <992443.71395.qm@web31714.mail.mud.yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-959471d5.012-53-73746f50.cust.bredbandsbolaget.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) Cancel-Lock: sha1:ZMfsu2PfC1kd70VrWZ8BBrferFQ= Sender: news X-Archives-Salt: 043ca8ea-cf7f-460e-8c14-e7266001b3f1 X-Archives-Hash: 95a3691b42928be57edb6646ef4cd5bf maxim wexler writes: >> root. Look for other occurences of geteuid in >> strace output. > > Most similar instance is following the line: > <...> > readlink("/proc/self/fd/0, "/dev/tty2", 4095) = 9 > getuid32() = 0 You should aslo check for any of setuid seteuid setreuid or setresuid. any call to any of those must be succesfull. -- Christer -- gentoo-user@gentoo.org mailing list