From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 01:18:18 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 898C416A41F for ; Sun, 4 Dec 2005 01:18:18 +0000 (GMT) (envelope-from mailing-lists@msdi.ca) Received: from mail02.msdihosting.net (9.67-18-64.networks.msdihosting.net [64.18.67.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 208D143D64 for ; Sun, 4 Dec 2005 01:18:17 +0000 (GMT) (envelope-from mailing-lists@msdi.ca) Received: from ian.msdi.ca ([24.201.183.241]) by mail02.msdihosting.net ((iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003))) with SMTP id FRQ06958 for ; Sat, 03 Dec 2005 20:18:18 -0500 Message-Id: <7.0.0.16.2.20051203201101.061b5dd8@msdi.ca> Message-Id: <7.0.0.16.2.20051203115712.054a1c70@msdi.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.0.0.16 Date: Sat, 03 Dec 2005 20:18:12 -0500 To: freebsd-questions@freebsd.org From: Ian Lord Mime-Version: 1.0 X-DEBUG: 1 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: schedule a script at "system startup" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 01:18:18 -0000 Hi, I would like to run a shell script at system startup which needs to run under a specific uid... I don't see anything for this in man cron... is there a way to do it with cron ? or otherwise is there another way ? I guess there might be a way to put a script in /etc/rd.d/ but I don't know how to run it under a specifid uid Any help would be appreciated Thanks