On Fri, Mar 09, 2007 at 08:55:12PM -0000, Andy Kendall wrote:

> Where should I put any scripts I write or use for the use of all system
> users please? For example in the FreeBSD Manual in section 9.4.3.2 there's a
> script for Network Printing; where should this reside please?

Do you mean that you want some script available for any user
to run at their discretion?   Or that you want the system to
run before any users get on so something is done for them?

In the first case, probably /usr/local/bin is the most common place.

In the second, /usr/local/etc/rc.d is the place to put them to have
them run at boot to multi-user time.

If those script in /usr/local/bin can do any thing serious, like
write to people's files then you might want to make a little
shell written in c to run them so the users do no run them directly,
but only the binary.  Then stash the actual scripts somewhere else.

////jerry

> 
> Thanks
> 
> Andy
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to