From owner-freebsd-questions@FreeBSD.ORG Wed Jun 29 20:12:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3CD0A16A41C for ; Wed, 29 Jun 2005 20:12:36 +0000 (GMT) (envelope-from gerard-seibert@suscom.net) Received: from smtp2.suscom.net (smtp2.suscom.net [64.78.83.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 068BD43D58 for ; Wed, 29 Jun 2005 20:12:33 +0000 (GMT) (envelope-from gerard-seibert@suscom.net) Received: from localhost (smtp2.suscom.net [127.0.0.1]) by smtp2.suscom.net (Postfix) with ESMTP id 746B81CDDB0 for ; Wed, 29 Jun 2005 16:05:30 -0400 (EDT) Received: from smtp2.suscom.net ([127.0.0.1]) by localhost (smtp2 [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 10146-08 for ; Wed, 29 Jun 2005 16:05:18 -0400 (EDT) Received: from [192.168.0.3] (ip148.217.susc.suscom.net [216.45.217.148]) by smtp2.suscom.net (Postfix) with SMTP id 4838E1CDCC3 for ; Wed, 29 Jun 2005 16:05:17 -0400 (EDT) Date: Wed, 29 Jun 2005 16:12:23 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: Gerard@smtp2.suscom.net, Seibert@smtp2.suscom.net Message-Id: <20050629161011.E77E.GERARD-SEIBERT@suscom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailer: Becky! ver. 2.21.03 [en] Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at suscom.net Subject: Running Programs from CRON as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gerard-seibert@suscom.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 20:12:36 -0000 I am not sure how to go about this. If I do not want to touch the system CRON, is it possible to create a personal CRON that could run two programs, both at the super user level" Example: I want to update the ports tree and then run portmanager to install the updates. These obviously have to be run as root. Is there a way I can force this to happen without actually leaving the system logged in as root? I have 'bash 3' installed as my shell if that makes any difference. --=20 Gerard E. Seibert gerard-seibert@suscom.net