From owner-freebsd-questions@FreeBSD.ORG Sat Nov 24 03:09:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F030216A417 for ; Sat, 24 Nov 2007 03:09:39 +0000 (UTC) (envelope-from kamil.kisiel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 83B2913C4D1 for ; Sat, 24 Nov 2007 03:09:38 +0000 (UTC) (envelope-from kamil.kisiel@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so13084waf for ; Fri, 23 Nov 2007 19:09:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=xWvXlkMDeMR0AmLscFnjcmR0ZB2VCRLn4NB+S5yEUu8=; b=cCnslZ/LcEtXi9LA3+2Djb5UC8BiJB47leIGyUpGNT2Yq4KtudF0SMnoGY/OhdXFZK9+n1gZnp8QjQHaboY5v3rGbYaFxxvIzlyErdTLuvOAWTuaSzsmHB0dxLWz9QbdWAflFbo6BQ0KpwYg9a5EqZKAsIyv+83i76uyZO59syA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qLDAvf9e91MiNntWKxSMYwNVjUKQNizSgG+xcYbMFDd3mS4Tvk3oQd+F5GLG7SjktYIrsCzqLQ6wEaHkVwygCG8uaTHvcr2zCXkd/6ePxJIFLM+nvUhyEQalm6ROtEaLFTdZuASEZB3YB+FLb0MfQ6Dn/rCZzwR1ItI8BUah5ng= Received: by 10.114.190.6 with SMTP id n6mr29322waf.1195873776645; Fri, 23 Nov 2007 19:09:36 -0800 (PST) Received: by 10.115.94.2 with HTTP; Fri, 23 Nov 2007 19:09:36 -0800 (PST) Message-ID: <66d392400711231909h42ca826la5d8818864a78a4e@mail.gmail.com> Date: Fri, 23 Nov 2007 19:09:36 -0800 From: "Kamil Kisiel" Sender: kamil.kisiel@gmail.com To: "Christopher Cowart" , freebsd-questions@freebsd.org In-Reply-To: <20071124030410.GH43532@hal.rescomp.berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <66d392400711231543x42aea684l3752bbbdcb65d2c5@mail.gmail.com> <20071124030410.GH43532@hal.rescomp.berkeley.edu> X-Google-Sender-Auth: 9db5f59d69a6f040 Cc: Subject: Re: sudo never asks me for a password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 03:09:40 -0000 On 11/23/07, Christopher Cowart wrote: > On Fri, Nov 23, 2007 at 03:43:39PM -0800, Kamil Kisiel wrote: > > For some reason, on this particular FreeBSD machine, sudo never asks > > me for a password, even if I haven't logged in for days. > > > > I've been struggling with this problem for some time but still haven't > > been able to find a solution. Any ideas? > > Maybe something is misconfigured in your pam stack? Check > /etc/pam.d/sudo. > > -- > Chris Cowart > Lead Systems Administrator > Network & Infrastructure Services, RSSP-IT > UC Berkeley > Hi Christopher, /etc/pam.d/sudo looks like this: # # $FreeBSD: src/etc/pam.d/su,v 1.16 2003/07/09 18:40:49 des Exp $ # # PAM configuration for the "su" service # # auth auth sufficient pam_rootok.so no_warn auth sufficient pam_self.so no_warn auth requisite pam_group.so no_warn group=wheel root_only fail_safe auth include system # account account include system # session session required pam_permit.so -- Kamil