Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2000 15:19:58 +0200 (CEST)
From:      Paul Herman <pherman@frenchfries.net>
To:        dave <dmehler22@earthlink.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sudoers question.
Message-ID:  <Pine.BSF.4.21.0008071514420.266-100000@bagabeedaboo.security.at12.de>
In-Reply-To: <000801bffff0$2773d600$4b00a8c0@davemehler.tzo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008071514420.266-100000>