From owner-freebsd-questions@FreeBSD.ORG Sat Jun 12 10:12:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 749CF16A4CE for ; Sat, 12 Jun 2004 10:12:54 +0000 (GMT) Received: from server0.itconsultuk.net (server0.itconsultuk.net [80.168.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44D1043D1D for ; Sat, 12 Jun 2004 10:12:54 +0000 (GMT) (envelope-from jfm@server0.itconsultuk.net) Received: from jfm by server0.itconsultuk.net with local (Exim 4.24; FreeBSD 4.8) id 1BZ5WU-000Mqh-DJ for freebsd-questions@freebsd.org; Sat, 12 Jun 2004 11:14:02 +0100 Date: Sat, 12 Jun 2004 11:14:02 +0100 From: John To: freebsd-questions@freebsd.org Message-ID: <20040612101402.GC72289@itconsultuk.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: John Subject: want sudo but not sudo su - how X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 10:12:54 -0000 Greetings, freebsd-questions I want to put operators in sudo BUT I don't want them to sudo su - because after they do that, subsequent commands enacted as root don't appear in the logs. The desired behaviour would be sudo su command (any command) but not sudo su -, for these users. Is there a way of enforcing this? The reason being that if they do something and the server eg goes titsup, I want to see what was done in the logs. Would be grateful for any assistance the list may have. -- John