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 keywords

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 authetication purposes

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

2008-04-30 Thread Jonathan McKeown
dn: uid=jfm,ou=people,dc=hst,dc=org,dc=za objectClass: inetOrgPerson objectClass: posixAccount objectClass: extensibleObject sn: McKeown cn: Jonathan McKeown uidNumber: 1001 gidNumber: 1001 mail: [EMAIL PROTECTED] loginShell: /usr/local/bin/bash host: charlotte.hst.org.za host: clare.hst.org.za uid

Re: Question about a recent installation

2008-05-06 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/group

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 is

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, but cannot get slapd to start as long

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 the

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 script called try. Why isn't

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: iplist xargs -n1 dig +short -x but it fires off multiple dig

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 /usr/src

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 (ask yourself

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 PROTECTED] wrote: find /usr/src \( -name Makefile -or -name

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

Re: Circumstance leading up to removal of perl from base?

2008-06-21 Thread Jonathan McKeown
On Saturday 21 June 2008 01:02, Dan Mahoney, System Admin wrote: Hello all, I know it was a long time ago, but I was talking with a co-worker about why perl was removed from the base in v5 -- I seem to recall a discussion on some mailing list about either the number of arguments or the format

Re: what www perl script is running?

2009-08-24 Thread Jonathan McKeown
On Monday 24 August 2009 10:07:50 Olivier Nicole wrote: Is there a command like fuser or lsof which can be used to determine what files this perl instance is using? Any other ideas on how to figure out what is going on here? lsof is in the ports. and fstat(1) is in the core.

Re: what www perl script is running?

2009-08-26 Thread Jonathan McKeown
On Wednesday 26 August 2009 15:44:41 Adam Vande More wrote: [450 lines including multiple signatures and twelve levels of quoting, all to say:] Specifically what am I confused on?  Or are you just going to continue with the personal attacks?  You've offered no technical rebuttal, simply

Re: SUID permission on Bash script

2009-08-28 Thread Jonathan McKeown
On Friday 28 August 2009 10:54:19 Giorgos Keramidas wrote: On Fri, 28 Aug 2009 09:24:35 +0100, Jeronimo Calvo jeronimocal...@googlemail.com wrote: Hi folks! Im trying to set up a reaaallly basic scrip to allow one user to shutdown my machine without root permisions, seting up SUID as

Re: questions about FreeBSD

2009-09-01 Thread Jonathan McKeown
On Monday 31 August 2009 17:00:07 Jerry McAllister wrote: Same response.   Do your homework. The nature of the OP's questions strongly suggested that we are doing his homework. I'm surprised so many people spoonfed the answers rather than pointing to resources like the handbook, as the first

Re: remove newlines from a file

2009-09-02 Thread Jonathan McKeown
[Agghh. To list this time] On Tuesday 01 September 2009 20:03:19 Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all

Killfiles (was Re: reporter on deadline seeks comment about reported security...)

2009-09-17 Thread Jonathan McKeown
On Wednesday 16 September 2009 16:59:27 Paul Schmehl wrote: --On Wednesday, September 16, 2009 06:08:50 -0500 Jerry ges...@yahoo.com The backscatter is useful in a way, in that it confirms that my original reasons for applying an ignore filter on Jerry's email address still apply, but I wish a

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 slewing

Re: NTP Client synchronization with a Windows 2003/2008

2009-10-15 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 command without

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

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 those

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 during

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 never

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 wbl...@wonkity.com 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

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 dnel...@allantgroup.com 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

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

Re: Fwd: [#24525016] External USB drive causes system to hang completely

2010-05-31 Thread Jonathan McKeown
On Sunday 30 May 2010 22:29:14 Alejandro Imass wrote: Hi all, I sent a question regarding a problem with USB and I get this in reply. Can someone explain? Thanks, Alejandro Imass Yes. There's a hosting company called MidPhase whose support queue (at mpcustomer.com) has been added

Re: why does ps |grep sometimes not return itself?

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 03:30:14 Pieter de Goeje wrote: On Wednesday 09 June 2010 09:34:40 Matthew Seaman wrote: On 09/06/2010 08:15:23, Eitan Adler wrote: Why do I sometimes see the grep in ps's output and sometimes not see it? When you run that pipeline the OS doesn't start both

Midphase Hosting

2010-06-10 Thread Jonathan McKeown
) id 1OMcld-000Eww-H3 for j.mcke...@ru.ac.za; Thu, 10 Jun 2010 10:05:39 +0200 Received: by secure.mpcustomer.com (Postfix, from userid 99) id 4841C1532997; Thu, 10 Jun 2010 02:46:31 -0500 (CDT) To: Jonathan McKeown j.mcke...@ru.ac.za Subject: [#24548754] Re: why does ps |grep

Re: Midphase Hosting

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 14:06:46 Rob Farmer wrote: On Thu, Jun 10, 2010 at 4:24 AM, Matthias Fechner ide...@fechner.net wrote: Hi, Am 10.06.10 11:47, schrieb Jonathan McKeown: Subject: [#24548754] Re: why does ps |grep sometimes not return itself? Date: Thu, 10 Jun 2010 02:46:31 -0500

Re: Midphase Hosting

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 14:51:42 Rob Farmer wrote: On Thu, Jun 10, 2010 at 5:32 AM, Jonathan McKeown j.mcke...@ru.ac.za wrote: [rant about midphase hosting and mpcustomer.com] They posted in a previous thread about this, saying they couldn't unsubscribe under their address, ie. somebody

Re: Midphase Hosting

2010-06-10 Thread Jonathan McKeown
On Thursday 10 June 2010 15:04:53 Matthew Seaman wrote: The only other mechanism might be to tag each list e-mail with a unique value for each recipient in such a way that it is preserved in the message that mpcustomer.com's help system sends out. That has severe problems of scale and load

Re: Midphase Hosting

2010-06-11 Thread Jonathan McKeown
On Thursday 10 June 2010 18:30:52 Matthew Seaman wrote: On 10/06/2010 17:12:50, Jerry wrote: On Thu, 10 Jun 2010 15:12:48 +0200 Jonathan McKeown j.mcke...@ru.ac.za articulated: Isn't that called VERP (variable envelope return path)? I agree - the load it would impose isn't worth

Re: Simulate CRON

2010-06-14 Thread Jonathan McKeown
On Monday 14 June 2010 13:39:15 Carmel wrote: On Mon, 14 Jun 2010 16:41:19 +0530 Amitabh Kant amitabhk...@gmail.com articulated: On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@hotmail.com wrote: I saw a posting here months ago regarding a way to simulate running a script under CRON.

Re: Detecting fake library versions

2010-06-17 Thread Jonathan McKeown
On Thursday 17 June 2010 09:39:37 Matthew Seaman wrote: But what about hard links? I hear you ask. Simple: find /usr/lib /lib -name '*.so.*' -links +2 +1 surely? + modifier in find(1) means ``more than'', not ``at least''. Jonathan ___

Re: How to connect a jail to the web ?

2010-08-11 Thread Jonathan McKeown
On Wednesday 11 August 2010 03:07:32 Rocky Borg wrote: You should probably preface this by saying you're the author of Qjail and have been actively promoting it in a few places including the fbsd forums. That's interesting, given that you're replying to Fbsd8 fb...@a1poweruser.com. The

Re: Grepping a list of words

2010-08-13 Thread Jonathan McKeown
On Friday 13 August 2010 15:47:38 Jack L. Stone wrote: The only thing it didn't do for me was the next step. My final objective was to really determine the words in the word.file that were not in the main.file. I figured finding matches would be easy and then could then run a sort|uniq

Re: this is probably a little touchy to ask...

2010-09-15 Thread Jonathan McKeown
On Wednesday 15 September 2010 13:02:41 Jerry wrote: It took years, literally, before FreeBSD matured enough to get 64-bit drivers for nVidia working correctly on its platform. The failure to get the latest version(s) of Java working correctly on FreeBSD and thereby, at least in my case, make

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 directory [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

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

<    1   2   3