Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sudo problem...



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???