From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 16:15:15 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 8C86716A4CE for ; Fri, 9 Jul 2004 16:15:15 +0000 (GMT) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDEAC43D45 for ; Fri, 9 Jul 2004 16:15:14 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out001.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040709161514.IJPO1464.out001.verizon.net@[192.168.1.3]>; Fri, 9 Jul 2004 11:15:14 -0500 Message-ID: <40EEC47F.6050403@mac.com> Date: Fri, 09 Jul 2004 12:14:55 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: adstro@stny.rr.com References: <55c4d755d26f.55d26f55c4d7@nyroc.rr.com> In-Reply-To: <55c4d755d26f.55d26f55c4d7@nyroc.rr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [68.161.84.3] at Fri, 9 Jul 2004 11:15:13 -0500 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: Fri, 09 Jul 2004 16:15:15 -0000 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. You can "chmod u+s date" in order to make it setuid-root, although doing so is not without risk. If you don't trust a user with root, why would you permit them to change the clock? Why not just configure ntpd and have the system time set correctly and not worry about this at all... -- -Chuck