From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 09:57:06 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 0515137B401 for ; Mon, 31 Mar 2003 09:57:06 -0800 (PST) Received: from themis.hmdns.net (themis.hmdns.net [64.247.33.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C59143F85 for ; Mon, 31 Mar 2003 09:57:05 -0800 (PST) (envelope-from cpanel@themis.hmdns.net) Received: from cpanel by themis.hmdns.net with local (Exim 3.36 #1) id 1903WT-0007Er-00; Mon, 31 Mar 2003 12:56:41 -0500 Received: from 199.173.225.2 ( [199.173.225.2]) www.allthingscomputed.com with HTTP; Mon, 31 Mar 2003 12:56:41 -0500 Message-ID: <1049133401.3e88815957e71@www.allthingscomputed.com> Date: Mon, 31 Mar 2003 12:56:41 -0500 From: "Barry C. Hawkins" To: Matthias Teege References: <000e01c2f7a5$c36006b0$4500a8c0@saturnus> <86znnbfn5z.fsf@gic.mteege.de> In-Reply-To: <86znnbfn5z.fsf@gic.mteege.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 199.173.225.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - themis.hmdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [502 503] / [502 503] X-AntiAbuse: Sender Address Domain - themis.hmdns.net cc: freebsd-questions@freebsd.org Subject: Re: VNC - server started at boot-time 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: Mon, 31 Mar 2003 17:57:07 -0000 Also, be sure to review the manpage for su, because you may or may not want to use the -l switch versus -m or the other options. It affects the login context. Issue "man su" at the command line for more. Regards, -- Barry C. Hawkins Systems Consultant All Things Computed barry.hawkins@allthingscomputed.com 404-795-9147 voice/fax Quoting Matthias Teege : > "D. Theunissen" writes: > > > eg. I want to start the vncserver as user 'dan' during boot. > > put > su -l dan -c '/usr/local/bin/vncserver' && echo "vncserver " > > in a startup script under /usr/local/etc/rc.d > > Bis dann > Matthias > > -- > Matthias Teege -- http://www.mteege.de > make world not war > PGP-Key auf Anfrage > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >