Running script from rc.d as local user

Gerard Seibert gerard at
Thu Mar 8 15:07:57 UTC 2007

On Thu, 08 Mar 2007 08:52:20 -0600
Derek Ragona <derek at> wrote:

> You need a first line in your script to choose what shell to run it:
> #!/usr/local/bin/bash

That is all ready in the script. Sorry, I inadvertently failed to
disclose that.
> You should add a line:
> /usr/bin/su [to your username]

OK, I'll try that.

> Then try it at bootup as an rc script.


"I think he said 'Blessed are the cheesemakers.'"
"Nonsense, he was obviously referring to all manufacturers of dairy

	The Life of Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list