From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 02:01:12 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 4164E16A4CE for ; Sat, 10 Jul 2004 02:01:12 +0000 (GMT) Received: from straycat.dhs.org (h0050da134090.ne.client2.attbi.com [24.91.148.154]) by mx1.FreeBSD.org (Postfix) with SMTP id 98CB343D41 for ; Sat, 10 Jul 2004 02:01:11 +0000 (GMT) (envelope-from tmclaugh@sdf.lonestar.org) Received: (qmail 616 invoked from network); 10 Jul 2004 02:01:10 -0000 Received: from compass.straycat.dhs.org (HELO ?192.168.1.32?) (192.168.1.32) by alexandria.straycat.dhs.org with SMTP; 10 Jul 2004 02:01:10 -0000 From: Tom McLaughlin To: adstro@stny.rr.com In-Reply-To: <55c4d755d26f.55d26f55c4d7@nyroc.rr.com> References: <55c4d755d26f.55d26f55c4d7@nyroc.rr.com> Content-Type: text/plain Message-Id: <1089421003.763.10.camel@compass.straycat.dhs.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 09 Jul 2004 22:01:09 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Allowing Users To Set Date 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, 10 Jul 2004 02:01:12 -0000 On Fri, 2004-07-09 at 10:50, adstro@stny.rr.com wrote: > Is there a way that I can allow a user to set the system time without allowing them to su to root? I can do things using sudo, but I was wondering if there was a way without using third party software. > > Thanks > Adam > sudo is an _excellent_ tool for giving non-root users limited privileges. Just because it's not in the FreeBSD base don't hold anything against it. I use it on my FreeBSD boxes so I can install ports and update the machines without needing root. On my OpenBSD box (where sudo is part of the base) I set root's shell back to csh, not tcsh like FreeBSD uses, to make logging in as root so uncomfortable that it forces me to write a sudo permission for repetitive tasks. :) Tom