From owner-freebsd-questions Mon Aug 7 6:20:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 98BEA37B78C for ; Mon, 7 Aug 2000 06:20:17 -0700 (PDT) (envelope-from pherman@frenchfries.net) Received: from bagabeedaboo.security.at12.de (dial-213-168-64-66.netcologne.de [213.168.64.66]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id PAA00164; Mon, 7 Aug 2000 15:20:13 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.10.2/8.10.2) with ESMTP id e77DJwj01065; Mon, 7 Aug 2000 15:19:58 +0200 (CEST) Date: Mon, 7 Aug 2000 15:19:58 +0200 (CEST) From: Paul Herman To: dave Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sudoers question. In-Reply-To: <000801bffff0$2773d600$4b00a8c0@davemehler.tzo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Dave, Please wrap your lines to less than 80 columns. On Sun, 6 Aug 2000, dave wrote: > I've got a problem with my sudoers file. I want to have a user > be able to execute a command only after he gives a password but I > do not want a lecture to be displayed. Since the password flag is > on by default the first part is easy, however, when I try to > disable the lecture flag I get a cintax error. AFAIK, flags can only be used in the "Default" context. The manpage for sudoers doesn't seem to convince me otherwise. Defaults:userlogin !lecture -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message