passwd(1) and LDAP (was Re: FreeBSD 7.0, Open LDAP, PAM, TLS and NSS, howto?)

2007-09-30 Thread Jonathan McKeown
On Friday 28 September 2007 16:29, Brian A. Seklecki wrote: > FreeBSD 5.x and 6.x work fine with both PAM and NSS -> LDAP w/ TLS > (PKI). > > All other services (RADIUS, Apache ((mod_ldap, mod_pam_auth), PHP, > interactive shell, SFTP, etc.) can be tied into LDAP either directly or > via PAM. > > A

Re: usb serial convertor

2007-10-01 Thread Jonathan McKeown
On Monday 01 October 2007 03:41, The Longs wrote: > I'm trying to get Gregs temperature controlled fridge to work, but the > catch is that the laptop I'm using doesn't have a serial port. I'm hoping I > can use a usb to serial convertor and tell the program to look at the usb > port for the tempera

Re: passwd(1) and LDAP (was Re: FreeBSD 7.0, Open LDAP, PAM, TLS and NSS, howto?)

2007-10-01 Thread Jonathan McKeown
On Monday 01 October 2007 20:29, Brian A. Seklecki wrote: > On Mon, 1 Oct 2007, Jonathan McKeown wrote: > > The passwd(1) program was rewritten some time ago to use PAM, but a test > > was left in which prevents it doing so. I have asked, both on this list > > and on freebs

Re: Separating Mail from Security Output and Daily Run Output

2007-10-19 Thread Jonathan McKeown
On Friday 19 October 2007 03:24, Michael K. Smith - Adhost wrote: > Hello All: > > Is there a way on the server side to have the output from the Security > Run and the Daily Run to go to separate email addresses? We have a > gihugic number of servers sending everything to a single address and I'd

Re: tar Ignoring out-of-order file What Does that Mean?

2007-11-04 Thread Jonathan McKeown
On Tuesday 30 October 2007 16:02, Martin McCormick wrote: > I need to modify the first installation image for a > headless installation of Freebsd6.2. The file in question is: > > 6.2-RELEASE-i386-disc1.iso > > Thanks to a helpful member of the list [that was me - I'm glad I was of som

Re: shell programming

2007-11-09 Thread Jonathan McKeown
On Friday 09 November 2007 20:02, Eric Crist wrote: > On Nov 9, 2007, at 11:46 AM, Bill Banks wrote: > > I'm writing a backup script. I need to get the day of the week into > > a variable. How can I do it? > > Well, it depends on what you're using. If you're using sh, see `man > date`. If you're

Re: Ports with GUI configs

2007-11-12 Thread Jonathan McKeown
On Monday 12 November 2007 17:48, Erik Trulsson wrote: > On Mon, Nov 12, 2007 at 03:26:00PM +, Ashley Moran wrote: >> I've lost count of the number of times I've come back to a big >> install to find it hanging on a config screen. Possibly I'm missing >> something. [snip] >> What is the best w

apache port knobs - WITH_APACHE2 deprecated?

2007-11-15 Thread Jonathan McKeown
This is (I hope) a quick and easy question. I want to ensure that any ports which depend on Apache will depend on 2.0 rather than try to bring in 1.3. I used to do this by putting WITH_APACHE2 in /etc/make.conf. bsd.apache.mk says WITH_APACHE2 is deprecated. What is it deprecated in favour of,

Re: apache port knobs - WITH_APACHE2 deprecated?

2007-11-15 Thread Jonathan McKeown
On Thursday 15 November 2007 19:39, Philip M. Gollucci wrote: > Jonathan McKeown wrote: > > This is (I hope) a quick and easy question. > > > > I want to ensure that any ports which depend on Apache will depend on 2.0 > > rather than try to bring in 1.3. > >

Re: Ports with GUI configs

2007-11-18 Thread Jonathan McKeown
On Saturday 17 November 2007 02:06, Chad Perrin wrote: > On Fri, Nov 16, 2007 at 02:11:57PM -0500, Chuck Robey wrote: > > prominently display the actual meaning of the word being set. The only > > reason to make the list binary is to force everyone to use the > > (basically database technology) to

Re: One Laptop Per Child

2007-11-19 Thread Jonathan McKeown
[Ted Mittelstaedt's words, heavily edited for brevity. Ted, please shout if I haven't caught the sense of what you're saying] > Well, I know it's been a week since this came up but I'll toss in my > $0.02 here. I've been against this project since I heard about it. > Fortunately, it appears to b

Re: FreeBSD 7/OpenLDAP: Howto change passwords

2007-11-26 Thread Jonathan McKeown
On Monday 26 November 2007 17:11, O. Hartmann wrote: > Hello, > > trying to change passwords on a client machine for a LDAP authenticated > user always fails due to the original passwd() command is not capable of > changing passwords remotely. > Their is a suggested patch, but is there an "official

Re: looking for online text editor

2007-12-04 Thread Jonathan McKeown
On Tuesday 04 December 2007 22:14, David Banning wrote: > > running the java filemanager - same goes for attempting to run > > mindterm-ssh. Is there some plain text editor program > > out there that will allow me to simply login and edit my files in > > plain text - (not a gui

Re: Where is the next uid from adduser pulled from?

2007-12-13 Thread Jonathan McKeown
On Wednesday 12 December 2007 20:04, Andrew Pantyukhin wrote: > On Wed, Dec 12, 2007 at 12:00:06PM -0500, Francisco Reyes wrote: > > I have scripts to add new users. However, after that any port that > > installs a user creates it with a UID after the ones I made. > > > > For example I want all emp

Re: kde3 build problems

2008-09-10 Thread Jonathan McKeown
On Wednesday 10 September 2008 06:55:18 joeb wrote: > I believe kde3 is obsolete. I Just did kde4 and it worked. > That's most definitely not the case. KDE4 is still for early adopters, and KDE3 will continue to be supported as the ``conservative'' stable version for a while, according to

Re: Netprint perl script from Handbook doesn't work

2008-09-25 Thread Jonathan McKeown
On Wednesday 24 September 2008 17:12:36 Dan Nelson wrote: > In the last episode (Sep 24), Andy Kosela said: > > The netprint perl script provided in the Handbook (9.4.3.2) is not > > working.. or am I missing something: > > > > plotinus:~> cat new.txt | lp.sh > > Can't contact 10.10.21.12: Address

Re: Cannot create custom FreeBSD 7.0 install CD for serial console

2008-10-02 Thread Jonathan McKeown
On Wednesday 01 October 2008 22:25:21 Carl wrote: > Jeremy Chadwick wrote: > > On Wed, Oct 01, 2008 at 02:41:03AM -0700, Carl wrote: > >> I've been trying to create a modified FreeBSD 7.0 install CD that will > >> allow me to do installations entirely via the serial console on a > >> headless syste

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 impress

Re: root | su

2008-10-25 Thread Jonathan McKeown
On Friday 24 October 2008 23:59, Jos Chrispijn wrote: > [Jeremy Chadwick said] > > You're trying to solve a social (possibly personal?) problem with > > technology. Simply put, this is a bad idea. > > Yep, I think that is .true. > > > I would highly recommend you either talk to "the idiot" and exp

Re: OT: Shell Script using Awk

2008-11-02 Thread Jonathan McKeown
On Sunday 02 November 2008 03:21:55 David Allen wrote: > My apologies for asking on this list, but I'm stuck without Perl and need > to use awk to generate a report. > > I'm working with a large data set spread across multiple files, but to > keep things simple, say I have A Very Long String that c

Broken quoting (was Re: XFCE4)

2008-11-02 Thread Jonathan McKeown
On Monday 03 November 2008 08:38:07 joeb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > FBSD1 wrote: > > What port names need to be installed to create a XFCE4 desktop > > environment? > > > I was looking for a mega port like kde3 has but could not identify one. > > Thanks in advance.

Re: Broken quoting (was Re: XFCE4)

2008-11-03 Thread Jonathan McKeown
On Monday 03 November 2008 16:17:20 Bob McConnell wrote: [Jonathan to joeb via freebsd-questions] > > I don't know whether it's you or your email client, but your quoting > > is hideously broken. Please fix it. > > It's his email client. Microsoft Lookout will no longer do standard > quoting and f

Re: eps to jpg conversion - which program?

2008-11-08 Thread Jonathan McKeown
On Friday 07 November 2008 21:19, Polytropon wrote: > On Fri, 07 Nov 2008 13:36:51 +0100, Laszlo Nagy <[EMAIL PROTECTED]> wrote: > A batch solution is simple: > > #!/bin/sh > for f in *eps; do > convert ${f} `basename ${f} .eps`.jpg > done You can also save yourse

Re: recommendation word processer for xfce

2008-11-08 Thread Jonathan McKeown
On Saturday 08 November 2008 13:55, Jerry wrote: > On Fri, 7 Nov 2008 16:28:00 -0700 > > Chad Perrin <[EMAIL PROTECTED]> wrote: > >. . . or, as someone else pointed out, one could just learn to scroll > >to the end before typing. It's not that difficult -- even in Outlook. > > works like a charm

Re: scripting text replacement

2008-11-09 Thread Jonathan McKeown
On Sunday 09 November 2008 00:02:11 Giorgos Keramidas wrote: > On Sat, 8 Nov 2008 19:43:52 +0100, bsd <[EMAIL PROTECTED]> wrote: > > > I have a file containing a list of items like that: > > > > line1item1 line1item2 line1item3 > > line2item1 line2item2 line2item3 > > …400 times > > > > I need to

Release schedules

2008-11-12 Thread Jonathan McKeown
I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? FreeBSD 7.1-RELEASE, according to the scheduling page at www.freebsd.org, should have had a Release Candidate published

Re: Release schedules

2008-11-12 Thread Jonathan McKeown
On Wednesday 12 November 2008 14:01:47 Roland Smith wrote: > On Wed, Nov 12, 2008 at 12:59:24PM +0200, Jonathan McKeown wrote: > > I've been biting my tongue about this because I'm not sure that I can > > offer any help or useful suggestions, but here goes... > > >

Re: host based authetication with OpenLDAP and FreeBSD

2008-11-17 Thread Jonathan McKeown
On Friday 14 November 2008 14:32, O. Hartmann wrote: > Hello, > I have a OT question and maybe some of the FreeBSD server admins here > can help me out. [snip] > Having nss_ldap and pam_ldap installed on every single FreeBSD > server/box which is capable of being accessed I found in etc/ldap.conf >

Re: php5 Only IE Users can View Pages.

2008-11-17 Thread Jonathan McKeown
On Friday 14 November 2008 19:36, Martin McCormick wrote: > I inherited a mrtg application thatnow is running on a > FreeBSD6.3 system. Clients report that one can see the php pages > when using Internet Explorer but not other browsers that should > display the pages. Those customers see raw

Re: ascii text format

2008-11-21 Thread Jonathan McKeown
On Friday 21 November 2008 12:49:16 pwn wrote: > algouth this is not a freebsd specific text, i need to format some texts > under freebsd for they appear in the center of the page when opened in a > browser, but i dont want to use HTML for format them, i just want to add > tabulation to my *.txt. >

Re: process always running

2008-11-27 Thread Jonathan McKeown
On Thursday 27 November 2008 15:46:58 Dominik Meister wrote: > Hi > > Gian Paolo Buono [Thu, Nov 27, 2008 at 02:05:44PM +0100]: > > there is a method in freebsd for restart process whenever it terminates > > ? I use in linux respawn in inittab... > > One possibility that comes to mind is using dae

Re: NTP Client synchronization with a Windows 2003/2008

2009-10-14 Thread Jonathan McKeown
On Tuesday 13 October 2009 18:44:57 Jon Radel wrote: > Jacques Henry wrote: > > I commented the commands involved and nothing changed... (with only 10 > > minutes of time difference) > > The 19 minutes between when I sent my suggestions and you responded is > hardly enough time to see if ntpd was s

Re: NTP Client synchronization with a Windows 2003/2008

2009-10-14 Thread Jonathan McKeown
On Wednesday 14 October 2009 18:04:41 Jacques Henry wrote: > > Alternatively, from the commandline try > > > > ntpd -g -q -c /etc/ntp.conf > > > > The -g flag allows ntpd to set the clock once regardless of the offset > > and the -q causes it to quit after setting the time. > > I tried this comman

Re: Why is sendmail is part of the system and not a package?

2009-10-27 Thread Jonathan McKeown
On Monday 26 October 2009 21:29:27 Yuri wrote: > It's in /usr/sbin/sendmail. > > How many people actually use it? Very few. > Why isn't it moved to ports? What is this anti-sendmail obsession people have? Almost everyone I've ever spoken to about why they dislike sendmail trots out a bunch of cl

Re: Merging Related Information from 2 Tables

2009-10-30 Thread Jonathan McKeown
On Thursday 29 October 2009 20:44:12 Martin McCormick wrote: > Giorgos Keramidas writes: > > You should use a Perl or Python script, and a hash... > > > > If you show us a few sample lines from the input file and how you want > > the output to look, it shouldn't be too hard to quickly hack one of t

Re: Why is sendmail is part of the system and not a package?

2009-10-30 Thread Jonathan McKeown
On Thursday 29 October 2009 21:58:54 Lars Eighner wrote: > On Thu, 29 Oct 2009, Ruben de Groot wrote: > > sendmail is NOT a legacy application. It's actively being developed > > ON FreeBSD. Actually, the maintainer(s) are doing a great job > > Bullshit. > > Why does sendmail call up the internet du

Re: [] confession...

2009-11-23 Thread Jonathan McKeown
On Tuesday 24 November 2009 09:15:43 Gary Kline wrote: > it's time to come clean an admit that i have never taken > advantage of the option that lets you press [???], then press > other keys in order so the result is like pressing multiple > keys at once. > > i have ne

Re: upgraded to 8, no mouse is broken

2009-12-11 Thread Jonathan McKeown
On Friday 11 December 2009 08:17:06 Polytropon wrote: > On Thu, 10 Dec 2009 21:38:04 -0700 (MST), Warren Block wrote: > > Please > > see the Handbook section on X11 configuration instead: > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html > > Just a side question: 5.4

Re: 8.0: OpenSSL stat()'s NLS 500+ times causing extreme system load

2009-12-16 Thread Jonathan McKeown
On Tuesday 15 December 2009 23:24:16 Linda Messerschmidt wrote: > On Tue, Dec 15, 2009 at 12:53 PM, Dan Nelson wrote: > > It's defined in src/lib/libc/Makefile, so you should be able to remove > > that line, rebuild libc and reinstall, and see whether your performance > > issue goes away. > > I t

Re: black hole test

2009-12-16 Thread Jonathan McKeown
On Wednesday 16 December 2009 22:05:06 Peter Wemm wrote: > Daignostic message to trace mailing list processing, please ignore. You have heard of freebsd-test@ , haven't you? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: Using Install CD To Prepare Hard Disk

2008-03-14 Thread Jonathan McKeown
On Friday 14 March 2008 00:49, Tim Daneliuk wrote: > Chuck Swiger wrote: > > On Mar 13, 2008, at 3:28 PM, Tim Daneliuk wrote: > >> I would like to use the CD install menus to only prepare the hard > >> disk (Partition, Label, Format) without actually installing anything on > >> the drive. Can this

Re: List replies

2008-03-21 Thread Jonathan McKeown
On Saturday 22 March 2008 06:33, Da Rock wrote: > On Fri, 2008-03-21 at 22:38 -0500, Paul Schmehl wrote: > > --On March 22, 2008 1:10:40 PM +1000 Da Rock > > > > <[EMAIL PROTECTED]> wrote: > > > On Sat, 2008-03-22 at 02:58 +0100, Erik Trulsson wrote: > > >> On Sat, Mar 22, 2008 at 10:35:57AM +1000,

Re: freebsd

2008-03-30 Thread Jonathan McKeown
On Sunday 30 March 2008 14:25, computer tech wrote: > Secondly I am currently doing my systems page on my website and currently > doing network based systems and the operating system would be FreeBSD and a > few other distributions of linux This is the second time I've seen this misunderstanding (

Re: building a distribution server

2008-04-05 Thread Jonathan McKeown
On Saturday 05 April 2008 04:23, Steel City Phantom wrote: > i have about 10 production servers that i want to upgrade to bsd 7 and > update all their ports in one shot. the problem is the down time. im > wrapping up upgrading a 6.3 to 7 and its taken over 7 hours so far. thats > way too long fo

Re: [7.0] Openldap client

2008-04-11 Thread Jonathan McKeown
On Friday 11 April 2008 16:03, Konrad Heuer wrote: > On Fri, 11 Apr 2008, [EMAIL PROTECTED] wrote: > > > fetch: http://www.padl.com/download/nss_ldap-257.tar.gz: size mismatch: > > expected 229242, actual 229299 > > > > Anyone, can tell me, how to install openldap client on Freebsd 7-Stable ?

Re: useradd & adduser

2008-04-17 Thread Jonathan McKeown
On Thursday 17 April 2008 08:35, Ruel Luchavez wrote: > Hello, > > I keep on thinking guys what is the difference between useradd & adduser > command? Ruel You really need to start reading the documentation. FreeBSD is about the best documented operating system and environment there is, and the

Re: pw create home dir issue

2008-04-22 Thread Jonathan McKeown
On Tuesday 22 April 2008 12:54, Unga wrote: > --- Peter Boosten <[EMAIL PROTECTED]> wrote: > > > > I use [pw] without the slash: > > > > adduser -d /home -q -s /usr/local/bin/rzsh > > > > Works like charm > > There is no keyword adduser to the pw(8) :) From the manpage: The first one or two

Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account?

2008-04-30 Thread Jonathan McKeown
On Wednesday 30 April 2008 11:00, O. Hartmann wrote: > O. Hartmann wrote: > > Jonathan Chen wrote: > >> On Tue, Apr 29, 2008 at 10:07:44AM +, O. Hartmann wrote: > >>> Hello out there, > >>> my question may sound a bit weird, but the situation is as follows: > >>> > >>> I use OpenLDAP 2.4 for au

Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account?

2008-04-30 Thread Jonathan McKeown
, hst.org.za dn: cn=jfm,ou=group,dc=hst,dc=org,dc=za objectClass: posixGroup gidNumber: 1001 cn: jfm # jfm, people, hst.org.za dn: uid=jfm,ou=people,dc=hst,dc=org,dc=za objectClass: inetOrgPerson objectClass: posixAccount objectClass: extensibleObject sn: McKeown cn: Jonathan McKeo

Re: Question about a recent installation

2008-05-05 Thread Jonathan McKeown
On Tuesday 06 May 2008 00:08, Mario Vazquez wrote: > I have been using different Linux distributions for some years, and decided > to give FreeBSD a try. The install was successful, but have a question > about how the root account is made. Found that the root folder was created > with the user/gr

Re: chmod operation on directories / files

2008-05-07 Thread Jonathan McKeown
On Wednesday 07 May 2008 13:56, Zbigniew Szalbot wrote: > How do I chmod separately files and directories? > > If I use chmod -R 644 then it will go through all the subdirectories > assigning everything 644 permissions, directories including. Use the symbolic form for permissions and use X, which

Re: slapd won't start with nss_ldap.conf

2008-05-09 Thread Jonathan McKeown
On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote: > On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and > pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf > present, it just hangs and nothing in the messages or debug logs. I just > copied ldap.conf to

Re: slapd won't start with nss_ldap.conf

2008-05-09 Thread Jonathan McKeown
On Friday 09 May 2008 23:09, Robert Fitzpatrick wrote: > On Fri, 2008-05-09 at 22:44 +0200, Jonathan McKeown wrote: > > On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote: > > > On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and > > > pam_ldap, bu

Ports best practice (was Re: Imagemagick port seems broken....)

2008-05-13 Thread Jonathan McKeown
On Tuesday 13 May 2008 01:04, Johan Dowdy wrote: > Just as a best practice you might want to consider running a weekly cvsup > out of cron. I'm not sure I'd call this best practice in all cases, having taken over a network where every server OS install, and every port, used whatever had been th

Re: Unexepcted behavior from read and cat

2008-05-13 Thread Jonathan McKeown
On Monday 12 May 2008 20:59, Paul Schmehl wrote: > I created a small list of IPs that I wanted to do digs on (because I'm lazy > and don't want to do them one at a time.) [snip] > WTF? Why do these utilities, which usually read all the lines in a file > now only work once when run through dig? Is

Re: Unexepcted behavior from read and cat

2008-05-13 Thread Jonathan McKeown
On Tuesday 13 May 2008 18:23, Jonathan McKeown wrote: > > The comedy solution: > > lam -s '-x ' trydata | xargs dig +short and of course I meant iplist, not trydata: this was a cut'n'paste, and trydata is my scratch test data filename (often providing input to a

Re: Unexepcted behavior from read and cat

2008-05-13 Thread Jonathan McKeown
[respecting Time's arrow] On Tuesday 13 May 2008 20:55, Johan Dowdy wrote: > > On 5/12/08 1:55 PM, "RW" <[EMAIL PROTECTED]> wrote: > > > > cat iplist | xargs -n1 dig +short -x > > I think this one wins for brevity. It can be made shorter: http://lists.freebsd.org/mailman/listinfo/freebsd-questio

Re: Now what would you expect this to print out?

2008-05-19 Thread Jonathan McKeown
On Monday 19 May 2008 11:46, Jonathan Chen wrote: > On Mon, May 19, 2008 at 01:49:35AM -0700, Garrett Cooper wrote: > > Riddle for the day for folks that have source trees... what would you > > expect this to print out (ask yourself the question and then execute the > > command)? > > > > find

Re: Now what would you expect this to print out?

2008-05-20 Thread Jonathan McKeown
On Tuesday 20 May 2008 02:41, RW wrote: > On Mon, 19 May 2008 21:46:03 +1200 > > Jonathan Chen <[EMAIL PROTECTED]> wrote: > > On Mon, May 19, 2008 at 01:49:35AM -0700, Garrett Cooper wrote: > > > Riddle for the day for folks that have source trees... what would > > > you expect this to print out (a

Re: Now what would you expect this to print out?

2008-05-21 Thread Jonathan McKeown
On Tuesday 20 May 2008 16:44, RW wrote: > On Tue, 20 May 2008 11:33:50 +0200 > > Jonathan McKeown <[EMAIL PROTECTED]> wrote: > > On Tuesday 20 May 2008 02:41, RW wrote: > > > On Mon, 19 May 2008 21:46:03 +1200 > > > > > > Jonathan Chen <[EMAIL PR

rc script REQUIRE-ing a service on another host

2008-05-21 Thread Jonathan McKeown
We had a power failure last night, and this morning I found that imapproxyd (running on a webserver which provides webmail) had failed to start because it depends on imapd (running on the mailserver, a different host), and imapproxyd had won the startup race. I need to prevent the race by makin

Flaming mailing lists (was Re: Why Clang)

2012-06-20 Thread Jonathan McKeown
On Wednesday 20 June 2012 12:59:51 Stephen Cook wrote: > On 6/19/2012 4:06 PM, Anonymous Remailer (austria) wrote: [snip childish invective] > I'm a relative newcomer. Are the FreeBSD mailing lists always this > flame-y? I realize that this particular post might be trolling / satire No, they are

Re: Flaming mailing lists (was Re: Why Clang)

2012-06-22 Thread Jonathan McKeown
On Friday 22 June 2012 07:04:35 Bernt Hansson wrote: > > > I want to whish all a very mery Midsummer's Eve and Midsummer's Day > > http://en.wikipedia.org/wiki/Midsummer#Sweden I appreciate the sentiment but it's midwinter here ;) Jonathan ___ freebsd-q

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 pret

Re: Established method to enable suid scripts?

2011-05-12 Thread Jonathan McKeown
On Thursday 12 May 2011 16:13:50 Chris Telting wrote: > On 05/11/2011 07:14, Jerry McAllister wrote: > > On Tue, May 10, 2011 at 05:54:04PM -0700, Chris Telting wrote: > >> I've googled for over an hour. > >> > >> I'm not looking to get into a discussion on security or previous bugs > >> that are c

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 > > guar

Re: 'Using the Packages System' international

2011-08-16 Thread Jonathan McKeown
On Tuesday 16 August 2011 12:13:24 Amanda Lynn wrote: > Hi! [snip] > Regards, > Amanda Lynn > +(360) 488-0303 Google the phone number. This has cropped up here before iirc - I'm not sure exactly what the scam is, but scam it is. Jonathan ___ freebsd-qu

Re: cat sort(1) sort floating point numbers?

2011-10-03 Thread Jonathan McKeown
On Monday 03 October 2011 14:05:42 Anton Shterenlikht wrote: > I tried sorting a file with a column of floating > point numbers (below) with sort(1) -n. However, > the numbers seem to have been sorted by the first > digit only. sort -g Due to the GNU project's obsession with info (

Re: Which OS for notebook

2010-10-05 Thread Jonathan McKeown
On Tuesday 05 October 2010 13:31:08 Carmel wrote: > I have been tooling around with FreeBSD for a year or so now and I find > it incredible that there is virtually no support for modern hardware; > i.e., drivers for 'N' protocol devices. That one factor alone, and there > are others, precludes me

Re: Which OS for notebook

2010-10-05 Thread Jonathan McKeown
On Tuesday 05 October 2010 15:47:36 Pierre-Luc Drouin wrote: > On Tue, Oct 5, 2010 at 9:31 AM, Jonathan McKeown wrote: > > On Tuesday 05 October 2010 13:31:08 Carmel wrote: > > > I have been tooling around with FreeBSD for a year or so now and I find > > > it incredible

Glue records (was Re: ATTN GARY KLINE)

2010-11-05 Thread Jonathan McKeown
On Friday 05 November 2010 09:28:27 Ian Smith wrote: > But you don't always have any control of what parent nameservers do; > eg we do DNS for a .com but both NS are in .au so DNS reports always > whinge about lack of glue They should be whingeing about lack of clue (their own) unless I'm horribly

Re: Glue records (was Re: ATTN GARY KLINE)

2010-11-08 Thread Jonathan McKeown
On Friday 05 November 2010 22:51:01 Robert Bonomi wrote: > > From owner-freebsd-questi...@freebsd.org Fri Nov 5 02:26:31 2010 > > From: Jonathan McKeown > > To: freebsd-questions@freebsd.org > > Date: Fri, 5 Nov 2010 10:27:38 +0200 > > Subject: Glue re

Re: Shopping cart other than OSCommerce?

2010-12-08 Thread Jonathan McKeown
On Thursday 09 December 2010 01:07:38 Kevin Kinsey wrote: > Chuck Swiger wrote: > > You don't magically get immunity from SQL injection by using > > JDBC or EOF or whatever, but using bound variables in queries rather > > than feeding user input into raw SQL, or invoking stored procedures > > or us

Re: a perl question

2011-01-04 Thread Jonathan McKeown
On Tuesday 04 January 2011 12:32:00 S Mathias wrote: > cat asdf.txt > bla-bla > bla-bla > bla[XYZ] > importantthing > another important thing > [/XYZ] > bla-bla > bla-bla > [XYZ] > yet another thing > hello! > [/XYZ] > bla-bla > etc. > $ SOMEPERLMAGIC asdf.txt > output.txt > $ cat output.txt > impo

Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Jonathan McKeown
On Monday 10 January 2011 15:02:35 Ed Smith wrote: > This seems bizarre. Logically, it would seem better to do a split like > vim (bare vim - what you would expect) and xvim (vim with X11) similar > to how emacs does emacs/xemacs. Er, no. xemacs is a fork of emacs. emacs has X-related dependencie

Re: problem with shell script

2011-01-12 Thread Jonathan McKeown
On Wednesday 12 January 2011 17:58:33 David Scheidt wrote: > > ps ax | grep [s]lapd | wc -l > > The [] creates a one-character class that doesn't match the regex. Easier > to type and grep should be a bit faster. And you can save another process by using ps ax | grep -c '[s]lapd' Although as o

Re: Warning - FreeBSD (*BSD) entanglement in Linux ecosystem

2012-08-22 Thread Jonathan McKeown
On Wednesday 22 August 2012 15:41:05 David Jackson wrote: > So this is clearly not about "portability", FreeBSD is free to implement > these software interfaces to assure that software is portable to FreeBSD. Really? You make software portable by writing it to one environment and then changing ev

Re: cksum entire dir??

2012-09-12 Thread Jonathan McKeown
On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote: > On 12/09/2012 00:14, Polytropon wrote: > > % cksum [snip] > > That will give you a checksum on the directory inode -- file names and > associated metadata only, not file content. [snip] > Generally I find the best test for differe

Re: cksum entire dir??

2012-09-13 Thread Jonathan McKeown
On Wednesday 12 September 2012 22:29:45 Gary Kline wrote: > how, with mtree, could I tell whether dir1 == dir2 or not? From the manpage: ``The mtree utility compares the file hierarchy rooted in the current directory against a specification read from the standard input. Messages are writ

Re: building and installing world on two separate machines

2006-09-04 Thread Jonathan McKeown
On Monday 04 September 2006 08:25, Dave wrote: > Hello, > I have a machine that i want to upgrade from 5.x to 6.1. I've got a 6.1 > world built on a much faster system and would like to just install it on > this machine. I thought about nfs, but i have to drop to single user mode > to do the ma

FreeBSD installer (was Re: Newbie Experience #2)

2006-09-11 Thread Jonathan McKeown
On Monday 11 September 2006 15:56, Jud wrote: > everyone who uses FreeBSD knows that a "better" (meaning, > at least to many folks, more simplified and graphical) > installer would be nice Perhaps as an option. The problem is that you need to install a graphical environment to run a graphical i

Re: Newbie Experience

2006-09-12 Thread Jonathan McKeown
On Tuesday 12 September 2006 15:05, Jeff Rollin wrote: > That was my point, that BSD was rewritten from the ground up to avoid AT&T > patents. So whilst some might consider BSD "real unix", it's really only > "emulating" V7 with Berkeley extensions. My understanding was that it was copyright rathe

Using PC as serial terminal on running system

2006-09-13 Thread Jonathan McKeown
I'm using my laptop and tip(1) as a serial terminal. This is working well when a machine is booted with the laptop connected to its serial port. However, I need to be able to connect the laptop to a machine which was booted without a serial console. I've set the ttyd0 line in /etc/ttys and sigH

Re: Newbie Experience

2006-09-13 Thread Jonathan McKeown
On Thursday 14 September 2006 01:21, Kevin Brunelle wrote: > As for the GNU tools, yes most sysadmins use some of them (although not > always).  I know that BSD tar handles gzip and bzip2 just fine ( -z and -j > respectively).  So I know I wouldn't download gtar just for that feature. In fact, as

Re: Newbie Experience

2006-09-13 Thread Jonathan McKeown
On Thursday 14 September 2006 08:40, Chad Leigh -- Shire.Net LLC wrote: > On Sep 14, 2006, at 12:29 AM, Jonathan McKeown wrote: > > > > In fact, as I discovered a few days ago (after all, how often does > > one read tar(1)'s manpage?), you only need to use -z and -j when

Re: Using PC as serial terminal on running system

2006-09-14 Thread Jonathan McKeown
On Wednesday 13 September 2006 14:59, Jonathan McKeown wrote: > I'm using my laptop and tip(1) as a serial terminal. This is working well > when a machine is booted with the laptop connected to its serial port. > However, I need to be able to connect the laptop to a machine whic

Re: USB IrDA Adapter

2006-10-02 Thread Jonathan McKeown
On Saturday 30 September 2006 13:58, Luchezar Petkov wrote: > I really need your help. I've just brought my first USB IrDA > adapter to conncect my phone (Sony Ericsson K300i) to my computer. > It is recognized by FreeBSD (6.2 beta 1) :: > ugen0: Prolific Technology Inc. USB-Serial Controller, rev

Re: no specifc dhcpd port found

2006-10-05 Thread Jonathan McKeown
On Wednesday 04 October 2006 23:46, Noah wrote: > Hi there, > > I am unable to find the dhcpd port in /usr/ports > > where should I be looking? > > # find /usr/ports -name dhcp\* I find the easiest way to search for ports is # cd /usr/ports # make search name=dhcp | grep -A2 '^Port:' This finds

Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
I recently bought a drive caddy for an ATA hard drive. The unit is in two parts: a cassette, into which can be fitted a standard ATA hard drive, and a carrier permanently fitted into a standard drive bay. The carrier includes a power keyswitch for the drive bay. I installed it, brought the box

Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 10:38, Olivier Nicole wrote: > Hi, > > > I'm reluctant to experiment any more than I have done: the server > > the drive bay has been fitted to is our live fileserver, with 120GB > > of user data on two drives on the other ATA channel. > > I know I would take time to ins

Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 11:00, Olivier Nicole wrote: [Power down a drive bay using its built-in keyswitch and pull the disk without dropping the whole box] > Unless you need to move that disk from one machine to another, fix it > in your server, keep the tray for future testing when you will

Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 10:34, Jonathan McKeown wrote: > I recently bought a drive caddy for an ATA hard drive. The unit is in two > parts: a cassette, into which can be fitted a standard ATA hard drive, and > a carrier permanently fitted into a standard drive bay. The carrier >

Re: cheapskate webmail interface

2006-10-10 Thread Jonathan McKeown
The Subject: header has gradually grown to: > Subject: Re: RE : Re: RE : Re: RE : Re: RE : Re: cheapskate webmail interface Please, please, edit it or use an email client that does. It's in danger of getting silly now. Jonathan ___ freebsd-questions@

ports adding users

2006-10-12 Thread Jonathan McKeown
This is, I guess, a philosophical question. Twice in the last couple of weeks I have been bitten by ports adding users or groups. In setting up my laptop, I created my user account in sysinstall without creating my group. My ~ was created with the GID corresponding to my UID, but in building KD

Re: ports adding users

2006-10-14 Thread Jonathan McKeown
On Friday 13 October 2006 21:54, Lowell Gilbert wrote: > The convention is, indeed, that users get UIDs from 1000 up. This > doesn't seem to be explicitly described anywhere I can find at the > moment, but it is implemented in adduser(8) -- and the porter's > handbook requires hard-coded UIDs and

mimedefang with LDAP-enabled sendmail

2006-10-15 Thread Jonathan McKeown
I'm hoping someone can point me in the right direction. I'm running 6.1 (the security branch) with a recently-updated ports tree (1 September). I have modified /etc/make.conf to change the options for the system sendmail, by adding these lines: SENDMAIL_CFLAGS = -I/usr/local/include -DSASL=2 -D

Re: mimedefang with LDAP-enabled sendmail

2006-10-16 Thread Jonathan McKeown
On Sunday 15 October 2006 22:19, Jonathan McKeown wrote: > sendmail -d0.1 -bt > Version 8.13.6 > Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 > MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS > PIPELINING SASLv2

Re: mimedefang with LDAP-enabled sendmail

2006-10-17 Thread Jonathan McKeown
On Monday 16 October 2006 16:54, Jonathan McKeown wrote: > On Sunday 15 October 2006 22:19, Jonathan McKeown wrote: > > sendmail -d0.1 -bt > > > Version 8.13.6 > > Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 > > MIME8T

Base sendmail: undefined symbol in libmilter when -DLDAPMAP set in make.conf

2006-10-17 Thread Jonathan McKeown
This summarises the conversation I have had with myself on the list over the last few days: I'm not sure whether this is really a question or a potential PR. I am running FreeBSD-6.1-RELEASE-p5 (cvsup on 6 September). One of the source files for a rebuild of /usr/src/contrib/sendmail/libmilter

Re: Auto Create home directory

2006-10-27 Thread Jonathan McKeown
On Friday 27 October 2006 14:19, Ansar Mohammed wrote: > Hello, > I have a network based on FreeBSD and I have a centralized ldap server > running OpenLDAP. I am using ldapeditor (http://www.ldapeditor.com > ) to manage the accounts. However, ldapeditor > is a Windows p

  1   2   3   >