How to achieve E-Mail Notification on root login?

2013-02-12 Thread Matthias Petermann
Hello, given there is a FreeBSD system with users in the wheel group, what is the best practise to send out a notification via E-Mail if one of them becomes root via su? In an ideal case the E-Mail would contain the user name and the time. I thought about using sudo but this is not in the

Re: Chmod of /dev/ulptN

2013-02-12 Thread Polytropon
On Mon, 11 Feb 2013 18:33:12 -0800, Ronald F. Guilmette wrote: I exactly followed the directions here: http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118.html Nontheless, my /dev/lpt0 node still only has permissions set to 0644. In the subject you've mentioned

Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Polytropon
On Tue, 12 Feb 2013 13:24:52 +0100, Matthias Petermann wrote: Hello, given there is a FreeBSD system with users in the wheel group, what is the best practise to send out a notification via E-Mail if one of them becomes root via su? In an ideal case the E-Mail would contain the user

Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Robert Huff
Polytropon writes: given there is a FreeBSD system with users in the wheel group, what is the best practise to send out a notification via E-Mail if one of them becomes root via su? In an ideal case the E-Mail would contain the user name and the time. I'm not sure if there

Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Frank Staals
Robert Huff roberth...@rcn.com writes: Polytropon writes: given there is a FreeBSD system with users in the wheel group, what is the best practise to send out a notification via E-Mail if one of them becomes root via su? In an ideal case the E-Mail would contain the user name and

Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Zyumbilev, Peter
Hi, Allow sudo bash only. Modify .bashrc to mail last entry from the log http://tldp.org/LDP/abs/html/sample-bashrc.html So you will get alert instantly :-) Peter On 12/02/2013 16:31, Robert Huff wrote: Polytropon writes: given there is a FreeBSD system with users in the wheel

Was I Sourced?

2013-02-12 Thread Tim Daneliuk
Is there a way for script to determine whether is was sourced or forked off as a subprocess when it was invoked? I have a script that needs to be sourced to work properly and I want to warn the luser if they exec or subshell it instead. TIA, --

RE: Was I Sourced?

2013-02-12 Thread Teske, Devin
On Tue, 12 Feb 2013, Tim Daneliuk wrote: Is there a way for script to determine whether is was sourced or forked off as a subprocess when it was invoked? Not that I'm aware of. I have a script that needs to be sourced to work properly and I want to warn the luser if they exec or subshell

Re: Chmod of /dev/ulptN

2013-02-12 Thread Warren Block
On Tue, 12 Feb 2013, Polytropon wrote: On Mon, 11 Feb 2013 18:33:12 -0800, Ronald F. Guilmette wrote: I exactly followed the directions here: http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118.html Nontheless, my /dev/lpt0 node still only has permissions set to 0644.

Re: Was I Sourced?

2013-02-12 Thread Fabian Keil
Teske, Devin devin.te...@fisglobal.com wrote: On Tue, 12 Feb 2013, Tim Daneliuk wrote: Is there a way for script to determine whether is was sourced or forked off as a subprocess when it was invoked? Not that I'm aware of. sysutils/zogftw, which has to find and parse itself to

Re: Was I Sourced?

2013-02-12 Thread Robert Bonomi
Date: Tue, 12 Feb 2013 08:53:37 -0600 From: Tim Daneliuk tun...@tundraware.com To: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: Was I Sourced? Is there a way for script to determine whether is was sourced or forked off as a subprocess when it was invoked? I have a script

FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ?

2013-02-12 Thread Mm Bsd
The Motorola Droid RAZR i (a variant of the RAZR m) has an intel atom z2460 processor in it. Unless I am mistaken, this is an amd64 compatible chip that mainline FreeBSD could run on, yes ? Without getting into the specifics of loading the system (and using a touchscreen as input), would

Re: pkgng

2013-02-12 Thread Walter Hurry
On Sat, 15 Dec 2012 18:54:00 +, Matthew Seaman wrote: On 15/12/2012 18:23, Walter Hurry wrote: On Sat, 15 Dec 2012 15:31:03 +, Matthew Seaman wrote: 'm slowly collecting examples of applications where the shlib analysis doesn't work properly In case you don't already have them in

Re: FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ?

2013-02-12 Thread Robert Bonomi
Date: Tue, 12 Feb 2013 09:31:52 -0800 (PST) From: Mm Bsd mmbsd1...@yahoo.com Subject: FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ? To: freebsd-questions@freebsd.org The Motorola Droid RAZR i (a variant of the RAZR m) has an intel atom z2460 processor in it. Unless I

Re: pkgng

2013-02-12 Thread Matthew Seaman
On 12/02/2013 17:43, Walter Hurry wrote: On Sat, 15 Dec 2012 18:54:00 +, Matthew Seaman wrote: On 15/12/2012 18:23, Walter Hurry wrote: On Sat, 15 Dec 2012 15:31:03 +, Matthew Seaman wrote: 'm slowly collecting examples of applications where the shlib analysis doesn't work properly

Re: pkgng

2013-02-12 Thread Walter Hurry
On Tue, 12 Feb 2013 17:57:57 +, Matthew Seaman wrote: On 12/02/2013 17:43, Walter Hurry wrote: On Sat, 15 Dec 2012 18:54:00 +, Matthew Seaman wrote: On 15/12/2012 18:23, Walter Hurry wrote: On Sat, 15 Dec 2012 15:31:03 +, Matthew Seaman wrote: 'm slowly collecting examples of

Re: Was I Sourced?

2013-02-12 Thread Tim Daneliuk
On 02/12/2013 11:10 AM, Robert Bonomi wrote: Date: Tue, 12 Feb 2013 08:53:37 -0600 From: Tim Daneliuk tun...@tundraware.com To: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: Was I Sourced? Is there a way for script to determine whether is was sourced or forked off as a subprocess

Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Karl Vogel
Robert Huff roberth...@rcn.com writes: R The bigger question is how quickly do you need to know - instantly? R once an hour? once a day? On 12 Feb 2013 15:39:56 +0100, Frank Staals fr...@fstaals.net said: F I don't think anything other than instantly makes sense. If it would be F a batch

opera - ghostery

2013-02-12 Thread ajtiM
Hi! I am an Opera user long time and I use extension Ghostery long time too but now on Opera 12.14 I had a problem with Ghostery wizard setting each time when I start Opera. When I exit Opera I use Tool-Delete Private Data where I have checked everything except Delete settings and data for all

Sendmail relaying for Intranet?

2013-02-12 Thread Chris Maness
I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet. It does not have access to the i-net. I think I remember reading that it is possible for the i-net attached sendmail to relay mail for a domain to another host. Is

NTFS 4 Terabyte drive problems on FreeBSD?

2013-02-12 Thread Scott Ballantyne
Hi, I'm trying to mount a 4 TB drive (The Seagate Backup-Plus) on FreeBSD 9.0 Generic, using mount -t ntfs /dev/da0s1 /mnt It fails with: g_vfs_done() da1s1[READ(offset=0, length=1042)]error=22 mount_ntfs: /dev/da1s1 bad argument However, I can mount a 2 TB ntfs drive with no problem, using

Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ronald F. Guilmette
In general, I don't upgrade my ports very often, so up until recently I was running a fairly old version of firefox (firefox-15.0.1,1). But over the weekend, I moved everything over to a new drive containing the latest 9.1-RELEASE FreeBSD, and with a complete set of freshly rebuilt ports,

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ralf Mardorf
The profile should be available by 'firefox -ProfileManager' [1], OTOH I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for Arch Linux I used two profiles, one shared with another Linux and after a while I couldn't use the shared profiles anymore, but the ProfileManger still

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ralf Mardorf
On Tue, 2013-02-12 at 22:49 +0100, Ralf Mardorf wrote: The profile should be available by 'firefox -ProfileManager' [1], OTOH I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for Arch Linux I used two profiles, one shared with another Linux and after a while I couldn't use

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread CeDeROM
On Tue, Feb 12, 2013 at 10:38 PM, Ronald F. Guilmette r...@tristatelogic.com wrote: Looking into this issue a bit deeper, I've now learned that all of one's personal settings are stored in a directory having a name which has the following general form:

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ralf Mardorf
On Tue, 2013-02-12 at 22:52 +0100, Ralf Mardorf wrote: On Tue, 2013-02-12 at 22:49 +0100, Ralf Mardorf wrote: The profile should be available by 'firefox -ProfileManager' [1], OTOH I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for Arch Linux I used two profiles, one

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ralf Mardorf
On Tue, 2013-02-12 at 23:00 +0100, CeDeROM wrote: Hey Ronald, are you sure there is no corruption on the disk? Have you preformatted your new drive? I had disks that lost data if used with no pre-format stage. Have you tried forcing fsck? Sometimes when my machine crash there is a silent

Re: FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ?

2013-02-12 Thread Joshua Isom
On 2/12/2013 11:31 AM, Mm Bsd wrote: The Motorola Droid RAZR i (a variant of the RAZR m) has an intel atom z2460 processor in it. Unless I am mistaken, this is an amd64 compatible chip that mainline FreeBSD could run on, yes ? Without getting into the specifics of loading the system (and

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread CeDeROM
On Tue, Feb 12, 2013 at 11:11 PM, Ralf Mardorf ralf.mard...@rocketmail.com wrote: Firefox is my preferred browser, but it has some disadvantages compared to other browsers. Give a try to Chromium :-) I have been using Opera for long time because it was fast and small. Not that long ago I have

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ralf Mardorf
On Tue, 2013-02-12 at 23:26 +0100, CeDeROM wrote: On Tue, Feb 12, 2013 at 11:11 PM, Ralf Mardorf ralf.mard...@rocketmail.com wrote: Firefox is my preferred browser, but it has some disadvantages compared to other browsers. Give a try to Chromium :-) I have been using Opera for long time

Re: Chmod of /dev/ulptN

2013-02-12 Thread Ronald F. Guilmette
In message alpine.bsf.2.00.1302120808400.95...@mail.fig.ol.no, =?ISO-8859-1?Q?Trond_Endrest=F8l?= trond.endres...@fagskolen.gjovik.no wrote: On Mon, 11 Feb 2013 18:33-0800, Ronald F. Guilmette wrote: I exactly followed the directions here:

Re: Sendmail relaying for Intranet?

2013-02-12 Thread Robison, Dave
On 02/12/2013 12:54, Chris Maness wrote: I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet. It does not have access to the i-net. I think I remember reading that it is possible for the i-net attached sendmail

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Polytropon
On Tue, 12 Feb 2013 23:40:41 +0100, Ralf Mardorf wrote: I don't like the new style of Opera and the style of Chromium. I prefer classic menus. Luckily you can change that in Opera and give it the traditional style. Still Opera suffers from ongoing disimprovement (e. g. reduction of

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ralf Mardorf
On Wed, 2013-02-13 at 00:16 +0100, Polytropon wrote: Even though I don't like Flash especially because it has become what animated GIFs have been used for in the past - replacement for HTML, nagging, stealing focus, aggressive advertising with sound and so on - it perfectly works with Opera.

Re: NTFS 4 Terabyte drive problems on FreeBSD?

2013-02-12 Thread Dan Nelson
In the last episode (Feb 12), Scott Ballantyne said: Hi, I'm trying to mount a 4 TB drive (The Seagate Backup-Plus) on FreeBSD 9.0 Generic, using mount -t ntfs /dev/da0s1 /mnt It fails with: g_vfs_done() da1s1[READ(offset=0, length=1042)]error=22 mount_ntfs: /dev/da1s1 bad argument

Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Chris Hill
On Tue, 12 Feb 2013, Zyumbilev, Peter wrote: Allow sudo bash only. The OP didn't want to use sudo because it's not in the base system. I would guess he also doesn't want to use bash, since it too is not in the base system. [ snip ] -- Chris Hill ch...@monochrome.org **

Exporting a ntfs-3g mounted drive over NFS?

2013-02-12 Thread Scott Ballantyne
Hello, Thanks to Dan Nelson I was able to mount my 4 TB drive using ntfs-3g. Now I need to export it over NFS, and it doesn't work. I'm using a bootable ZFS system, if that makes any difference. I don't see why it should. Basically, I can export a directory as long as a ntfs-3g filesystem is

Re: Exporting a ntfs-3g mounted drive over NFS?

2013-02-12 Thread Scott Ballantyne
I wrote: Hello, Thanks to Dan Nelson I was able to mount my 4 TB drive using ntfs-3g. Now I need to export it over NFS, and it doesn't work. I'm using a bootable ZFS system, if that makes any difference. I don't see why it should. Basically, I can export a directory as long as a

Re: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread Ralf Mardorf
Forwarded Message From: Ralf Mardorf ralf.mard...@alice-dsl.net To: freebsd-questions@freebsd.org Subject: Re: Upgrade causes loss of all firefox settings (?) Date: Wed, 13 Feb 2013 00:52:34 +0100 On Wed, 2013-02-13 at 00:47 +0100, Ralf Mardorf wrote: The best websites are made

Re: Sendmail relaying for Intranet?

2013-02-12 Thread Chris Maness
On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave david.robi...@fisglobal.com wrote: On 02/12/2013 12:54, Chris Maness wrote: I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet. It does not have access to the i-net.

Re: Sendmail relaying for Intranet?

2013-02-12 Thread Bernt Hansson
2013-02-13 06:30, Chris Maness skrev: On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave david.robi...@fisglobal.com wrote: On 02/12/2013 12:54, Chris Maness wrote: I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet.