Majordomo and sudo

Date: Sun, 16 May 1999 01:24:16 -0400 (EDT)
From: "James R. Hay" <jrhay@HayA.QC.CA>
To: csuite-setup@chebucto.ns.ca
Precedence: bulk
Return-Path: <csuite-setup-mml-owner@chebucto.ns.ca>

next message in archive
next message in thread
previous message in archive
Index of Subjects



Hi folks,

Well, my problems with majordomo, or at least setting up mailing lists
from within csuite, now seem to boil down to a problem with
sudo.  The question is, what is the problem.  When I use visudo in
CS_ROOT/admin-bin to edit and save the file below it will complain that
the aliases were corrected for each of the command aliases.

I can't see anything wrong with the entries but they definiitely don't
work.  I got around the problem temporarily by putting in a user alias:

csuite		ALL=ALL

which worked but I noticed that the screen wasn't clearing properly when a
new page was displayed.  I don't know if that was related or not.  

Any suggestions how to attach this?

Below is the sudoers file which was generated when I installed CSuite.  

TTFN,
Jim.

James R. Hay			jim@clublibertel.qc.ca
Technical Co-ordinator		
Club Libertel de Montreal	jrhay@haya.qc.ca


--------

#
# $Id: sudoers.in,v 1.3 1998/01/09 16:26:14 landon Exp $
# Copyright (C) 1995, 1996 Chebucto Community Net Society
# This file is part of Chebucto Suite.  Use is governed by the terms
# laid out in the file COPYRIGHT.

# template version 1.0

## sudoers - control file for sudo

# Note: 'traceroute' and 'host' are not currently "supported" in the
# CSuite distribution.  However, the system administrator should be
# aware that these tools can be easily installed and can be very
# valuable.  They are pretty network intensive, which is why a mundane
# user should not be able to run them.

#
# This file MUST be edited with the 'visudo' command as root or
# with sudo-edit.
#

Cmnd_Alias	MLIST=/usr/local/csuite/admin-bin/mkmdml,/usr/local/csuite/admin-bin/updmdml
Cmnd_Alias	VIEWDISK=/usr/local/csuite/bin/cs_quota,/bin/ls,/usr/bin/du
Cmnd_Alias	EDQUOTA=/usr/sbin/edquota
Cmnd_Alias	HOST=/usr/sbin/traceroute,/usr/bin/host
Cmnd_Alias	MODEM=/usr/local/csuite/lib/zapline,/usr/local/csuite/admin-bin/port
Cmnd_Alias	PRIV=/usr/local/csuite/lib/sudo-edit,/usr/local/csuite/admin-bin/priv-edit
#
Host_Alias	THISHOST=clublibertel.qc.ca
#
# Group Alias Specification
%wheel		THISHOST=PRIV,HOST,MLIST,VIEWDISK,EDQUOTA,MODEM
%csuite		THISHOST=PRIV,HOST,MLIST
%cs_ipadm	THISHOST=VIEWDISK,EDQUOTA
%cs_adm		THISHOST=PRIV,MLIST
%cs_tech	THISHOST=MODEM,EDQUOTA,VIEWDISK,HOST
%cs_help	THISHOST=VIEWDISK
%csuite		OTHERHOST=PRIV
#
# User specifications follow

next message in archive
next message in thread
previous message in archive
Index of Subjects