Re: Finding exactly which commands, and in which order, rc is running at startup

2013-08-24 Thread Paul Hoffman
Thanks for all the suggestions. Of them, this was the one that helped me with my issue: On Aug 23, 2013, at 1:41 AM, Doug Hardie bc...@lafn.org wrote: You can add: rc_debug=YES to /etc/rc.conf and that might give you what you need. According to the man page it will produces copious

Re: Finding exactly which commands, and in which order, rc is running at startup

2013-08-23 Thread Matthew Seaman
On 22/08/2013 21:07, Paul Hoffman wrote: Greetings again. After doing a freebsd-update, my system is starting up differently than it was before. I want to figure out why before I come here and say it's broken. Is there a way to say show me all of the commands you are running during startup

Re: Finding exactly which commands, and in which order, rc is running at startup

2013-08-23 Thread Doug Hardie
On 22 August 2013, at 13:07, Paul Hoffman phoff...@proper.com wrote: Greetings again. After doing a freebsd-update, my system is starting up differently than it was before. I want to figure out why before I come here and say it's broken. Is there a way to say show me all of the commands

Re: Finding exactly which commands, and in which order, rc is running at startup

2013-08-23 Thread Ulrik Søgaard
broken. Is there a way to say show me all of the commands you are running during startup? It would be grand if I could say tell me what you would do next time (dry run), but what did you do last time is OK too. You can add: rc_debug=YES to /etc/rc.conf and that might give you what you

Finding exactly which commands, and in which order, rc is running at startup

2013-08-22 Thread Paul Hoffman
Greetings again. After doing a freebsd-update, my system is starting up differently than it was before. I want to figure out why before I come here and say it's broken. Is there a way to say show me all of the commands you are running during startup? It would be grand if I could say tell me

what commands show memory usage

2013-05-14 Thread Joe
When stopping vnet jails get message about lost memory pages. What console commands show available memory pages so I can determine the lost memory pages after 100 stopped jails? Want to find out if that lost memory page message is bogus or not. Thanks

Re: what commands show memory usage

2013-05-14 Thread Tim Daneliuk
On 05/14/2013 08:56 PM, Joe wrote: Tim Daneliuk wrote: On 05/14/2013 08:32 PM, Joe wrote: When stopping vnet jails get message about lost memory pages. What console commands show available memory pages so I can determine the lost memory pages after 100 stopped jails? Want to find out

Re: Security - logging of user commands

2012-07-26 Thread Damien Fleuriot
On 7/25/12 6:15 PM, jb wrote: Damien Fleuriot ml at my.gd writes: ... From my syslog.conf: auth.info;authpriv.info /var/log/auth.log Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even in secure ... # less /var/log/auth.log Feb 22

Re: Security - logging of user commands

2012-07-26 Thread jb
Damien Fleuriot ml at my.gd writes: ... Might anyone confirm the issue ? The above is true for 8.1-RELEASE, 8-STABLE , 9-STABLE with snoopy being at version 1.8.0 on all of them. $ uname -r 9.0-RELEASE-p3 $ man ldconfig ... Filenames must conform to the lib*.so.[0-9] pattern in order to

Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot
Hello list, We're currently working towards the PCI DSS certification (Payment Card Industry) for a project at work. One of the prerequisites is that all user commands be logged. We're currently using a very bad hack that takes the last command from a user's history and sends it to a log

Re: Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot
, We're currently working towards the PCI DSS certification (Payment Card Industry) for a project at work. One of the prerequisites is that all user commands be logged. We're currently using a very bad hack that takes the last command from a user's history and sends it to a log server

Re: Securituy - logging of user commands

2012-07-25 Thread Peter Boosten
is that all user commands be logged. We're currently using a very bad hack that takes the last command from a user's history and sends it to a log server. This of course is unreliable as a user may entirely disable their history, or just use another shell to bypass the csh function or whatever

Re: Securituy - logging of user commands

2012-07-25 Thread jb
Damien Fleuriot ml at my.gd writes: ... I notice it also exists on FreeBSD as /usr/ports/security/snoopy . However I face several problems with it, mainly it doesn't seem to log anything. As per the README, I have added /usr/local/lib/snoopy.so to /etc/ld.so.preload I'm not even

Re: Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot
On 7/25/12 2:42 PM, jb wrote: Damien Fleuriot ml at my.gd writes: ... I notice it also exists on FreeBSD as /usr/ports/security/snoopy . However I face several problems with it, mainly it doesn't seem to log anything. As per the README, I have added /usr/local/lib/snoopy.so to

Re: Securituy - logging of user commands

2012-07-25 Thread Victor Sudakov
Peter Boosten wrote: Have you ever considered the audit function of FreeBSD? Does it really log user commands? At best, it logs executed processes. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.ru ___ freebsd-questions

Re: Securituy - logging of user commands

2012-07-25 Thread jb
Damien Fleuriot ml at my.gd writes: ... From my syslog.conf: auth.info;authpriv.info /var/log/auth.log Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even in secure ... # less /var/log/auth.log Feb 22 21:13:56 localhost newsyslog[1503]:

Re: Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot
On 25 Jul 2012, at 18:15, jb jb.1234a...@gmail.com wrote: Damien Fleuriot ml at my.gd writes: ... From my syslog.conf: auth.info;authpriv.info /var/log/auth.log Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even in secure ... # less

Ports-Related Commands Hanging After 9.0 Upgrade

2012-05-25 Thread Sam Jones
Hi all, Forgive me if this is a repeat topic. I'd appreciate it if somebody could point me to the answer. I recently upgraded to 9.0 on my server, but since then a lot of ports-related commands (portupgrade, pkg_version, portsnap, etc.) just hang when I try to execute them. I'm not even really

Re: Ports-Related Commands Hanging After 9.0 Upgrade

2012-05-25 Thread Christopher J. Ruwe
On Fri, 25 May 2012 13:33:29 -0400 Sam Jones samjones1...@gmail.com wrote: Hi all, Forgive me if this is a repeat topic. I'd appreciate it if somebody could point me to the answer. I recently upgraded to 9.0 on my server, but since then a lot of ports-related commands (portupgrade

Re: The results of your email commands

2011-11-20 Thread thanos trompoukis
I saw that the usb device is like a scsi da so now I am trying this: # mount -t msdosfs /dev/da0 /mnt/usb mount_msdosfs: /dev/da0: Invalid argument now what? how I have to refered on my usb device? I do not understand a word here! thanx! 2011/11/19 owner-freebsd-questi...@freebsd.org

Re: The results of your email commands

2011-11-20 Thread Polytropon
On Sun, 20 Nov 2011 13:17:23 +0200, thanos trompoukis wrote: I saw that the usb device is like a scsi da so now I am trying this: # mount -t msdosfs /dev/da0 /mnt/usb mount_msdosfs: /dev/da0: Invalid argument now what? how I have to refered on my usb device? I do not understand a word

Re: The results of your email commands

2011-11-20 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Sun Nov 20 05:44:42 2011 Date: Sun, 20 Nov 2011 13:17:23 +0200 From: thanos trompoukis atr0...@gmail.com To: freebsd-questions@freebsd.org Subject: Re: The results of your email commands I saw that the usb device is like a scsi da so now I am

bash can not find most of my commands

2011-02-22 Thread Alokat
Hi, I have changed my shell from csh to bash ... But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) my /root/.profile: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin export PATH HOME=/root export HOME

Re: bash can not find most of my commands

2011-02-22 Thread Rolf Nielsen
2011-02-22 17:40, Alokat skrev: Hi, I have changed my shell from csh to bash ... Why? Do you use root as your regular login? But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) my /root/.profile:

Re: bash can not find most of my commands

2011-02-22 Thread Alokat
On 02/22/11 17:44, Rolf Nielsen wrote: 2011-02-22 17:40, Alokat skrev: Hi, I have changed my shell from csh to bash ... Why? Do you use root as your regular login? But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) my

Re: bash can not find most of my commands

2011-02-22 Thread Paul Macdonald
On 22/02/2011 16:40, Alokat wrote: Hi, I have changed my shell from csh to bash ... But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) don't change your root shell! csh is in the base system so is safe and will always* work, bash is

Re: bash can not find most of my commands

2011-02-22 Thread Rolf G Nielsen
2011-02-22 17:47, Alokat skrev: On 02/22/11 17:44, Rolf Nielsen wrote: 2011-02-22 17:40, Alokat skrev: Hi, I have changed my shell from csh to bash ... Why? Do you use root as your regular login? But after that I have to call reboot like /sbin/reboot. How can I change that without

Re: bash can not find most of my commands

2011-02-22 Thread Alokat
On 02/22/11 17:49, Paul Macdonald wrote: On 22/02/2011 16:40, Alokat wrote: Hi, I have changed my shell from csh to bash ... But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) don't change your root shell! csh is in the base system

Re: bash can not find most of my commands

2011-02-22 Thread Randy Ramsdell
Alokat wrote: On 02/22/11 17:49, Paul Macdonald wrote: On 22/02/2011 16:40, Alokat wrote: Hi, I have changed my shell from csh to bash ... But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) don't change your root shell! csh is in

Re: bash can not find most of my commands

2011-02-22 Thread Jason Helfman
On Tue, Feb 22, 2011 at 12:08:30PM -0500, Randy Ramsdell thus spake: Alokat wrote: On 02/22/11 17:49, Paul Macdonald wrote: On 22/02/2011 16:40, Alokat wrote: Hi, I have changed my shell from csh to bash ... But after that I have to call reboot like /sbin/reboot. How can I change that

Re: bash can not find most of my commands

2011-02-22 Thread Lars Eighner
On Tue, 22 Feb 2011, Alokat wrote: Paul has satisfied me. I have changed back to csh. If you want to run as root and use bash, well, that is what the user toor is for (examine master.passwd -- use vipw to edit master.passwd to enter a password for toor and the path to bash for toor, but set

Re: bash can not find most of my commands

2011-02-22 Thread Warren Block
On Tue, 22 Feb 2011, Paul Macdonald wrote: On 22/02/2011 16:40, Alokat wrote: Hi, I have changed my shell from csh to bash ... But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) don't change your root shell! csh is in the base

Re: bash can not find most of my commands

2011-02-22 Thread Chad Perrin
On Tue, Feb 22, 2011 at 05:58:22PM +0100, Alokat wrote: Paul has satisfied me. I have changed back to csh. Your system should have a toor account as well. It is just a second root account, whose essential purpose is to provide a root account that you can fiddle with to your heart's content

Re: bash can not find most of my commands

2011-02-22 Thread David Brodbeck
On Tue, Feb 22, 2011 at 9:53 AM, Chad Perrin per...@apotheon.com wrote: Thus, if you *really* want a superuser account with bash as its default shell, you can always use toor for that purpose.  I don't much see the point in setting a superuser account to use bash anyway -- or any other

Re: bash can not find most of my commands

2011-02-22 Thread Chad Perrin
On Tue, Feb 22, 2011 at 10:07:54AM -0800, David Brodbeck wrote: On Tue, Feb 22, 2011 at 9:53 AM, Chad Perrin per...@apotheon.com wrote: It turns out auto-completion with hinting and command history searching are pretty addictive if you're used to having them. :) I have auto-completion, and I

Re: bash can not find most of my commands

2011-02-22 Thread David Brodbeck
On Tue, Feb 22, 2011 at 12:39 PM, Chad Perrin per...@apotheon.com wrote: Just do us all a favor; don't write code in bash. Yeah, I try to avoid bash-specific syntax unless it's for one-off scripts. csh suffers the same kinds of problems; I only write csh code under extreme duress, like when

Re: bash can not find most of my commands

2011-02-22 Thread Chad Perrin
On Tue, Feb 22, 2011 at 01:10:20PM -0800, David Brodbeck wrote: Yeah, I try to avoid bash-specific syntax unless it's for one-off scripts. csh suffers the same kinds of problems; I only write csh code under extreme duress, like when forced to maintain the system-wide csh.login script. ;) I

Re: bash can not find most of my commands

2011-02-22 Thread Chip Camden
Quoth David Brodbeck on Tuesday, 22 February 2011: On Tue, Feb 22, 2011 at 12:39 PM, Chad Perrin per...@apotheon.com wrote: Just do us all a favor; don't write code in bash. What's with all the bash bashing? Sorry, couldn't resist. Yeah, I try to avoid bash-specific syntax unless it's for

Multiple mount_smbfs commands fail in bash script

2010-09-02 Thread Bernard Scharp
Hi all, I'm having some problems with a bash script. It's a backup script that periodically checks if a list of systems is online, and if so, uses samba to mount a specified list of shares, rsyncs them to a local directory and unmounts again. This used to run fine till a few months ago (I don't

Re: Multiple mount_smbfs commands fail in bash script

2010-09-02 Thread Jerry
On Thu, 02 Sep 2010 10:24:05 +0200 Bernard Scharp freebsd-questi...@itsacon.net articulated: Hi all, I'm having some problems with a bash script. It's a backup script that periodically checks if a list of systems is online, and if so, uses samba to mount a specified list of shares,

Re: Multiple mount_smbfs commands fail in bash script

2010-09-02 Thread Bernard Scharp
Could you post the script? Anything else would be pure guess work. You Well, I can recreate it with something as simple as: #!/usr/local/bin/bash mount_smbfs //u...@remotehost/share1/ /tmp/mnt/ mount_smbfs //u...@remotehost/share2/ /tmp/mnt2/ also might consider posting this on the BASH

Re: Multiple mount_smbfs commands fail in bash script

2010-09-02 Thread Polytropon
to monitor correct operations of your script in the past? Did the mound and umount (!) calls work properly? Have you checked your commands running them in the standard dialog shell (csh)? I assume you're running them as root (or at least with sufficient permissions), so I don't think the problem

Re: Multiple mount_smbfs commands fail in bash script

2010-09-02 Thread Bernard Scharp
, regarding your initial question, as I don't have experience with Windows related things: Did you have the chance to monitor correct operations of your script in the past? Did the mound and umount (!) calls work properly? Have you checked your commands running them in the standard dialog shell

Re: Multiple mount_smbfs commands fail in bash script

2010-09-02 Thread Polytropon
On Thu, 02 Sep 2010 15:52:25 +0200, Bernard Scharp freebsd-questi...@itsacon.net wrote: Neither am I. Hadn't even thought of grepping in /usr/src for the error message :-) It's often a good starting point to see where problems might be caused from. Can I just `rm /dev/nsmbX` them? (messing

Re: Howto run privileged commands on login/logout

2010-02-07 Thread Polytropon
On Sun, 07 Feb 2010 01:55:02 +0100, Erik Norgaard norga...@locolomo.org wrote: Hi: I'm playing around with diskless operation. I'd like to be able to run privileged commands when a user logins or logs out: You can handle this in two ways: a) On a per-user basis, you can use the user's

Howto run privileged commands on login/logout

2010-02-06 Thread Erik Norgaard
Hi: I'm playing around with diskless operation. I'd like to be able to run privileged commands when a user logins or logs out: - on login, nfs mount the user's home directory (ok, not critical, I can mount /home) - on logout a system reboot to clean up any temporary files left from

Re: Howto run privileged commands on login/logout

2010-02-06 Thread Rob Farmer
On Sat, Feb 6, 2010 at 4:55 PM, Erik Norgaard norga...@locolomo.org wrote: Hi: I'm playing around with diskless operation. I'd like to be able to run privileged commands when a user logins or logs out: - on login, nfs mount the user's home directory (ok, not critical, I can mount /home

Re: Howto run privileged commands on login/logout

2010-02-06 Thread Pieter de Goeje
On Sunday 07 February 2010 01:55:02 Erik Norgaard wrote: I'm playing around with diskless operation. I'd like to be able to run privileged commands when a user logins or logs out: - on login, nfs mount the user's home directory (ok, not critical, I can mount /home) This can be done using amd

Re: Howto run privileged commands on login/logout

2010-02-06 Thread perryh
Erik Norgaard norga...@locolomo.org wrote: I'm playing around with diskless operation. I'd like to be able to run privileged commands when a user logins or logs out: - on login, nfs mount the user's home directory (ok, not critical, I can mount /home) Or, better yet, use an automounter

FreeBSD commands... refcard

2009-09-11 Thread Matthias Apitz
Hello, In some Linux mailing list of Cuba I'm subscribed to, I just stumbled over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ which is available in many languages. This would be very helpfull for my wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something like

Re: FreeBSD commands... refcard

2009-09-11 Thread Manolis Kiagias
laptop. Is there something like this for FreeBSD, and even in Spanish? Thanks matthias It wouldn't be difficult to do something similar. Looking at the Greek version of the debian card, most commands are basic ones with similar function in FreeBSD. We could replace the apt-get section

Re: FreeBSD commands... refcard

2009-09-11 Thread Matthias Apitz
commands are basic ones with similar function in FreeBSD. We could replace the apt-get section with commands from the ports system and pkg_* and the /etc/init.d/ section with /etc/rc.d and /usr/local/etc/rc.d. I'll try to make up an initial English version this weekend. That would be very fine

Re: FreeBSD commands... refcard

2009-09-11 Thread James Seward
On Fri, Sep 11, 2009 at 8:30 AM, Matthias Apitz g...@unixarea.de wrote: In some Linux mailing list of Cuba I'm subscribed to, I just stumbled over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ which is available in many languages. This would be very helpfull for my wife

Re: FreeBSD commands... refcard

2009-09-11 Thread Al Plant
Matthias Apitz wrote: Hello, In some Linux mailing list of Cuba I'm subscribed to, I just stumbled over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ which is available in many languages. This would be very helpfull for my wife which 'must' ( :-)) run FreeBSD on her laptop.

Re: shell commands - exclusion

2009-02-08 Thread Jonathan McKeown
On Friday 06 February 2009 02:55, Chris Whitehouse wrote: I think you should be able to do it with a combination of -prune and -delete (or -exec rm -rf {} \; ) on a find command. Substitute your other commands for rm -rf in the -exec above. I would give you a working example except I can't

Re: shell commands - exclusion

2009-02-08 Thread Chris Whitehouse
Jonathan McKeown wrote: On Friday 06 February 2009 02:55, Chris Whitehouse wrote: I think you should be able to do it with a combination of -prune and -delete (or -exec rm -rf {} \; ) on a find command. Substitute your other commands for rm -rf in the -exec above. I would give you a working

Re: shell commands - exclusion

2009-02-05 Thread Chris Whitehouse
that in a single command? e.g rm -r * {-except foo1 foo15} I think you should be able to do it with a combination of -prune and -delete (or -exec rm -rf {} \; ) on a find command. Substitute your other commands for rm -rf in the -exec above. I would give you a working example except I can't figure out

Re: shell commands - exclusion

2009-02-05 Thread Paul Procacci
, is there a way to do that in a single command? e.g rm -r * {-except foo1 foo15} I think you should be able to do it with a combination of -prune and -delete (or -exec rm -rf {} \; ) on a find command. Substitute your other commands for rm -rf in the -exec above. I would give you a working example

shell commands - exclusion

2009-02-04 Thread t-u-t
hi, i don't know if this is a freak question, but i was looking around to see if this is possible, and what the convention would be. if i have say one (or even two) single file/directories among many others, and i want to perform any said function like cp, mv, rm, etc.. , to all other files

Re: shell commands - exclusion

2009-02-04 Thread Lars Eighner
, rm, etc.. , to all other files except that one or two, is there a way to do that in a single command? e.g rm -r * {-except foo1 foo15} In general this is not possible. A few commands have exclusion options, but not many. Some shells have ways of managing glob exclusion (it's the shell

Re: shell commands - exclusion

2009-02-04 Thread Dan Nelson
In the last episode (Feb 04), t-u-t said: hi, i don't know if this is a freak question, but i was looking around to see if this is possible, and what the convention would be. if i have say one (or even two) single file/directories among many others, and i want to perform any said function

Re: shell commands - exclusion

2009-02-04 Thread t-u-t
On Wed, Feb 4, 2009 at 4:26 PM, Lars Eighner luvbeas...@larseighner.comwrote: In general this is not possible. A few commands have exclusion options, but not many. Some shells have ways of managing glob exclusion (it's the shell that expands wildcard patterns). Setting GLOBIGNORE works

Re: shell commands - exclusion

2009-02-04 Thread t-u-t
would work fine with file operations, but not for pkg_delete and other commands i can't think of right now. I was just wondering if there was a commonly used/known method or *switch* i could look into. however, form this post i get the impression that it is better( and worthwhile) to learn to do some

Re: shell commands - exclusion

2009-02-04 Thread Roland Smith
On Wed, Feb 04, 2009 at 03:35:52PM +0100, t-u-t wrote: hi, i don't know if this is a freak question, but i was looking around to see if this is possible, and what the convention would be. if i have say one (or even two) single file/directories among many others, and i want to perform any

Re: shell commands - exclusion

2009-02-04 Thread Jaime
? e.g rm -r * {-except foo1 foo15} I'm just shooting in the dark here, but what about this? ls | grep -v foo1 | grep -v foo15 | xargs rm -rf Remember the Unix pipe and the grep and xargs commands. It can solve a lot of things by stringing together a lot of smaller commands. I think

Re: shell commands - exclusion

2009-02-04 Thread William Gordon Rutherdale
also apply it to tar commands all the time. All you have to do is this: $ ls rm.in $ vi rm.in . . . edit out all the files you don't want to erase . . . $ rm `cat rm.in` -Will ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

The results of your email commands

2008-12-24 Thread express-bounces
The results of your email command are provided below. Attached is your original message. - Results: questi...@freebsd.org is not a member of the Express mailing list - Unprocessed: Greater tool is easy to get T42 Make your love locomotive enter her tunnel on a full speed.

The results of your email commands

2008-12-24 Thread express-bounces
The results of your email command are provided below. Attached is your original message. - Unprocessed: http://docs.google.com/View?id=dgrdn7xj_1g97vjxfk AWDJBW3LLL Y9J7AS - Done. ---BeginMessage--- Make your love locomotive enter her tunnel on a full speed.

sudo multiple commands at once without shell script

2008-10-25 Thread Kelly Jones
How do I run multiple sudo commands at once? This fails because the semicolon ends the whole sudo command: sudo whoami; whoami root user This confuses tcsh: monica:~ sudo ( whoami ; whoami ) Badly placed ()'s. I could obviously write a shell script or something or do: sudo whoami; sudo

Re: sudo multiple commands at once without shell script

2008-10-25 Thread perryh
How do I run multiple sudo commands at once? This fails because the semicolon ends the whole sudo command: sudo whoami; whoami root user This confuses tcsh: monica:~ sudo ( whoami ; whoami ) Badly placed ()'s. Supposing sudo spawns a shell, something like ~ sudo whoami \; whoami

Re: sudo multiple commands at once without shell script

2008-10-25 Thread Tom Marchand
This works for me: sudo sh -c whoami;whoami On Oct 25, 2008, at 9:11 PM, Kelly Jones wrote: How do I run multiple sudo commands at once? This fails because the semicolon ends the whole sudo command: sudo whoami; whoami root user This confuses tcsh: monica:~ sudo ( whoami ; whoami

Recommendations for BSD Unix Toolbox: 1000+ Commands for FreeBSD BSD Books

2008-04-28 Thread loony
What are folks recommendations for the updated edition of BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD (Paperback)by Christopher Negus (Author), Francois Caen (Author)? Overall, Absolute FreeBSD boosted my confidence/competence but as my only printed Unix/Linux/BSD

Re: Recommendations for BSD Unix Toolbox: 1000+ Commands for FreeBSD BSD Books

2008-04-28 Thread Roland Smith
On Mon, Apr 28, 2008 at 02:10:45PM -0700, loony wrote: Overall, Absolute FreeBSD boosted my confidence/competence but as my only printed Unix/Linux/BSD resource although it is not the be one and end all resource to FreeBSD as I was hoping for, particularly when it comes to slightly more

Re: Recommendations for BSD Unix Toolbox: 1000+ Commands for FreeBSD BSD Books

2008-04-28 Thread Jon Radel
loony wrote: What are folks recommendations for the updated edition of BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD (Paperback)by Christopher Negus (Author), Francois Caen (Author)? Amazon.com started shipping pre-ordered copies only today, so I can't imagine too many

Sudo Commands on New 6.2 System Cause Last Login Message.

2008-04-03 Thread Martin McCormick
: Thu Apr 3 11:41:10 from testokcns.osuokc Thu Apr 3 11:41:17 CDT 2008 I was trying to see if a .hushlogin file in /root might snuff out the messages, but it had no effect. The commands always work but I would rather not get that message each time. Am I missing something obvious? Thanks

Re: Sudo Commands on New 6.2 System Cause Last Login Message.

2008-04-03 Thread Steven Friedrich
:38:24 from testokcns.osuokc 27testokcns root $sudo date Last login: Thu Apr 3 11:41:10 from testokcns.osuokc Thu Apr 3 11:41:17 CDT 2008 I was trying to see if a .hushlogin file in /root might snuff out the messages, but it had no effect. The commands always work but I would rather not get

Re: Sudo Commands on New 6.2 System Cause Last Login Message.

2008-04-03 Thread Martin McCormick
enough, sudo -v doesn't cause this message. Did you edit /usr/local/etc/sudoers ? I tried you're commands here and I don't get the Last login message. I am not getting it on most other FreeBSD systems except the newest 2 systems I just finished updating in the last couple of days. In sudoers

Re: Sudo Commands on New 6.2 System Cause Last Login Message.

2008-04-03 Thread David Robillard
The commands always work but I would rather not get that message each time. Am I missing something obvious? A quick google search will show you that it's the ${LOCALBASE}/etc/pam.d/sudo file which is the root of your problem. It's pam_lastlog(8) which makes the message. If you don't need

Re: Sudo Commands on New 6.2 System Cause Last Login Message.

2008-04-03 Thread Tom McLaughlin
:24 from testokcns.osuokc 27testokcns root $sudo date Last login: Thu Apr 3 11:41:10 from testokcns.osuokc Thu Apr 3 11:41:17 CDT 2008 I was trying to see if a .hushlogin file in /root might snuff out the messages, but it had no effect. The commands always work but I would rather not get

Re: How to use cut or awk commands into sed command ?

2007-12-13 Thread Frank Shute
On Thu, Dec 13, 2007 at 09:35:29AM +0200, Halid Faith wrote: Let me try to explain I have a file called A which contains variable values as below; file1, abc12 foot1, cba11 boby, def123 ... Also I have another file called B which contains partly valuable values as following; ### file

Re: How to use cut or awk commands into sed command ?

2007-12-13 Thread Giorgos Keramidas
On 2007-12-13 09:35, Halid Faith [EMAIL PROTECTED] wrote: Let me try to explain I have a file called A which contains variable values as below; file1, abc12 foot1, cba11 boby, def123 ... Also I have another file called B which contains partly valuable values as following; ### file of A

How to use cut or awk commands into sed command ?

2007-12-12 Thread Halid Faith
I have a file named file1 which contains some values. I want to replace some strings into it, so I use sed command but I get an error. sed s#oldstring#`cut -d, -f3 file2`# file1 sed: 1: s/yenidomain2/f0b2875d- ...: unterminated substitute in regular expression also I get an error with awk

Re: How to use cut or awk commands into sed command ?

2007-12-12 Thread Tino Engel
Halid Faith schrieb: I have a file named file1 which contains some values. I want to replace some strings into it, so I use sed command but I get an error. sed s#oldstring#`cut -d, -f3 file2`# file1 sed: 1: s/yenidomain2/f0b2875d- ...: unterminated substitute in regular expression also I

Re: How to use cut or awk commands into sed command ?

2007-12-12 Thread Bill Campbell
On Wed, Dec 12, 2007, Halid Faith wrote: I have a file named file1 which contains some values. I want to replace some strings into it, so I use sed command but I get an error. sed s#oldstring#`cut -d, -f3 file2`# file1 sed: 1: s/yenidomain2/f0b2875d- ...: unterminated substitute in regular

Re: How to use cut or awk commands into sed command ?

2007-12-12 Thread Giorgos Keramidas
On 2007-12-12 23:19, Halid Faith [EMAIL PROTECTED] wrote: I have a file named file1 which contains some values. I want to replace some strings into it, so I use sed command but I get an error. sed s#oldstring#`cut -d, -f3 file2`# file1 sed: 1: s/yenidomain2/f0b2875d- ...: unterminated

Re: How to use cut or awk commands into sed command ?

2007-12-12 Thread Halid Faith
Let me try to explain I have a file called A which contains variable values as below; file1, abc12 foot1, cba11 boby, def123 ... Also I have another file called B which contains partly valuable values as following; ### file of A begin Server valuable1 Client valuable2 the file end I have to

Why crontab is not able to run some commands ?

2007-05-11 Thread Halid Faith
I have a script. As I am a root user, I can run it without a problem. I added that script to crontab in order to run as automatic. I entered in /etc/crontab and put down as below; */20 * * * * root/etc/scriptfile Despite root user, the crontab could not run above

Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill
On Fri, 11 May 2007, Halid Faith wrote: I have a script. As I am a root user, I can run it without a problem. I added that script to crontab in order to run as automatic. I entered in /etc/crontab and put down as below; */20 * * * * root/etc/scriptfile Despite

Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Paul Schmehl
--On Friday, May 11, 2007 21:53:24 +0300 Halid Faith [EMAIL PROTECTED] wrote: I have a script. As I am a root user, I can run it without a problem. I added that script to crontab in order to run as automatic. I entered in /etc/crontab and put down as below; */20 * * * *

Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill
On Fri, 11 May 2007, Paul Schmehl wrote: Then try running this in your cron job: /bin/sh /etc/scriptfile Bet it does work. :-) Yes, but if the OP has: #!/bin/sh as the first line, the file owned by root and the executable flag for user set, shouldn't it execute from cron as just:

Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Paul Schmehl
--On Friday, May 11, 2007 19:45:22 + Duane Hill [EMAIL PROTECTED] wrote: On Fri, 11 May 2007, Paul Schmehl wrote: Then try running this in your cron job: /bin/sh /etc/scriptfile Bet it does work. :-) Yes, but if the OP has: # !/bin/sh as the first line, the file owned by root and

Re: Why crontab is not able to run some commands ?

2007-05-11 Thread James Anderson
On 5/11/07, Halid Faith [EMAIL PROTECTED] wrote: I have a script. As I am a root user, I can run it without a problem. I added that script to crontab in order to run as automatic. I entered in /etc/crontab and put down as below; */20 * * * * root/etc/scriptfile

Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill
On Fri, 11 May 2007, Paul Schmehl wrote: --On Friday, May 11, 2007 19:45:22 + Duane Hill [EMAIL PROTECTED] wrote: On Fri, 11 May 2007, Paul Schmehl wrote: Then try running this in your cron job: /bin/sh /etc/scriptfile Bet it does work. :-) Yes, but if the OP has: # !/bin/sh as

List of FreeBSD commands (was: Re: (no subject))

2007-03-15 Thread cpghost
On Thu, Mar 15, 2007 at 06:03:25AM +, neo neo wrote: i am new at FreeBSD . Where can i get FreeBSD commands list? I assume that by 'command' you mean executable programs that are part of the FreeBSD operating system, or programs that you add later via packages or port... 1. Most commands

Re: ifstated check commands behavior

2007-03-15 Thread Alexandre Biancalana
On 3/14/07, Alexandre Biancalana [EMAIL PROTECTED] wrote: Hi list, I'm trying to setup ifstated to check two links and if some go down, do some actions like change pf rules and machine's route. My doubt is about the execution order/repetition of the states body of ifstated.conf, in all

ifstated check commands behavior

2007-03-14 Thread Alexandre Biancalana
Hi list, I'm trying to setup ifstated to check two links and if some go down, do some actions like change pf rules and machine's route. My doubt is about the execution order/repetition of the states body of ifstated.conf, in all configs that I tried just the last check is executed always,

Translate job number from atq to commands that will run

2006-12-16 Thread JAMES T RIENDEAU
Does anybody know how I could translate the job # into the commands that will run from the output of the atq command? For example, here is my current atq: DateOwner Queue Job # Mon Dec 18 09:00:00 CST 2006rootc

Re: Translate job number from atq to commands that will run

2006-12-16 Thread Dan Nelson
In the last episode (Dec 16), JAMES T RIENDEAU said: Does anybody know how I could translate the job # into the commands that will run from the output of the atq command? For example, here is my current atq: Date Owner Queue Job # Mon Dec 18 09:00:00 CST

Re: Translate job number from atq to commands that will run

2006-12-16 Thread James Long
Date: Sat, 16 Dec 2006 16:54:58 -0600 From: JAMES T RIENDEAU [EMAIL PROTECTED] Subject: Translate job number from atq to commands that will run To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Does anybody

Re: [EMAIL PROTECTED]: The results of your email commands]

2006-10-26 Thread Jonathan Arnold
Gary Kline wrote: Folks, how can I un-sub from the -queestions list that is sent to [EMAIL PROTECTED] when the mailer thinks I am NOT a Subscriber??? See my //HERE tag below Can't you unsubscribe via the web interface:

  1   2   3   >