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 [EMAIL PROTECTED] 404-795-9147 voice/fax Quoting Matthias Teege <[EMAIL PROTECTED]>: > "D. Theunissen" <[EMAIL PROTECTED]> 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 > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"