Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 12:56:41 -0500
From:      "Barry C. Hawkins" <barry.hawkins@allthingscomputed.com>
To:        Matthias Teege <matthias@mteege.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: VNC - server started at boot-time
Message-ID:  <1049133401.3e88815957e71@www.allthingscomputed.com>
In-Reply-To: <86znnbfn5z.fsf@gic.mteege.de>
References:  <000e01c2f7a5$c36006b0$4500a8c0@saturnus> <86znnbfn5z.fsf@gic.mteege.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <matthias@mteege.de>:

> "D. Theunissen" <danzel@home.nl> 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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1049133401.3e88815957e71>