From owner-freebsd-questions@FreeBSD.ORG Wed May 14 15:12:17 2003 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 B599137B401 for ; Wed, 14 May 2003 15:12:17 -0700 (PDT) Received: from pd2mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C849E43FB1 for ; Wed, 14 May 2003 15:12:16 -0700 (PDT) (envelope-from cpressey@catseye.mb.ca) Received: from pd3mr2so.prod.shaw.ca (pd3mr2so-qfe3.prod.shaw.ca [10.0.141.178]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEW000NODMD3E@l-daemon> for freebsd-questions@freebsd.org; Wed, 14 May 2003 16:11:01 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEW00IKPDMDVU@l-daemon> for freebsd-questions@freebsd.org; Wed, 14 May 2003 16:11:01 -0600 (MDT) Received: from www.kallisti.ca (h24-70-180-74.wp.shawcable.net [24.70.180.74]) 2003))freebsd-questions@freebsd.org; Wed, 14 May 2003 16:11:00 -0600 (MDT) Date: Wed, 14 May 2003 17:11:47 -0500 From: Chris Pressey To: freebsd-questions@freebsd.org Message-id: <20030514171147.72df7111.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies MIME-version: 1.0 X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Starting a program at boot time on virtual terminal 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: Wed, 14 May 2003 22:12:18 -0000 Hi all, What I'd like to do is start a program on one of my virtual terminals when my FreeBSD 4.8 machine boots up. By 'program' I mean a program besides xdm or getty, actually. The man page implies it is possible, but how specifically can I do this? When I try putting anything besides getty or xdm or none in /etc/ttys, I get this message: getty repeating too quickly on port /dev/ttyv7, sleeping 30 secs I take it the program I start has to have some provision for logging in. I tried starting it with 'su', with no luck. I can't think of any other way to specify that a command be run on a virtual terminal by a given user on startup. Hoping someone here can give me a hint. TIA -Chris