From owner-freebsd-config@FreeBSD.ORG Thu Apr 8 18:49:41 2004 Return-Path: Delivered-To: freebsd-config@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12FF916A4CE for ; Thu, 8 Apr 2004 18:49:41 -0700 (PDT) Received: from mail2.vcu.edu (mail2.vcu.edu [128.172.1.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23D4D43D55 for ; Thu, 8 Apr 2004 18:49:38 -0700 (PDT) (envelope-from wiggleswormg@vcu.edu) Received: from [128.172.62.115] ([128.172.62.115]) by mail2.vcu.edu (8.12.0/8.11.3) with ESMTP id i391naqh046990 for ; Thu, 8 Apr 2004 21:49:36 -0400 From: Martes G Wigglesworth To: Config-BSDlist Content-Type: text/plain Message-Id: <1081460689.237.0.camel@wiggtekmicromobil> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 08 Apr 2004 21:48:52 +0000 Content-Transfer-Encoding: 7bit Subject: Sudo problem... X-BeenThere: freebsd-config@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: wiggleswormg@vcu.edu List-Id: Installation and Configuration List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 01:49:41 -0000 I get the followning error prior to following through with a command while in regular user mode and sudoing a command: bash$ sudo ls sudo: unknown login class: wheel .DCOPserver_wiggtekmicromobil_:0 .login .DCOPserver_wiggtekmicromobil__0 .login_conf .ICEauthority .mail_aliases .Xauthority .mailrc .bash_history .mcop .cshrc .mcoprc .evolution-composer.autosave-aZXJou .profile .fonts.cache-1 .qt .gconf .rhosts .gconfd .shrc .gnome .xinitrc .gnome2 .xsession .gnome2_private Desktop .gtkrc-kde bash.core .kde evolution .kderc kdeinit.core bash$ The only active things in /usr/local/etc/sudoers are as follows: #1 ## marteswigg ALL = NOPASSWD: ALL #### ### User alias specification #### #6#User_Alias ONTHEHUMP = marteswigg ##User_Alias PARTTIMERS = bostley, jwfox, crawl ##User_Alias WEBMASTERS = will, wendy, wim # ## root and users in group wheel can run anything on any machine as any root ALL = (ALL) NOPASSWD: ALL #13#ONTHEHUMP ALL = (ALL) NOPASSWD: ALL ##WHEEL ALL = (ALL) NOPASSWD: ALL #15#%wheel All = (ALL) NOPASSWD: ALL # The obviouse activation of lines with numbers have given the same fault, however, the group declaration does not work at all. I always have to declare the users explicitly in this page or it won't work. Any help???