mariadb-scripts conflict with mariadb-server

2013-05-23 Thread Jim Ballantine
When trying to do a clean/new install of mariadb, I first install mariadb-server (which installs cleanly), and try to install mariadb-scripts which fails with: # make install === Installing for mariadb-scripts-5.3.12 === mariadb-scripts-5.3.12 depends on file: /usr/local/bin/perl5.16.2 - found

Restricting Periodic Scripts

2013-02-06 Thread Tim Gustafson
I have a FreeBSD ZFS file server with tens of millions of files stored on it. But, the daily periodic scripts like /etc/periodic/security/110.neggrpperm and /etc/periodic/weekly/310.locate take hours iterating through those folders, and I just don't need them to be scanned. I see that I can edit

Re: Restricting Periodic Scripts

2013-02-06 Thread Polytropon
On Wed, 6 Feb 2013 09:26:17 -0800, Tim Gustafson wrote: I have a FreeBSD ZFS file server with tens of millions of files stored on it. But, the daily periodic scripts like /etc/periodic/security/110.neggrpperm and /etc/periodic/weekly/310.locate take hours iterating through those folders

Re: Restricting Periodic Scripts

2013-02-06 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/6/13 12:26 PM, Tim Gustafson wrote: I have a FreeBSD ZFS file server with tens of millions of files stored on it. But, the daily periodic scripts like /etc/periodic/security/110.neggrpperm and /etc/periodic/weekly/310.locate take hours

Re: Restricting Periodic Scripts

2013-02-06 Thread Tim Gustafson
I have a FreeBSD ZFS file server with tens of millions of files stored on it. But, the daily periodic scripts like /etc/periodic/security/110.neggrpperm and /etc/periodic/weekly/310.locate take hours iterating through those folders, and I just don't need them to be scanned. I see that I

mfs8.0 scripts have me baffled when adding Files.

2012-10-10 Thread Martin McCormick
I am making a mfs boot disk to send along with a server we are dispatching to a remote campus. I am using the scripts from Martin Matuska's mfsbsd-1.0-beta3 suite of programs and they produce a great bootable CD but I need /usr/local/etc/eject.allow present to let us remotely

does anyone care about periodic scripts?

2012-05-07 Thread Volodymyr Kostyrko
Hi all. It seems that patches to periodic scripts have hard time coming into the tree. I personally filed http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/165817 and still there's no move despite change is purely cosmetical and just fixes right way of things. And this is not just one

Re: Portability of shell scripts from other *nixes

2012-01-26 Thread Jerry
On Wed, 25 Jan 2012 16:08:07 -0600 Doug Poland articulated: Hello, I'm trying port some shell scripts to FreeBSD that were originally written on Darwin (OS X). The issue I'm having is the shebang line of the scripts in OS X is #!/bin/sh, and it turns out that is really an instance

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Da Rock
On 01/26/12 08:08, Doug Poland wrote: Hello, I'm trying port some shell scripts to FreeBSD that were originally written on Darwin (OS X). The issue I'm having is the shebang line of the scripts in OS X is #!/bin/sh, and it turns out that is really an instance of bash, and the code contains

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Chuck Swiger
On Jan 25, 2012, at 2:08 PM, Doug Poland wrote: The issue I'm having is the shebang line of the scripts in OS X is #!/bin/sh, and it turns out that is really an instance of bash, and the code contains some bashisms. On FreeBSD I have bash in /usr/local/bin/bash. Is there an easy/best way

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Warren Block
On Wed, 25 Jan 2012, Doug Poland wrote: I'm trying port some shell scripts to FreeBSD that were originally written on Darwin (OS X). The issue I'm having is the shebang line of the scripts in OS X is #!/bin/sh, and it turns out that is really an instance of bash, and the code contains some

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Doug Poland
On Jan 25, 2012, at 18:04 , Chuck Swiger wrote: On Jan 25, 2012, at 2:08 PM, Doug Poland wrote: The issue I'm having is the shebang line of the scripts in OS X is #!/bin/sh, and it turns out that is really an instance of bash, and the code contains some bashisms. On FreeBSD I have bash

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Da Rock
On 01/26/12 12:55, Doug Poland wrote: On Jan 25, 2012, at 18:04 , Chuck Swiger wrote: On Jan 25, 2012, at 2:08 PM, Doug Poland wrote: The issue I'm having is the shebang line of the scripts in OS X is #!/bin/sh, and it turns out that is really an instance of bash, and the code contains some

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Chuck Swiger
Hi-- On Jan 25, 2012, at 7:24 PM, Da Rock wrote: On 01/26/12 12:55, Doug Poland wrote: This gets me closer, but the scripts behave differently now on OS X. For example, printf's don't output the same. Try searching on google and find out exactly what sh MacOSX is using. Then you'd have

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread mikel king
On Jan 25, 2012, at 5:08 PM, Doug Poland wrote: Hello, I'm trying port some shell scripts to FreeBSD that were originally written on Darwin (OS X). The issue I'm having is the shebang line of the scripts in OS X is #!/bin/sh, and it turns out that is really an instance of bash

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Devin Teske
On Jan 25, 2012, at 8:13 PM, Chuck Swiger wrote: Hi-- On Jan 25, 2012, at 7:24 PM, Da Rock wrote: On 01/26/12 12:55, Doug Poland wrote: This gets me closer, but the scripts behave differently now on OS X. For example, printf's don't output the same. Try searching on google and find

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Karl Vogel
On Wed, 25 Jan 2012 16:08:07 -0600, Doug Poland d...@polands.org said: D I'm trying port some shell scripts to FreeBSD that were originally D written on Darwin (OS X). The issue I'm having is the shebang line of D the scripts in OS X is #!/bin/sh, and it turns out that is really an D instance

Re: Can carp(4) run daemons or scripts?

2011-08-24 Thread Vincent Hoffman
) run daemons or scripts when backup server come into the work? As I know ucarp and heartbeat can do this. No, carp only works at the interface level. In ports you will find ifstated(8) (from OpenBSD). It can react to a change on an interface and run tests. Also may be with devd, but imo

Can carp(4) run daemons or scripts?

2011-08-23 Thread Pavel Timofeev
Can carp(4) run daemons or scripts when backup server come into the work? As I know ucarp and heartbeat can do this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: Can carp(4) run daemons or scripts?

2011-08-23 Thread Patrick Lamaiziere
Le Tue, 23 Aug 2011 17:50:43 +0400, Pavel Timofeev tim...@gmail.com a écrit : Hello, Can carp(4) run daemons or scripts when backup server come into the work? As I know ucarp and heartbeat can do this. No, carp only works at the interface level. In ports you will find ifstated(8) (from

Re: Can carp(4) run daemons or scripts?

2011-08-23 Thread Pavel Timofeev
Oh, thank you very much! I didn't know about ifstated. I'll try it. Also may be with devd How? What do you mean? 2011/8/23 Patrick Lamaiziere patf...@davenulle.org Le Tue, 23 Aug 2011 17:50:43 +0400, Pavel Timofeev tim...@gmail.com a écrit : Hello, Can carp(4) run daemons or scripts

Re: Can carp(4) run daemons or scripts?

2011-08-23 Thread Vincent Hoffman
or scripts when backup server come into the work? As I know ucarp and heartbeat can do this. No, carp only works at the interface level. In ports you will find ifstated(8) (from OpenBSD). It can react to a change on an interface and run tests. Also may be with devd, but imo ifstated will do

Re: Can carp(4) run daemons or scripts?

2011-08-23 Thread Pavel Timofeev
daemons or scripts when backup server come into the work? As I know ucarp and heartbeat can do this. No, carp only works at the interface level. In ports you will find ifstated(8) (from OpenBSD). It can react to a change on an interface and run tests. Also may be with devd, but imo

Re: Established method to enable suid scripts?

2011-05-19 Thread Scott Bennett
On Wed, 11 May 2011 11:59:48 +0200 Jonathan McKeown j.mcke...@ru.ac.za wrote: On Wednesday 11 May 2011 04:19:29 Devin Teske wrote: The reason that the suid bit doesn't work on scripts (shell, perl, or otherwise) is because these are essentially text files that are interpreted

Re: Established method to enable suid scripts?

2011-05-15 Thread Chris Telting
On 05/13/2011 14:34, Alejandro Imass wrote: On Fri, May 13, 2011 at 6:07 AM, Chris Telting christopher...@telting.org wrote: On 05/13/2011 01:32, krad wrote: [...] me ask you.. is sudo ping acceptable? Please explain the logical reason why not. It would be the preferred method if suid didn't

Re: Established method to enable suid scripts?

2011-05-15 Thread Randal L. Schwartz
Chris == Chris Telting christopher...@telting.org writes: Chris I honestly tried when I posted the question to avoid the question Chris of right or wrong. I simply have one opinion for my own need and Chris preference and don't want to go into rigid detail and did not Chris mean to reopen the

Re: Established method to enable suid scripts?

2011-05-15 Thread krad
On 15 May 2011 15:30, Randal L. Schwartz mer...@stonehenge.com wrote: Chris == Chris Telting christopher...@telting.org writes: Chris I honestly tried when I posted the question to avoid the question Chris of right or wrong. I simply have one opinion for my own need and Chris preference and

Re: Established method to enable suid scripts?

2011-05-14 Thread perryh
Chris Telting christopher...@telting.org wrote: let me ask you.. is sudo ping acceptable? Please explain the logical reason why not. It would be the preferred method if suid didn't exist and sudo was part of the base system. Without suid there would be no sudo ;) Part of the reason for ping

Re: Established method to enable suid scripts?

2011-05-14 Thread Randal L. Schwartz
Pan == Pan Tsu iny...@gmail.com writes: Pan ...a shebang can be written with sudo in mind, e.g. Pan #! /usr/bin/env -S sudo sh Pan id (Untested) why not just #!/usr/local/bin/sudo ? It'll be given the filename as an argument. Aside: In general, almost every use of #!/usr/bin/env XXX as a

Re: Established method to enable suid scripts?

2011-05-14 Thread Alejandro Imass
versus sudo for scripts? I second the sudo idea instead of suiding the interpreter, and it's a better solution to the one I have used in the past like C-wrapping and suiding specific operations. ___ freebsd-questions@freebsd.org mailing list http

Re: Established method to enable suid scripts?

2011-05-13 Thread Jonathan McKeown
On Thursday 12 May 2011 17:26:49 Chris Telting wrote: On 05/12/2011 07:57, Jonathan McKeown wrote: I'll say that again. It is inherently insecure to run an interpreted program set-uid, because the filename is opened twice and there's no guarantee that someone hasn't changed the contents

Re: Established method to enable suid scripts?

2011-05-13 Thread krad
On 13 May 2011 08:32, Jonathan McKeown j.mcke...@ru.ac.za wrote: On Thursday 12 May 2011 17:26:49 Chris Telting wrote: On 05/12/2011 07:57, Jonathan McKeown wrote: I'll say that again. It is inherently insecure to run an interpreted program set-uid, because the filename is opened

Re: Established method to enable suid scripts?

2011-05-13 Thread Chris Telting
On 05/13/2011 00:32, Jonathan McKeown wrote: On Thursday 12 May 2011 17:26:49 Chris Telting wrote: On 05/12/2011 07:57, Jonathan McKeown wrote: I'll say that again. It is inherently insecure to run an interpreted program set-uid, because the filename is opened twice and there's no guarantee

Re: Established method to enable suid scripts?

2011-05-13 Thread Chris Telting
On 05/13/2011 01:32, krad wrote: what i cant understand is the complete aversion to sudo. Could you shed any light on why you are trying to avoid a tried and tested method. That I freely admit is for no rational reason. It's just annoying. But let me ask you.. is sudo ping acceptable? Please

Re: Established method to enable suid scripts?

2011-05-13 Thread krad
On 13 May 2011 11:07, Chris Telting christopher...@telting.org wrote: On 05/13/2011 01:32, krad wrote: what i cant understand is the complete aversion to sudo. Could you shed any light on why you are trying to avoid a tried and tested method. That I freely admit is for no rational reason.

Re: Established method to enable suid scripts?

2011-05-13 Thread Pan Tsu
Chris Telting christopher...@telting.org writes: On 05/13/2011 01:32, krad wrote: what i cant understand is the complete aversion to sudo. Could you shed any light on why you are trying to avoid a tried and tested method. That I freely admit is for no rational reason. It's just annoying.

Re: Established method to enable suid scripts?

2011-05-13 Thread krad
C On Friday, 13 May 2011, Pan Tsu iny...@gmail.com wrote: Chris Telting christopher...@telting.org writes: On 05/13/2011 01:32, krad wrote: what i cant understand is the complete aversion to sudo. Could you shed any light on why you are trying to avoid a tried and tested method. That I

Re: Established method to enable suid scripts?

2011-05-12 Thread Chris Telting
are using suid it it should work; I don't want to use a kludge and I don't want to use sudo. I'm hoping it's a setting that is just disabled by default. My understanding is that in general the system does not allow SUID on scripts. The way I have gotten around that (a long time ago) was to create

Re: Established method to enable suid scripts?

2011-05-12 Thread Jerry McAllister
on scripts. The way I have gotten around that (a long time ago) was to create a small binary that exec's the script and making the binary SUID. Well it's all hacks and in my not so humble option like chasing your tail. The assumption is that if someone creates an executable (assumption

Re: Established method to enable suid scripts?

2011-05-12 Thread Jonathan McKeown
. Suid in and of itself is a security issue. But if you are using suid it it should work; I don't want to use a kludge and I don't want to use sudo. I'm hoping it's a setting that is just disabled by default. My understanding is that in general the system does not allow SUID on scripts

Re: Established method to enable suid scripts?

2011-05-12 Thread Chris Telting
does not allow SUID on scripts. The way I have gotten around that (a long time ago) was to create a small binary that exec's the script and making the binary SUID. Well it's all hacks and in my not so humble option like chasing your tail. The assumption is that if someone creates an executable

Re: Established method to enable suid scripts?

2011-05-11 Thread perryh
Chris Telting christopher...@telting.org wrote: Seemed like I read that historically unix ran the #! command as the suid when it executed the file. Did Freebsd delete that functionality? (Otherwise how did suid scripts get the bad reputation if they could never execute suid.) There have

Re: Established method to enable suid scripts?

2011-05-11 Thread Riaan Kruger
Here is some information on what perl does: http://www.washington.edu/perl5man/pod/perlsec.html Also there is an option (not chosen by default) in the perl port to enable setuid. Riaan ___ freebsd-questions@freebsd.org mailing list

Re: Established method to enable suid scripts?

2011-05-11 Thread Jonathan McKeown
On Wednesday 11 May 2011 04:19:29 Devin Teske wrote: The reason that the suid bit doesn't work on scripts (shell, perl, or otherwise) is because these are essentially text files that are interpreted by their associated interpreter. It is the interpreter itself that must be suid. I'm pretty

Re: Established method to enable suid scripts?

2011-05-11 Thread Jerry McAllister
want to use a kludge and I don't want to use sudo. I'm hoping it's a setting that is just disabled by default. My understanding is that in general the system does not allow SUID on scripts. The way I have gotten around that (a long time ago) was to create a small binary that exec's the script

Re: Established method to enable suid scripts?

2011-05-11 Thread Alejandro Imass
On Wed, May 11, 2011 at 10:14 AM, Jerry McAllister jerr...@msu.edu wrote: On Tue, May 10, 2011 at 05:54:04PM -0700, Chris Telting wrote: I've googled for over an hour. As other have said suiding on scripts is not allowed in modern versions of Unix. What I do for example, is create small C

Re: Established method to enable suid scripts?

2011-05-11 Thread Greg Larkin
on scripts is not allowed in modern versions of Unix. What I do for example, is create small C programs suid them and use those special suid execs to do special stuff. For example, if I need to erase some files created by the mysql daemon process I will create a C exec called suidrm and have it suid

Established method to enable suid scripts?

2011-05-10 Thread Chris Telting
I've googled for over an hour. I'm not looking to get into a discussion on security or previous bugs that are currently fixed. Suid in and of itself is a security issue. But if you are using suid it it should work; I don't want to use a kludge and I don't want to use sudo. I'm hoping it's

Re: Established method to enable suid scripts?

2011-05-10 Thread Polytropon
On Tue, 10 May 2011 21:43:43 -0400, Daniel Staal dst...@usa.net wrote: One thought: What's the output of 'mount' for the slice you are trying to run this script from? (Suid can be blocked on a per-mountpoint basis.) Just for terminology: You mount a partition, _not_ a slice, so mount operates

Re: Established method to enable suid scripts?

2011-05-10 Thread Daniel Staal
--As of May 11, 2011 3:55:03 AM +0200, Polytropon is alleged to have said: On Tue, 10 May 2011 21:43:43 -0400, Daniel Staal dst...@usa.net wrote: One thought: What's the output of 'mount' for the slice you are trying to run this script from? (Suid can be blocked on a per-mountpoint basis.)

Re: Established method to enable suid scripts?

2011-05-10 Thread Devin Teske
a kludge and I don't want to use sudo. I'm hoping it's a setting that is just disabled by default. The reason that the suid bit doesn't work on scripts (shell, perl, or otherwise) is because these are essentially text files that are interpreted by their associated interpreter

Re: Established method to enable suid scripts?

2011-05-10 Thread Chris Telting
it it should work; I don't want to use a kludge and I don't want to use sudo. I'm hoping it's a setting that is just disabled by default. The reason that the suid bit doesn't work on scripts (shell, perl, or otherwise) is because these are essentially text files that are interpreted

Escaping from shell-scripts

2010-11-18 Thread Julian Fagir
to that script would be done by either setting the login-shell to that script, setting the ssh-command for that account/key (and ensuring that it can't be altered), or both. All in all, this is a more general question I have for quite a time: Can you use shell-scripts for security-relevant

Re: Escaping from shell-scripts

2010-11-18 Thread Gary Gatten
...@freebsd.org owner-freebsd-questi...@freebsd.org To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Thu Nov 18 07:52:39 2010 Subject: Escaping from shell-scripts Hi, I'm planning a service with a login-user-interface. Thus, I want to restrict the user somehow to this script

Re: Escaping from shell-scripts

2010-11-18 Thread Fbsd8
-prompt? The restriction to that script would be done by either setting the login-shell to that script, setting the ssh-command for that account/key (and ensuring that it can't be altered), or both. All in all, this is a more general question I have for quite a time: Can you use shell-scripts

Re: Escaping from shell-scripts

2010-11-18 Thread doug
shell-scripts for security-relevant environments? Does an attacker have the possibility to escape from a script down to a prompt? I'm not that into shell-programming and there are too many legacies about terminals (some time ago, I had to cope with termcap...) and shells which one just can't all

Re: Escaping from shell-scripts

2010-11-18 Thread Chris Brennan
general question I have for quite a time: Can you use shell-scripts for security-relevant environments? Does an attacker have the possibility to escape from a script down to a prompt? I'm not that into shell-programming and there are too many legacies about terminals (some time ago, I had

Re: Escaping from shell-scripts

2010-11-18 Thread Lowell Gilbert
doug d...@fledge.watson.org writes: If you make a program a shell AFAIK to escape is to logff. Bash has a chroot like facility that might work. However if you write a simple C program as a wrapper for your shell script and make that program a shell, I would think that is pretty secure. As

Re: Escaping from shell-scripts

2010-11-18 Thread Chuck Swiger
-scripts for security-relevant environments? Yes, but you really shouldn't trust them any farther than you would trust a user with an interactive shell. It's just too easy to exploit $IFS, invoke command line utilities that provide shell escapes, etc. Python or C is likely to be more securable

net-snmp pass scripts

2010-03-20 Thread krad
Hi, I know this isn't the ideal, place but im not having much joy on the net-snmp users mailing list. Does anyone have any good guides for writing or examples of snmp pass scripts? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

How to run cron scripts (310.locate) in chrooted env.

2010-02-09 Thread Erik Norgaard
Hi: I have a setup with diskless clients mounting /var/diskless/FreeBSD read-only as root file system. How do I configure cron/locate.rc to run on the server such that the locate database is relative to the root for the diskless systems? I could do a chroot and run it within this

Securing cgi scripts

2010-01-22 Thread DAve
Good morning all, I have been working on an issue here where I am being asked if we can support letting clients install and run their own CGI scripts on a shared vhost. I have tried sbox and cgiwrap, both which worked, but they cannot stop the one test of reading the /etc/passwd file. Forgive my

Re: Securing cgi scripts

2010-01-22 Thread Matthew Seaman
DAve wrote: Good morning all, I have been working on an issue here where I am being asked if we can support letting clients install and run their own CGI scripts on a shared vhost. I have tried sbox and cgiwrap, both which worked, but they cannot stop the one test of reading the /etc/passwd

Re: Securing cgi scripts

2010-01-22 Thread DAve
Matthew Seaman wrote: DAve wrote: Good morning all, I have been working on an issue here where I am being asked if we can support letting clients install and run their own CGI scripts on a shared vhost. I have tried sbox and cgiwrap, both which worked, but they cannot stop the one test

Re: Securing cgi scripts

2010-01-22 Thread Nathan Vidican
, Jan 22, 2010 at 12:57 PM, DAve dave.l...@pixelhammer.com wrote: Matthew Seaman wrote: DAve wrote: Good morning all, I have been working on an issue here where I am being asked if we can support letting clients install and run their own CGI scripts on a shared vhost. I have tried sbox

Re: Securing cgi scripts

2010-01-22 Thread Mike Woods
Nathan Vidican wrote: Check out suExec, (assuming you're using Apache)... Please see: http://httpd.apache.org/docs/1.3/mod/core.html#user and/or http://httpd.apache.org/docs/1.3/suexec.html You can make an entire VirtualHost directive run as a different user/group. A more up to date

Scripts to monitor host availability

2009-06-12 Thread Karl Vogel
If you want to keep an eye on some hosts without doing a full Nagios install: http://www.hcst.net/~vogelke/src/ishostup/ -- Karl Vogel I don't speak for the USAF or my company If you can't be kind, at least have the decency to be vague.--unknown

Re: Scripts to monitor host availability

2009-06-12 Thread Glen Barber
Karl, On Fri, Jun 12, 2009 at 3:07 PM, Karl Vogelvogelke+u...@pobox.com wrote: If you want to keep an eye on some hosts without doing a full Nagios install: http://www.hcst.net/~vogelke/src/ishostup/ Very cool. I'll take a look at it later, as I am going to be setting up a Nagios solution

Re: Stop all manner of periodic scripts from running

2009-03-18 Thread Matthew Seaman
Chuck Swiger wrote: On Mar 17, 2009, at 5:09 PM, Steve Bertrand wrote: Although SMTP is denied, I just realized that there are numerous messages from periodic scripts that are queued up that can't be sent. Can someone advise how to find out each and every periodic script that tries to send out

Re: Stop all manner of periodic scripts from running

2009-03-18 Thread Steve Bertrand
Matthew Seaman wrote: Chuck Swiger wrote: On Mar 17, 2009, at 5:09 PM, Steve Bertrand wrote: Although SMTP is denied, I just realized that there are numerous messages from periodic scripts that are queued up that can't be sent. Can someone advise how to find out each and every periodic

Stop all manner of periodic scripts from running

2009-03-17 Thread Steve Bertrand
Hi everyone, Taking the questions regarding my routing boxes one step further, I have strict rules that allow only certain control and management protocols to communicate on the network. Although SMTP is denied, I just realized that there are numerous messages from periodic scripts

Re: Stop all manner of periodic scripts from running

2009-03-17 Thread Glen Barber
realized that there are numerous messages from periodic scripts that are queued up that can't be sent. Can someone advise how to find out each and every periodic script that tries to send out email (given a standard install), and/or how to disable this? Or, is there a way to completely

Re: Stop all manner of periodic scripts from running

2009-03-17 Thread Chuck Swiger
On Mar 17, 2009, at 5:09 PM, Steve Bertrand wrote: Although SMTP is denied, I just realized that there are numerous messages from periodic scripts that are queued up that can't be sent. Can someone advise how to find out each and every periodic script that tries to send out email (given

Re: rc.conf and starting scripts

2009-03-02 Thread Jerry McAllister
On Sun, Mar 01, 2009 at 07:14:17PM -0800, gahn wrote: Hi all: I have some starting scripts under some other directories other than /etc/rc.d. How could I utilize the rc.conf file to start them when the system boots up? The default location for rc.conf is /etc/rc.d only and the knob

rc.conf and starting scripts

2009-03-01 Thread gahn
Hi all: I have some starting scripts under some other directories other than /etc/rc.d. How could I utilize the rc.conf file to start them when the system boots up? The default location for rc.conf is /etc/rc.d only and the knob local_startup=/usr/local/etc/rc.d doesn't seem to be working

rc.conf and starting scripts

2009-03-01 Thread Robert Huff
gahn writes: The default location for rc.conf is /etc/rc.d only and the knob local_startup=/usr/local/etc/rc.d doesn't seem to be working for me for some reasons Your best bet is to figure out why the latter is true, and fix it. Robert Huff

Re: rc.conf and starting scripts

2009-03-01 Thread Olivier Nicole
Hi, The default location for rc.conf is /etc/rc.d only and the knob local_startup=/usr/local/etc/rc.d doesn't seem to be working for me for some reasons Syntax? on my machines it's: local_startup=/usr/local/etc/rc.d with quotes around the path, not around the full line. Olivier

Re: rc.conf and starting scripts

2009-03-01 Thread RW
On Sun, 1 Mar 2009 19:14:17 -0800 (PST) gahn ipfr...@yahoo.com wrote: Hi all: I have some starting scripts under some other directories other than /etc/rc.d. How could I utilize the rc.conf file to start them when the system boots up? The default location for rc.conf is /etc/rc.d only

Re: rc.conf and starting scripts

2009-03-01 Thread Polytropon
Allow me an addition: On Mon, 2 Mar 2009 03:53:24 +, RW rwmailli...@googlemail.com wrote: /usr/local/etc/rc.d is the default for local scripts, that's where package put their scripts, but there are some rules. - they should either be proper RCNG scripts or they should end in a .sh

Re: USB INSTALL SCRIPTS

2009-02-26 Thread regis505
SCRIPTS Ok... the scripts are at: http://dist.k1.com.br/scripts/baselist_amd64 http://dist.k1.com.br/scripts/baselist_i386 http://dist.k1.com.br/scripts/makebootdisk http://dist.k1.com.br/scripts/zfsetup install these scripts on /root makebootdisk: formats the disk (or usb stick

Re: USB INSTALL SCRIPTS

2009-02-26 Thread Peter Steele
Message - From: regis505 regis...@gmail.com To: freebsd-questions@freebsd.org Sent: Thursday, February 26, 2009 7:41:58 AM GMT -08:00 US/Canada Pacific Subject: Re: USB INSTALL SCRIPTS Just want to say that it does the same to me. The script works great but it stops at the same place

Re: USB INSTALL SCRIPTS

2009-02-25 Thread Peter Steele
: USB INSTALL SCRIPTS Ok... the scripts are at: http://dist.k1.com.br/scripts/baselist_amd64 http://dist.k1.com.br/scripts/baselist_i386 http://dist.k1.com.br/scripts/makebootdisk http://dist.k1.com.br/scripts/zfsetup install these scripts on /root makebootdisk: formats the disk (or usb

USB INSTALL SCRIPTS

2009-02-21 Thread Sergio de Almeida Lenzi
Ok... the scripts are at: http://dist.k1.com.br/scripts/baselist_amd64 http://dist.k1.com.br/scripts/baselist_i386 http://dist.k1.com.br/scripts/makebootdisk http://dist.k1.com.br/scripts/zfsetup install these scripts on /root makebootdisk: formats the disk (or usb stick) at da0,da1...) make

USB INSTALL SCRIPTS

2009-02-21 Thread Sergio de Almeida Lenzi
Ok... the scripts are at: http://dist.k1.com.br/scripts/baselist_amd64 http://dist.k1.com.br/scripts/baselist_i386 http://dist.k1.com.br/scripts/makebootdisk http://dist.k1.com.br/scripts/zfsetup install these scripts on /root makebootdisk: formats the disk (or usb stick) at da0,da1...) make

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-02 Thread Jonathan McKeown
On Thursday 02 October 2008 01:59:18 Da Rock wrote: On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: So are you saying I can't start a script manually without enabling it in rc.conf? I was not under that impression... I

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-02 Thread Da Rock
On Thu, 2008-10-02 at 09:18 +0200, Jonathan McKeown wrote: On Thursday 02 October 2008 01:59:18 Da Rock wrote: On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: So are you saying I can't start a script manually without

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-01 Thread Da Rock
... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-01 Thread Boris Samorodov
realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-01 Thread Da Rock
than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-01 Thread Erik Trulsson
- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-01 Thread Valentin Bud
a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-01 Thread Da Rock
starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when

Re: Changing 'From:' address of periodic scripts

2008-09-01 Thread Jonathan Belson
Jonathan Belson wrote: Matthew Seaman wrote: Yes. root is specifically exempted from all the masquerading stuff. There's an EXPOSED_USER macro you can use in $(hostname).mc to control that. Ah, that explains it. There doesn't seem to be a way to remove exposed users, but there is a web

Re: Changing 'From:' address of periodic scripts

2008-08-28 Thread Jonathan Belson
if you run into any trouble! OK, thanks. After playing with MASQUERADE_AS(), MASQUERADE_DOMAIN() plus a few FEATURES(), I've managed to change the 'From:' address for e-mails sent via the command line. Unfortunately, e-mails sent via the cron-ed periodic scripts still don't get through, although

Re: Changing 'From:' address of periodic scripts

2008-08-28 Thread Matthew Seaman
:' address for | e-mails sent via the command line. Unfortunately, e-mails sent via the | cron-ed periodic scripts still don't get through, although if I run e.g. | 'periodic daily' from the command line, the mail does reach me. | | The only difference I can think of is that cron runs the scripts

Re: Changing 'From:' address of periodic scripts

2008-08-28 Thread Jonathan Belson
Matthew Seaman wrote: Jonathan Belson wrote: | | OK, thanks. After playing with MASQUERADE_AS(), MASQUERADE_DOMAIN() | plus a few FEATURES(), I've managed to change the 'From:' address for | e-mails sent via the command line. Unfortunately, e-mails sent via the | cron-ed periodic scripts

Re: Shell scripts: variable assignment within read loops

2008-08-21 Thread Jan Grant
On Sun, 17 Aug 2008, David Wolfskill wrote: [snipped] will assign to foo the value of the bar variable form the last record read (in FreeBSD 6.3-STABLE, at least), the following fails to do so: foo= cat $filename | while read bar ... ; do ... foo=$bar

Re: Shell scripts: variable assignment within read loops

2008-08-19 Thread Oliver Fromme
David Wolfskill wrote: I am writing a (Bourne) shell script that is intended (among other things) to obtain information from a command, such as: netstat -nibd -f inet by reading and parsing the output. However, the obvious (to me) approach of piping the output of the

Re: Shell scripts: variable assignment within read loops

2008-08-19 Thread CyberLeo Kitsana
David Wolfskill wrote: foo= cat $filename | while read bar ... ; do ... foo=$bar ... done echo $foo A trick I've used to great advantage in bourne shell and bash for passing multiple variables back is to produce small snippets of shell script

Re: Shell scripts: variable assignment within read loops

2008-08-18 Thread Polytropon
As I thought while reading your message, awk seems to be a good solution. Just a note: On Mon, 18 Aug 2008 06:29:03 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: Would you be ok with an awk(1) script instead of /bin/sh? It tends to be nicer for this sort of thing, i.e.: [...] $

  1   2   3   4   5   6   >