From owner-freebsd-questions@FreeBSD.ORG Mon Feb 14 06:10:14 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5430C16A4CF for ; Mon, 14 Feb 2005 06:10:14 +0000 (GMT) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2635B43D41 for ; Mon, 14 Feb 2005 06:10:14 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.100] (utdvpn084056.utdallas.edu [129.110.84.56]) by smtp1.utdallas.edu (Postfix) with ESMTP id B22EE388C2E; Mon, 14 Feb 2005 00:10:13 -0600 (CST) Date: Mon, 14 Feb 2005 00:10:11 -0600 From: Paul Schmehl To: Brian John , freebsd-questions@freebsd.org Message-ID: <2147483647.1108339811@[192.168.2.100]> In-Reply-To: <42102ED6.3090702@fusemail.com> References: <42102ED6.3090702@fusemail.com> X-Mailer: Mulberry/3.0.3 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: sudo never requires a password? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 06:10:14 -0000 --On Sunday, February 13, 2005 10:53 PM -0600 Brian John wrote: > How come whenever I do a 'sudo' command I never have to enter a password? > I have tried it several times and it is like I have root access but don't > need a root password by just using sudo. I think this could be pretty > dangerous. I've never setup sudo before, at least not myself. Could > someone help me figure this out? > Sudo can be configured to require a password or to never require a password. If this is your machine, then su - to root and type "visudo" and look at the file (/etc/sudoers) yourself. Whoever set sudo up chose to set it up that way. Sudo can also be setup to only grant you "root" access to *certain* resources. It's up to the admin to make those kinds of decisions. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu