Re: Unix basics (was Re: For My Edification)

2011-05-03 Thread ill...@gmail.com
On 2 May 2011 19:37, Chris Hill ch...@monochrome.org wrote:
 On Mon, 2 May 2011, Louis Marrero wrote:

 Being familiar only with general knowledge on the Windows XP that I use
 daily, I've gone on the web to find out more information on some of the
 terms used by this programmer, such as BSD, shell terminal, nc -u,
 etc.  Since my friend knows that my computer is strictly MS Windows, when my
 friend writes down something like In a shell terminal type nc -u
 10.101.97.200 . it makes me wonder what I'm missing.

 When he says shell terminal, think command prompt. nc is netcat, but I
 didn't know Windows had that. In your friend's defense, I use Windows every
 day (at work) and I can't always remember what things are called. Especially
 since MS changes terminology every now and then, evidently just for the hell
 of it.

 1.  I know that Windows is an OS, and Linux/Unix as well as FreeBSD are
 other Operating System.  My very basic question is this: Is it even possible
 to install a second OS, like FreeBSD on an existing Windows-based computer?

 Yes. You can either set it up for dual boot - either by adding a second hard
 drive, or by partitioning your existing drive if there's space - or you can
 run another OS within a virtual machine of some sort. The latter would need
 a pretty fast machine if the guest OS is to have decent performance.

 Having said that, I found it easier to get started using an old PC that was
 too slow to run a modern Windows, but perfectly fine for a GUI-free BSD. I'm
 typing this on an old Dell that I bought on ebay.


Another possibility is to install cygwin ( http://www.cygwin.com/ )
which will give you a rather goodly number of unix/gnu programs,
though they have the unfortunate habit of defaulting to bash, and
if you install a compiler and some basic build tools a nigh-unto
infinite number of programs become available.

That said, buying an older, cheap machine to install FreeBSD on
is probably the easiest.  And who doesn't enjoy buying more stuff?

 2.  Is it possible to link my Windows laptop to a web server with Unix or
 FreeBSD and exercise Unix/Linux commands.  If so, how is that done?

 The server's admin would have to give you a shell account. Most commercial
 ISPs won't do that, but maybe your friend will.


With PuTTY, you can connect to any unix/linux/bsd machine
with sshd enabled (though you need an account on that
machine to actually log in).
( http://www.chiark.greenend.org.uk/~sgtatham/putty/ )

X forwarding onto a windows machine
( http://www.math.umn.edu/systems_guide/putty_xwin32.html )
may be best reserved for the 201 course.

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix permissions questions

2010-09-14 Thread Polytropon
On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), d...@safeport.com wrote:
 I found several directories whose permissions where set to
 
dr-s--S--T   2 user group   512 Feb 22  2010 .procmail/
 
 All were .procmail which is what we set for procmail logging and supporting 
 recipes. In reading 'man ls' it seems (to me) this might result from losing 
 the 
 execute bit on the directory. Is this correct? Been BSDing since 1995 and 
 have 
 not seen this set of permissions. Thanks for any insights.

After a short read of man ls:

s in the owner permissions = file is executable and set-user-ID mode is set

S in the group permissions = file is not executable and set-group-ID mode is 
set

T in the other permission = sticky bit is set, but not execute
  or search permission.

Result: User can execute SUID, group cannot execute, others cannot search
or execute; sticky bit is set.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix permissions questions

2010-09-14 Thread Chuck Swiger
On Sep 14, 2010, at 11:01 AM, Polytropon wrote:
 On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), d...@safeport.com wrote:
 I found several directories whose permissions where set to
 
   dr-s--S--T   2 user group   512 Feb 22  2010 .procmail/
 
 All were .procmail which is what we set for procmail logging and supporting 
 recipes. In reading 'man ls' it seems (to me) this might result from losing 
 the 
 execute bit on the directory. Is this correct? Been BSDing since 1995 and 
 have 
 not seen this set of permissions. Thanks for any insights.
 
 After a short read of man ls:
[ ... ]
 Result: User can execute SUID, group cannot execute, others cannot search
 or execute; sticky bit is set.

Except that this is a directory, not a file  :-)

A bit of experimentation suggests that chmod 7500 .procmail are the 
permissions involved, which are silly.  No group permissions enabled means 
setgid is meaningless, and I don't see any value for using the sticky bit here, 
either.  Try using 0500, 0700, or maybe 4500/4700 instead.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix permissions questions

2010-09-14 Thread doug

On Tue, 14 Sep 2010, Polytropon wrote:


On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), d...@safeport.com wrote:

I found several directories whose permissions where set to

   dr-s--S--T   2 user group   512 Feb 22  2010 .procmail/

All were .procmail which is what we set for procmail logging and supporting
recipes. In reading 'man ls' it seems (to me) this might result from losing the
execute bit on the directory. Is this correct? Been BSDing since 1995 and have
not seen this set of permissions. Thanks for any insights.


After a short read of man ls:

s in the owner permissions = file is executable and set-user-ID mode is set

S in the group permissions = file is not executable and set-group-ID mode is 
set

T in the other permission = sticky bit is set, but not execute
 or search permission.

Result: User can execute SUID, group cannot execute, others cannot search
or execute; sticky bit is set.

Thanks, I got that from the man page. My question, not stated very well, was can 
a non-root user set those permissions. If so, I obviously do not know how.


_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix permissions questions

2010-09-14 Thread doug

On Tue, 14 Sep 2010, Chuck Swiger wrote:


On Sep 14, 2010, at 11:01 AM, Polytropon wrote:

On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), d...@safeport.com wrote:

I found several directories whose permissions where set to

  dr-s--S--T   2 user group   512 Feb 22  2010 .procmail/

All were .procmail which is what we set for procmail logging and supporting
recipes. In reading 'man ls' it seems (to me) this might result from losing the
execute bit on the directory. Is this correct? Been BSDing since 1995 and have
not seen this set of permissions. Thanks for any insights.


After a short read of man ls:

[ ... ]

Result: User can execute SUID, group cannot execute, others cannot search
or execute; sticky bit is set.


Except that this is a directory, not a file  :-)

A bit of experimentation suggests that chmod 7500 .procmail are the 
permissions involved, which are silly.  No group permissions enabled means setgid is 
meaningless, and I don't see any value for using the sticky bit here, either.  Try using 
0500, 0700, or maybe 4500/4700 instead.


thanks all - the context of this: the users involved do not know what the chmod 
command is much less its syntax and I did not do this. What I was going for was 
could this be a procmail bug or perhaps something more alarming (to me as a 
sysadmin).


_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix permissions questions

2010-09-14 Thread Polytropon
On Tue, 14 Sep 2010 11:04:58 -0700, Chuck Swiger cswi...@mac.com wrote:
 On Sep 14, 2010, at 11:01 AM, Polytropon wrote:
  On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), d...@safeport.com wrote:
  I found several directories whose permissions where set to
  
dr-s--S--T   2 user group   512 Feb 22  2010 .procmail/
  
  All were .procmail which is what we set for procmail logging and 
  supporting 
  recipes. In reading 'man ls' it seems (to me) this might result from 
  losing the 
  execute bit on the directory. Is this correct? Been BSDing since 1995 and 
  have 
  not seen this set of permissions. Thanks for any insights.
  
  After a short read of man ls:
 [ ... ]
  Result: User can execute SUID, group cannot execute, others cannot search
  or execute; sticky bit is set.
 
 Except that this is a directory, not a file  :-)

Thanks, I forgot to include that in my summary. :-)

In this case, I wanted to say that the user can chdir / search that
directory.



 A bit of experimentation suggests that chmod 7500 .procmail are the
 permissions involved, which are silly.  No group permissions enabled
 means setgid is meaningless, and I don't see any value for using the
 sticky bit here, either.  Try using 0500, 0700, or maybe 4500/4700 instead.

I would think that's what the permissions should be - it roughly is
equivalent to what a file with a similar purpose would look like for
a (user's) private .procmail/ directory.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix permissions questions

2010-09-14 Thread Chuck Swiger
On Sep 14, 2010, at 11:16 AM, d...@safeport.com wrote:
 A bit of experimentation suggests that chmod 7500 .procmail are the 
 permissions involved, which are silly.  No group permissions enabled means 
 setgid is meaningless, and I don't see any value for using the sticky bit 
 here, either.  Try using 0500, 0700, or maybe 4500/4700 instead.
 
 thanks all - the context of this: the users involved do not know what the 
 chmod command is much less its syntax and I did not do this. What I was going 
 for was could this be a procmail bug or perhaps something more alarming (to 
 me as a sysadmin).

The permissions here are unexpected.  procmail cares about clearing group and 
other permissions-- unless GROUP_PER_USER is set (cf 
http://partmaps.org/era/procmail/mini-faq.html#group-writable), which usually 
would be appropriate for FreeBSD since it encourages all userids to also have a 
corresponding groupid.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix admin incident levels

2009-03-23 Thread Glen Barber
On Mon, Mar 23, 2009 at 4:47 PM, Vasadi I. Claudiu Florin
claudiu.vas...@gmail.com wrote:
 Senior Network  Unix/Linux Administrator Lever 3/4 incidents

Typically, Level 1 would be a Help Desk / Backup Operator type
position.  Level 3/4 would be actual administration.  (The fun stuff.
:) )

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix admin incident levels

2009-03-23 Thread Kurt Buff
At a guess, it's a SAGE designation.

Try perusing http://www.sage.org

Kurt

On Mon, Mar 23, 2009 at 13:47, Vasadi I. Claudiu Florin
claudiu.vas...@gmail.com wrote:

 Hello,

 This is probably not the best place for this type of question, but here goes
 anyway:

 Senior Network  Unix/Linux Administrator Lever 3/4 incidents

 Now, that level thinghy I was unable to find on the web what exactly it
 means. I mean is level 4 the worst or the easyest ? Or maybe that easy/worst
 terminology isn't quite the best used.


 Gimme a hint pls.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix admin incident levels

2009-03-23 Thread Vasadi I. Claudiu Florin
On Mon, 23 Mar 2009 22:51:29 +0200, Glen Barber glen.j.bar...@gmail.com  
wrote:


 Level 3/4 would be actual administration.  (The fun stuff.

:) )



Then let's give it a go. cv on the way then. I mean, we cannot live just  
with aer/watter, we need some fun now don't we lads ? :P


thx for the hints.


Best regards,
Claudius
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix admin incident levels

2009-03-23 Thread Wojciech Puchar

anyway:

Senior Network  Unix/Linux Administrator Lever 3/4 incidents

Now, that level thinghy I was unable to find on the web what exactly it 
means. I mean is level 4 the worst or the easyest ? Or maybe that easy/worst 
terminology isn't quite the best used.


probably you should ask who wrote this ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix admin incident levels

2009-03-23 Thread Vasadi I. Claudiu Florin



probably you should ask who wrote this ;)



lol, will do that if I can get to an interview :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unix admin incident levels

2009-03-23 Thread Polytropon
On Tue, 24 Mar 2009 00:00:56 +0200, Vasadi I. Claudiu Florin 
claudiu.vas...@gmail.com wrote:
 lol, will do that if I can get to an interview :)

Prepare for other important questions, like

If you were a hot dog, would you eat yourself?

or even

Him: Describe yourself in two words.
Me: Innovative and Creative.
Him: Can you explain what you mean by that?
Me: But you said two words...

From SA's Dumb Interview Questions, page 3, via
http://www.somethingawful.com/d/comedy-goldmine/dumb-interview-questions.php

:-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unix disk utility similar to Victoria ?

2009-02-24 Thread Chad Perrin
On Sat, Jan 31, 2009 at 07:27:38PM +, Dieter wrote:
 Does anyone know of a Unix utility that can do
 a scan of connected devices regardless of BIOS status
 similar to Victoria ?  The BUSY state is of particular
 interest.  GUI not required.  I tried google, no joy.
 
 http://www.msfn.org/board/index.php?showtopic=129263

It's disappointing that I haven't seen any responses to this.  I'm
curious about the existence of such tools as well.  Have you gotten any
answers off-list that you can share with those of us on the list who
might also like to know?

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Robert Martin: Would you rather Test-First, or Debug-Later?


pgpfYde3cXw1f.pgp
Description: PGP signature


Re: Unix Epoch

2009-02-14 Thread Wojciech Puchar

  On 13.02.2009 at exactly 23:31:30 (UTC), Unix time was equal to
  '1234567890'. This was the total time that has been elapsed since 1
  januari 1970 0:00 UTC. After having survived from a major headache
  (...) I wonder whether this can technically affect my system or is it
  just a milestone in history?


just a milestone ;)


  Jos Chrispijn



References

  Visible links
  Hidden links:
  1. http://en.wikipedia.org/wiki/Unix_time#cite_note-0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unix Epoch

2009-02-14 Thread Andrew Gould
On Sat, Feb 14, 2009 at 2:32 AM, Jos Chrispijn j...@webrz.net wrote:

 On 13.02.2009 at exactly 23:31:30 (UTC), Unix time was equal to
 '1234567890'. This was the total time that has been elapsed since 1 januari
 1970 0:00 UTC. After having survived from a major headache (...) I wonder
 whether this can technically affect my system or is it just a milestone in
 history?

 Jos Chrispijn
 ___


It is my understanding that this event resulted in a certain amount of
alcohol consumption yesterday.  It is possible, therefore, depending on how
you define technically affect, that certain systems may experience
certain..inefficiencies today.  Your mileage may vary.  ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unix program that sends email directly using MX record

2008-11-30 Thread Ott Köstner

Peter Boosten wrote:


The most recent vulnerabilities of Postfix are from August and September
2008, and I still use it. Also I use (with great happyness) Sendmail on
two machines, without any problems. The only problem ever caused was by
clamav.

  
Would be interesting to know, what kind of problems have been there with 
CLAMAV?
Just to be aware. I am currently using clamav /index.php/Clamav-0.94.2 
on some FreeBSD computers.


Regards,
O.K.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-30 Thread Peter Boosten



On 30 nov 2008, at 13:51, Ott Köstner [EMAIL PROTECTED] wrote:


Peter Boosten wrote:

The most recent vulnerabilities of Postfix are from August and  
September
2008, and I still use it. Also I use (with great happyness)  
Sendmail on
two machines, without any problems. The only problem ever caused  
was by

clamav.


Would be interesting to know, what kind of problems have been there  
with CLAMAV?
Just to be aware. I am currently using clamav /index.php/ 
Clamav-0.94.2 on some FreeBSD computers.




It has been some time ago, on openbsd, and the problem existed between  
clamscan vs clamdscan. Never had any problems with clamav from the  
ports in freebsd.


Peter
--
HTTP://www.boosten.org___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-30 Thread Sahil Tandon
Ott K?stner [EMAIL PROTECTED] wrote:

 Peter Boosten wrote:

 The most recent vulnerabilities of Postfix are from August and September
 2008, and I still use it. Also I use (with great happyness) Sendmail on
 two machines, without any problems. The only problem ever caused was by
 clamav.

 Would be interesting to know, what kind of problems have been there with 
 CLAMAV?

None whatsoever.  I have used it for several years on FreeBSD without
incident.  There are, from time to time, some security vulnerabilities,
but they are handled swiftly by both the clamav developers and the
security/clamav port maintainer.

-- 
Sahil Tandon [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-29 Thread Dan
Jerry McAllister([EMAIL PROTECTED])@2008.11.24 14:38:19 -0500:
 On Mon, Nov 24, 2008 at 12:36:50PM -0500, Dan wrote:
 
  Kelly Jones([EMAIL PROTECTED])@2008.11.22 14:16:56 -0700:
   What Unix program sends email directly, using the MX record of the
   recipient, instead of using sendmail or an installed MTA?
  
  Sendmail/Sendwhale sucks for just about anything. There are much better
  MTAs out there. For your needs, I think 'nullmailer' from Bruce Guenter
   would fit the bill and so would qmail in nullmailer mode. Postfix as well.
 
 Heavily prejudicial response.I haven't had any trouble using
 Sendmail for just about anything.But, whatever.

It's not prejudicial. I do not wish to start yet another MTA flamewar,
but you can't deny Sendmail's poor security, design, performance, and
complex configuration. The poor security history is there, the poor
funnel design and conf files that require a scripting language are
obviously ugly. Sendmail is often replaced due to performance concerns
alone. There are much better alternatives. qmail and Postfix.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-29 Thread Peter Boosten
On 29 nov 2008, at 17:03, Dan [EMAIL PROTECTED]  
wrote:








It's not prejudicial. I do not wish to start yet another MTA flamewar,
but you can't deny Sendmail's poor security, design, performance, and
complex configuration. The poor security history is there, the poor
funnel design and conf files that require a scripting language are
obviously ugly.


Yeah, in 1845 it was. Sendmail is as secure as any other mta. And  
using m4, configuring is poc.


Peter

--
HTTP://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-29 Thread Dan
Peter Boosten([EMAIL PROTECTED])@2008.11.29 17:34:28 +0100:
 It's not prejudicial. I do not wish to start yet another MTA flamewar,
 but you can't deny Sendmail's poor security, design, performance, and
 complex configuration. The poor security history is there, the poor
 funnel design and conf files that require a scripting language are
 obviously ugly.

 Yeah, in 1845 it was. Sendmail is as secure as any other mta. And using 

Simply not true. Sendmail has had TONS of remote vulnerabilities. Many
people have fallen victims to exploits and had their servers rooted.

The recent one is of 20006.
http://web.nvd.nist.gov/view/vuln/detail?execution=e2s1

qmail has never had a remote root vulnerability or a similar flaw
because it's designed with security in mind. Sendmail never was.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-29 Thread Peter Boosten


Dan wrote:
 Peter Boosten([EMAIL PROTECTED])@2008.11.29 17:34:28 +0100:
 It's not prejudicial. I do not wish to start yet another MTA flamewar,
 but you can't deny Sendmail's poor security, design, performance, and
 complex configuration. The poor security history is there, the poor
 funnel design and conf files that require a scripting language are
 obviously ugly.
 Yeah, in 1845 it was. Sendmail is as secure as any other mta. And using 
 
 Simply not true. Sendmail has had TONS of remote vulnerabilities. Many
 people have fallen victims to exploits and had their servers rooted.
 
 The recent one is of 20006.
 http://web.nvd.nist.gov/view/vuln/detail?execution=e2s1

Hmmm: ERROR, null is not valid. The CVE either does not exist or is
not in the format of CVE-XXX-.

The most recent vulnerabilities of Postfix are from August and September
2008, and I still use it. Also I use (with great happyness) Sendmail on
two machines, without any problems. The only problem ever caused was by
clamav.

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-25 Thread Ross Cameron
Sendmail/Postfix/Exim/et al should suffice.
Take ure pick and use the one who's conf file you prefer.

On Sat, Nov 22, 2008 at 11:16 PM, Kelly Jones
[EMAIL PROTECTED] wrote:
 What Unix program sends email directly, using the MX record of the
 recipient, instead of using sendmail or an installed MTA?

 I realize I could tweak sendmail.cf/etc to do this, but that's not
 working in my (fairly unusual) special situation.

 I also realize that sending email directly is normally bad, but I'm
 testing something.

 --
 We're just a Bunch Of Regular Guys, a collective group that's trying
 to understand and assimilate technology. We feel that resistance to
 new ideas and technology is unwise and ultimately futile.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-24 Thread Dan
Kelly Jones([EMAIL PROTECTED])@2008.11.22 14:16:56 -0700:
 What Unix program sends email directly, using the MX record of the
 recipient, instead of using sendmail or an installed MTA?

Sendmail/Sendwhale sucks for just about anything. There are much better
MTAs out there. For your needs, I think 'nullmailer' from Bruce Guenter
 would fit the bill and so would qmail in nullmailer mode. Postfix as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-24 Thread Jerry McAllister
On Mon, Nov 24, 2008 at 12:36:50PM -0500, Dan wrote:

 Kelly Jones([EMAIL PROTECTED])@2008.11.22 14:16:56 -0700:
  What Unix program sends email directly, using the MX record of the
  recipient, instead of using sendmail or an installed MTA?
 
 Sendmail/Sendwhale sucks for just about anything. There are much better
 MTAs out there. For your needs, I think 'nullmailer' from Bruce Guenter
  would fit the bill and so would qmail in nullmailer mode. Postfix as well.

Heavily prejudicial response.I haven't had any trouble using
Sendmail for just about anything.But, whatever.

jerry


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-24 Thread Wojciech Puchar

recipient, instead of using sendmail or an installed MTA?


Sendmail/Sendwhale sucks for just about anything. There are much better

as i like programs that sucks, i use sendmail everywhere.

it's perfect
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix program that sends email directly using MX record

2008-11-22 Thread Bill Moran
On Sat, 22 Nov 2008 14:16:56 -0700
Kelly Jones [EMAIL PROTECTED] wrote:

 What Unix program sends email directly, using the MX record of the
 recipient, instead of using sendmail or an installed MTA?
 
 I realize I could tweak sendmail.cf/etc to do this, but that's not
 working in my (fairly unusual) special situation.
 
 I also realize that sending email directly is normally bad, but I'm
 testing something.

See if ssmtp in ports does what you need.

If that's still not direct enough, there's always telnet.  SMTP conversations
aren't really that difficult to simulate.

-Bill
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix command-line tools to edit SharePoint site?

2008-05-29 Thread Chris Whitehouse

Kurt Buff wrote:

On Wed, May 28, 2008 at 4:01 PM, Chris Whitehouse [EMAIL PROTECTED] wrote:

Kurt Buff wrote:

On Sat, May 24, 2008 at 3:35 PM, Chris Whitehouse [EMAIL PROTECTED]
wrote:



http://unxutils.sourceforge.net/

Chris

If you want to use some/many/most of the core utils on Windows, you'll
be much better off with http://gnuwin32.sourceforge.net

unxutils seems pretty moribund, and I have not been successful
downloading the updates from that site for a while.

Kurt

I'll have a look at these, thanks for the suggestion. I have to say though
the unxutils commands that I have used work perfectly well despite their
age, don't require cygwin and don't do silly registry things on windows. I
need this as I'm using them on a work computer which I am not allowed to
install software on :P

Chris


The unxutils work well, but the gnuwin32 stuff is a bit more current,
and more complete. They don't require any registry fiddling nor extra
DLLs, either, just like the unxutils stuff. I stick them in a
directory, and set my path up with that. Works well for me, anyway.


HTH,

Kurt



Cool! I will definitely check these out, thanks.

(Sorry list, OT)

Chris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix command-line tools to edit SharePoint site?

2008-05-28 Thread Chris Whitehouse

Kurt Buff wrote:

On Sat, May 24, 2008 at 3:35 PM, Chris Whitehouse [EMAIL PROTECTED] wrote:

Kelly Jones wrote:

I begrudgingly use a Windows SharePoint server at a customer's request.

I'd like to automate (command-line) updating and creating documents,
lists, etc.

Is there a Unix tool that does this?

I know SharePoint has an API, which basically spoofs the GET/POST
calls that your browser would make(?).

Has anyone written a Unix command-line tool (or Perl module, etc) that
abstracts this?

Is this what you want?

http://unxutils.sourceforge.net/

Chris


If you want to use some/many/most of the core utils on Windows, you'll
be much better off with http://gnuwin32.sourceforge.net

unxutils seems pretty moribund, and I have not been successful
downloading the updates from that site for a while.

Kurt


I'll have a look at these, thanks for the suggestion. I have to say 
though the unxutils commands that I have used work perfectly well 
despite their age, don't require cygwin and don't do silly registry 
things on windows. I need this as I'm using them on a work computer 
which I am not allowed to install software on :P


Chris







No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 269.24.1/1469 - Release Date: 5/27/2008 1:25 PM


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix command-line tools to edit SharePoint site?

2008-05-28 Thread Kurt Buff
On Wed, May 28, 2008 at 4:01 PM, Chris Whitehouse [EMAIL PROTECTED] wrote:
 Kurt Buff wrote:

 On Sat, May 24, 2008 at 3:35 PM, Chris Whitehouse [EMAIL PROTECTED]
 wrote:

 Kelly Jones wrote:

 I begrudgingly use a Windows SharePoint server at a customer's request.

 I'd like to automate (command-line) updating and creating documents,
 lists, etc.

 Is there a Unix tool that does this?

 I know SharePoint has an API, which basically spoofs the GET/POST
 calls that your browser would make(?).

 Has anyone written a Unix command-line tool (or Perl module, etc) that
 abstracts this?

 Is this what you want?

 http://unxutils.sourceforge.net/

 Chris

 If you want to use some/many/most of the core utils on Windows, you'll
 be much better off with http://gnuwin32.sourceforge.net

 unxutils seems pretty moribund, and I have not been successful
 downloading the updates from that site for a while.

 Kurt

 I'll have a look at these, thanks for the suggestion. I have to say though
 the unxutils commands that I have used work perfectly well despite their
 age, don't require cygwin and don't do silly registry things on windows. I
 need this as I'm using them on a work computer which I am not allowed to
 install software on :P

 Chris

The unxutils work well, but the gnuwin32 stuff is a bit more current,
and more complete. They don't require any registry fiddling nor extra
DLLs, either, just like the unxutils stuff. I stick them in a
directory, and set my path up with that. Works well for me, anyway.


HTH,

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix command-line tools to edit SharePoint site?

2008-05-24 Thread Derek Ragona

At 02:58 PM 5/24/2008, Kelly Jones wrote:

I begrudgingly use a Windows SharePoint server at a customer's request.

I'd like to automate (command-line) updating and creating documents,
lists, etc.

Is there a Unix tool that does this?

I know SharePoint has an API, which basically spoofs the GET/POST
calls that your browser would make(?).

Has anyone written a Unix command-line tool (or Perl module, etc) that
abstracts this?


Get cygwin:
http://www.cygwin.com/

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Unix command-line tools to edit SharePoint site?

2008-05-24 Thread Tobias Hoellrich
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Jones
 Sent: Saturday, May 24, 2008 1:58 PM
 To: freebsd-questions@freebsd.org
 Subject: Unix command-line tools to edit SharePoint site?
 
 I begrudgingly use a Windows SharePoint server at a 
 customer's request.
 
 I'd like to automate (command-line) updating and creating documents,
 lists, etc.
 
 Is there a Unix tool that does this?
 
 I know SharePoint has an API, which basically spoofs the GET/POST
 calls that your browser would make(?).
 
 Has anyone written a Unix command-line tool (or Perl module, etc) that
 abstracts this?

Kelly - HTTP::WebDav is your friend. It allows you to access your
SharePoint site from perl. You can retrieve data and store data. Also
take a look at hits perl-snippet:
http://www.perlmonks.org/index.pl?node_id=612797

Hope this helps
  Tobias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix command-line tools to edit SharePoint site?

2008-05-24 Thread Chris Whitehouse

Kelly Jones wrote:

I begrudgingly use a Windows SharePoint server at a customer's request.

I'd like to automate (command-line) updating and creating documents,
lists, etc.

Is there a Unix tool that does this?

I know SharePoint has an API, which basically spoofs the GET/POST
calls that your browser would make(?).

Has anyone written a Unix command-line tool (or Perl module, etc) that
abstracts this?






No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 269.24.1/1463 - Release Date: 5/23/2008 3:36 PM

Is this what you want?

http://unxutils.sourceforge.net/

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-05 Thread Zane C.B.
On Mon, 4 Feb 2008 15:36:30 +0100
Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote:

 Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.:
  I've come across that mentioned in unix(4). There is no support
  for it in regards to Perl. Another problem is it requires support
  for that on both ends.
 
  More and more it looks like getting either PID and/or user info
  about the other process connecting up to it is impossible, with
  out writing some sort of authentication system for the two to use
  or both ends have to support the LOCAL_CREDS stuff.
 
 I cannot believe that this doesn't exist for Perl (everything
 exists for Perl in one way or another...), and anyway, a quick
 search on CPAN found this, which looks as though it's (at least
 part of) what you're looking for:
 
 http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm
 
 Finally, thinking back to the last time I used SCM_CREDS on Linux
 (which is a lng time ago), I'm not even sure that the sender
 has to send an SCM_CREDS message (which would invalidate my former
 reply); I think it's enough if the receiver requests to get one
 (which will be filled in by the kernel), see the description in the
 referenced page above which shows you how to set up the
 corresponding recvmsg call.
 
 Sending one is only required in case the sender is root and wants
 to spoof it's credentials to the remote process (IIRC).

Been spending a bit of time messing around with it and it appears to
be broken.


I've tried various things, but it does not seem to fetch any thing.


#!/usr/bin/perl

use Socket::MsgHdr;
use Socket;
use IO::Socket::UNIX;

unlink(/tmp/testsocket);

my $listen_socket = new IO::Socket::UNIX( Local = /tmp/testsocket,
Listen=1);

while(my $conn = $listen_socket-accept){
my $inHdr = Socket::MsgHdr-new(buflen=8192, namelen=256);

recvmsg($conn, $inHdr, LOCAL_CREDS);

my $creds=$conn-sockopt(LOCAL_CREDS);
print $creds;

my @cmsg = $inHdr-cmsghdr();
$conn-send($#cmsg.\n);
while (my ($level, $type, $data) = splice(@cmsg, 0, 3)) {
$conn-send($level.\n.
$type.\n.
$data.\n\n);
}

$conn-close;
};
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-05 Thread Heiko Wundram (Beenic)
Am Dienstag, 5. Februar 2008 15:28:26 schrieb Zane C.B.:
 snip

As far as I understand the code you've written, that won't work, because 
you're tying to send/receive the ancilliary messages as socket data, and not 
as a separate message.

Additionally, I don't program any Perl (left that for good about eight years 
ago), and as such, I won't be of much help putting something together in Perl 
to do what you want.

If you're interested in C code that works (possibly to ask someone more 
proficient in Perl to translate that), just tell me, and I'll hack something 
together.

-- 
Heiko Wundram
Product  Application Development
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-05 Thread Heiko Wundram (Beenic)
Am Dienstag, 5. Februar 2008 15:28:26 schrieb Zane C.B.:
 snip

And, on another note, you might be interested in

/usr/src/lib/libc/gen/getpeereid.c

which implements a function that (internally) uses a socket option (no need to 
mess with ancilliary messages) to retrieve the value you're looking for. 
getsockopt() is surely directly exposed in Perl.

-- 
Heiko Wundram
Product  Application Development
-
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon+49 511 / 590 935 - 15
Fax+49 511 / 590 935 - 29
Mobil  +49 172 / 43 737 34
Mail   [EMAIL PROTECTED]


Beenic Networks GmbH
-
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-04 Thread Zane C.B.
On Mon, 4 Feb 2008 05:33:22 -0600 (CST)
Scott Bennett [EMAIL PROTECTED] wrote:

  On Mon, 4 Feb 2008 04:30:21 -0600 Zane C.B.
  [EMAIL PROTECTED]
 wrote:
 Been starting to look into writing some stuff that uses unix domain
 sockets, but I've been running into the problem of figuring out
 what the calling PID is on the other end.
 
 Any suggestions on where I should begin to look?
 
  Sure.  Take a look at the man pages for fork(2), vfork(2), and
 fork(3f).
 
 As it currently stands, I am looking at doing this with perl.
 
  In that case, take a look at perlfork(1), too.

I am a bit lost on what fork has to do with the question.

Currently have found there is no method for figuring what PID it is.
I've found there is support for figuring out what user it is,
according to unix(4), but there appears to way to get to using any of
the existing perl modules for unix domain sockets.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-04 Thread Heiko Wundram (Beenic)
Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.:
 I've come across that mentioned in unix(4). There is no support for
 it in regards to Perl. Another problem is it requires support for
 that on both ends.

 More and more it looks like getting either PID and/or user info about
 the other process connecting up to it is impossible, with out writing
 some sort of authentication system for the two to use or both ends
 have to support the LOCAL_CREDS stuff.

I cannot believe that this doesn't exist for Perl (everything exists for Perl 
in one way or another...), and anyway, a quick search on CPAN found this, 
which looks as though it's (at least part of) what you're looking for:

http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm

Finally, thinking back to the last time I used SCM_CREDS on Linux (which is a 
lng time ago), I'm not even sure that the sender has to send an SCM_CREDS 
message (which would invalidate my former reply); I think it's enough if the 
receiver requests to get one (which will be filled in by the kernel), see the 
description in the referenced page above which shows you how to set up the 
corresponding recvmsg call.

Sending one is only required in case the sender is root and wants to spoof 
it's credentials to the remote process (IIRC).

-- 
Heiko Wundram
Product  Application Development
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-04 Thread Zane C.B.
On Mon, 4 Feb 2008 12:54:44 +0100
Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote:

 Am Montag, 4. Februar 2008 11:30:21 schrieb Zane C.B.:
  Been starting to look into writing some stuff that uses unix
  domain sockets, but I've been running into the problem of
  figuring out what the calling PID is on the other end.
 
  Any suggestions on where I should begin to look?
 
  As it currently stands, I am looking at doing this with perl.
 
 Check out man 3 sendmsg and man 3 recvmsg (which should be wrapped
 in Perl in some way or another), and passing SCM_CREDS messages
 between the two processes. The SCM_CREDS message is filled in my
 the kernel, so there's no way (unless the other side is root) to
 spoof the credentials information.
 
 This requires that the sending end willingly sends SCM_CREDS (and
 the receiver uses recvmsg to query for it), and sends at least one
 byte of data along with the ancilliary message.

I've come across that mentioned in unix(4). There is no support for
it in regards to Perl. Another problem is it requires support for
that on both ends.

More and more it looks like getting either PID and/or user info about
the other process connecting up to it is impossible, with out writing
some sort of authentication system for the two to use or both ends
have to support the LOCAL_CREDS stuff.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-04 Thread Heiko Wundram (Beenic)
Am Montag, 4. Februar 2008 11:30:21 schrieb Zane C.B.:
 Been starting to look into writing some stuff that uses unix domain
 sockets, but I've been running into the problem of figuring out what
 the calling PID is on the other end.

 Any suggestions on where I should begin to look?

 As it currently stands, I am looking at doing this with perl.

Check out man 3 sendmsg and man 3 recvmsg (which should be wrapped in Perl in 
some way or another), and passing SCM_CREDS messages between the two 
processes. The SCM_CREDS message is filled in my the kernel, so there's no 
way (unless the other side is root) to spoof the credentials information.

This requires that the sending end willingly sends SCM_CREDS (and the receiver 
uses recvmsg to query for it), and sends at least one byte of data along with 
the ancilliary message.

-- 
Heiko Wundram
Product  Application Development
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-04 Thread Scott Bennett
 On Mon, 4 Feb 2008 04:30:21 -0600 Zane C.B. [EMAIL PROTECTED]
wrote:
Been starting to look into writing some stuff that uses unix domain
sockets, but I've been running into the problem of figuring out what
the calling PID is on the other end.

Any suggestions on where I should begin to look?

 Sure.  Take a look at the man pages for fork(2), vfork(2), and
fork(3f).

As it currently stands, I am looking at doing this with perl.

 In that case, take a look at perlfork(1), too.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-04 Thread Zane C.B.
On Mon, 4 Feb 2008 15:36:30 +0100
Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote:

 Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.:
  I've come across that mentioned in unix(4). There is no support
  for it in regards to Perl. Another problem is it requires support
  for that on both ends.
 
  More and more it looks like getting either PID and/or user info
  about the other process connecting up to it is impossible, with
  out writing some sort of authentication system for the two to use
  or both ends have to support the LOCAL_CREDS stuff.
 
 I cannot believe that this doesn't exist for Perl (everything
 exists for Perl in one way or another...), and anyway, a quick
 search on CPAN found this, which looks as though it's (at least
 part of) what you're looking for:
 
 http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm
 
 Finally, thinking back to the last time I used SCM_CREDS on Linux
 (which is a lng time ago), I'm not even sure that the sender
 has to send an SCM_CREDS message (which would invalidate my former
 reply); I think it's enough if the receiver requests to get one
 (which will be filled in by the kernel), see the description in the
 referenced page above which shows you how to set up the
 corresponding recvmsg call.
 
 Sending one is only required in case the sender is root and wants
 to spoof it's credentials to the remote process (IIRC).

Thanks. I did not think to try a search for that. I was trying
various combinations involving the word unix and socket.

I've gotten it installed now and will post with how it works out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-04 Thread Zane C.B.
On Mon, 4 Feb 2008 13:38:37 -0600
Zane C.B. [EMAIL PROTECTED] wrote:

 On Mon, 4 Feb 2008 15:36:30 +0100
 Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote:
 
  Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.:
   I've come across that mentioned in unix(4). There is no support
   for it in regards to Perl. Another problem is it requires
   support for that on both ends.
  
   More and more it looks like getting either PID and/or user info
   about the other process connecting up to it is impossible, with
   out writing some sort of authentication system for the two to
   use or both ends have to support the LOCAL_CREDS stuff.
  
  I cannot believe that this doesn't exist for Perl (everything
  exists for Perl in one way or another...), and anyway, a quick
  search on CPAN found this, which looks as though it's (at least
  part of) what you're looking for:
  
  http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm
  
  Finally, thinking back to the last time I used SCM_CREDS on Linux
  (which is a lng time ago), I'm not even sure that the sender
  has to send an SCM_CREDS message (which would invalidate my former
  reply); I think it's enough if the receiver requests to get one
  (which will be filled in by the kernel), see the description in
  the referenced page above which shows you how to set up the
  corresponding recvmsg call.
  
  Sending one is only required in case the sender is root and wants
  to spoof it's credentials to the remote process (IIRC).
 
 Thanks. I did not think to try a search for that. I was trying
 various combinations involving the word unix and socket.
 
 I've gotten it installed now and will post with how it works out.

I can say it installs mostly fine. A few tests do not pass. I am
still working on getting a working test script with it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix/sh/bash/tcsh command to limit clock time for program?

2006-12-26 Thread John Levine
Is there a Unix or shell command that runs a given program for n
seconds and then terminates it (unless the program takes less than n
seconds to run, obviously)?

  some-command sleep 42; kill -9 $!

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX System Certification Programs

2005-10-21 Thread Erik Norgaard

On Fri, 21 Oct 2005, Martin McCormick wrote:


As part of the formalization process for our carreer paths,
our organization is wanting us to be certified in our areas of expertise as part
of any on-going carreer path.  Since I do all my work in Linux and
FreeBSD, what sorts of programs are there that would be similar to the
Microsoft certifications which are extremely common in the Windows world?


For linux you will probably find distribution specific 
certification programs such as Red Hat Certisfied Whatever. For 
BSD there are currently two initatives under way,


  bsdcertification.org and bsdcertification.com


Please tell me any thoughts you might have.  Stating that I've
been messing around with UNIX systems for about 14 years probably
won't get me very far.:-)


Don't underestimate the value of experience! It is well known that 
there is a vast number of paper certificates, proveable experience 
is worth more than some unknown certificate.


When companies like certificates it's because they can tell their 
clients that their employees are certisfied to do the job. But 
for inhouse tasks experience is worth far more.


Cheers, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: UNIX System Certification Programs

2005-10-21 Thread Bob Middaugh
 
If you need a cert just to get a cert, and Linux is appropriate, I
think Red Hat has an offering that would probably be considered
industry standard.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik
Norgaard
Sent: Friday, October 21, 2005 11:08 AM
To: Martin McCormick
Cc: freebsd-questions@freebsd.org
Subject: Re: UNIX System Certification Programs

On Fri, 21 Oct 2005, Martin McCormick wrote:

   As part of the formalization process for our carreer paths,
our 
 organization is wanting us to be certified in our areas of expertise

 as part of any on-going carreer path.  Since I do all my work in
Linux 
 and FreeBSD, what sorts of programs are there that would be similar
to 
 the Microsoft certifications which are extremely common in the
Windows world?

For linux you will probably find distribution specific certification
programs such as Red Hat Certisfied Whatever. For BSD there are
currently two initatives under way,

   bsdcertification.org and bsdcertification.com

   Please tell me any thoughts you might have.  Stating that I've
been 
 messing around with UNIX systems for about 14 years probably won't
get 
 me very far.:-)

Don't underestimate the value of experience! It is well known that
there is a vast number of paper certificates, proveable experience is
worth more than some unknown certificate.

When companies like certificates it's because they can tell their
clients that their employees are certisfied to do the job. But for
inhouse tasks experience is worth far more.

Cheers, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix equivalent of a variant??

2005-02-03 Thread Jay Moore
On Tuesday 01 February 2005 10:43 am, Jonathon McKitrick wrote:
 Hey everyone,

 I'm finally doing something very exciting here at work: porting software to
 Unix!

 I need the equivalent of a variant, however.  A hold-everything variable
 that can be any type in C/C++.  Is there something already out there I can
 use or should I just roll my own?

I think you should read and understand MS' documentation on the variant data 
type before you spend much time trying to code this for *nix.  IIRC, the 
Variant data type is limited to development environments like Visual Basic.  
I'm thinking there must be an awful lot of overhead associated with handling 
a Variant data type, as every use of it must figure out what the real 
datat type is. I don't know what your objective is, and certainly don't 
pretend to tell you this shouldn't be done, but - just because MS has done 
it, does not mean it is a good thing to do in general.

Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix equivalent of a variant??

2005-02-03 Thread John
On Thu, Feb 03, 2005 at 05:21:41AM -0600, Jay Moore wrote:
 On Tuesday 01 February 2005 10:43 am, Jonathon McKitrick wrote:
  Hey everyone,
 
  I'm finally doing something very exciting here at work: porting software to
  Unix!
 
  I need the equivalent of a variant, however.  A hold-everything variable
  that can be any type in C/C++.  Is there something already out there I can
  use or should I just roll my own?
 
 I think you should read and understand MS' documentation on the variant data 
 type before you spend much time trying to code this for *nix.  IIRC, the 
 Variant data type is limited to development environments like Visual Basic. 
  
 I'm thinking there must be an awful lot of overhead associated with handling 
 a Variant data type, as every use of it must figure out what the real 
 datat type is. I don't know what your objective is, and certainly don't 
 pretend to tell you this shouldn't be done, but - just because MS has done 
 it, does not mean it is a good thing to do in general.

Or, just use PERL. :)
-- 

John Lind
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix equivalent of a variant??

2005-02-02 Thread Jason Stewart
 Hey everyone,
 
 I'm finally doing something very exciting here at work: porting software to
 Unix!
 
 I need the equivalent of a variant, however.  A hold-everything variable
 that can be any type in C/C++.  Is there something already out there I can
 use or should I just roll my own?


Are you porting VB code over to *nix? If that's the case then a better
fit might be Python or Ruby with or without one of the various
bindings for windowing toolkits.

Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix equivalent of a variant??

2005-02-02 Thread Jonathon McKitrick
On Wed, Feb 02, 2005 at 09:04:20AM -0500, Jason Stewart wrote:
:  Hey everyone,
:  
:  I'm finally doing something very exciting here at work: porting software to
:  Unix!
:  
:  I need the equivalent of a variant, however.  A hold-everything variable
:  that can be any type in C/C++.  Is there something already out there I can
:  use or should I just roll my own?
: 
: 
: Are you porting VB code over to *nix? If that's the case then a better
: fit might be Python or Ruby with or without one of the various
: bindings for windowing toolkits.

I think I'm going to use Python as the test container, but all the
component code needs to be C/C++.

I think the boost library is exactly what I need.


jm
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix equivalent of a variant??

2005-02-01 Thread Charles Swiger
On Feb 1, 2005, at 11:43 AM, Jonathon McKitrick wrote:
I need the equivalent of a variant, however.  A hold-everything 
variable
that can be any type in C/C++.  Is there something already out there I 
can
use or should I just roll my own?
Your question probably belongs on comp.lang.c, but the cannonical way 
of handling data of any type is a memory buffer and a (void *).  
Watch out for host data alignment restrictions.

--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix equivalent of a variant??

2005-02-01 Thread Lowell Gilbert
Charles Swiger [EMAIL PROTECTED] writes:

 On Feb 1, 2005, at 11:43 AM, Jonathon McKitrick wrote:
  I need the equivalent of a variant, however.  A hold-everything
  variable
  that can be any type in C/C++.  Is there something already out there
  I can
  use or should I just roll my own?
 
 Your question probably belongs on comp.lang.c, but the cannonical way
 of handling data of any type is a memory buffer and a (void *).
 Watch out for host data alignment restrictions.

Or depending on the intent, a union, which will get the compiler to
take care of alignment.

Generally, though, avoiding typechecking is a hack best avoided...


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX-Based VPN Applications

2005-01-12 Thread Andrew L. Gould
On Wednesday 12 January 2005 11:19 am, Martin McCormick wrote:
   I have been asked as to whether there are any VPN applications
 that can run on UNIX clients using Linux, FreeBSD, and MacOS.  I
 think the general idea is that they could tunnel in from outside of
 our campus and receive an IP number on our network.

 There would probably be a UNIX server on the campus end of the
 network to accept these connections.

   Those of us who work here or are students can set up a UNIX
 box on campus and use ssh in to it from anywhere.  What I am asking
 about is whether there is a VPN application that UNIX-users in
 general can register with to have a presence on our network.

   Thank you very much.

 Martin McCormick WB5AGZ  Stillwater, OK
 OSU Information Technology Division Network Operations Group

You might take a look at openvpn, which is available for *BSD, Linux, 
Mac OSX. Solaris and Windows.  You can find openvpn in the ports at:

/usr/ports/security/openvpn/

The openvpn website can be found at:

http://openvpn.net/

Best of luck,

Andrew Gould
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: UNIX-Based VPN Applications

2005-01-12 Thread Tom Connolly
Martin McCormick wrote:
   I have been asked as to whether there are any VPN applications
that
 can run on UNIX clients using Linux, FreeBSD, and MacOS.  I think the
 general idea is that they could tunnel in from outside of our campus
 and receive an IP number on our network.   
 
 There would probably be a UNIX server on the campus end of the
 network to accept these connections. 
 
   Those of us who work here or are students can set up a UNIX box
on
 campus and use ssh in to it from anywhere.  What I am asking about is
 whether there is a VPN application that UNIX-users in general can
 register with to have a presence on our network.   
 
   Thank you very much.
 
 Martin McCormick WB5AGZ  Stillwater, OK
 OSU Information Technology Division Network Operations Group
 ___ 


I use vpnc which has worked very well.

Good luck,
Tom

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX-Based VPN Applications

2005-01-12 Thread Eric F Crist
On Jan 12, 2005, at 11:19 AM, Martin McCormick wrote:
I have been asked as to whether there are any VPN applications
that can run on UNIX clients using Linux, FreeBSD, and MacOS.  I think
the general idea is that they could tunnel in from outside of our
campus and receive an IP number on our network.
There would probably be a UNIX server on the campus end of the network
to accept these connections.
Those of us who work here or are students can set up a UNIX
box on campus and use ssh in to it from anywhere.  What I am asking
about is whether there is a VPN application that UNIX-users in general
can register with to have a presence on our network.
Thank you very much.
Martin McCormick WB5AGZ  Stillwater, OK
OSU Information Technology Division Network Operations Group
I've had a lot of luck with mpd.  Give that a try...
HTH
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


Re: UNIX

2004-09-26 Thread Bill Moran
anton Sothinathan [EMAIL PROTECTED] wrote:

 Hi
 I was told that I could learn UNIX for free on this site. If so please
 let me know how. My email address is [EMAIL PROTECTED]

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX

2004-09-26 Thread stheg olloydson
it was said:

I was told that I could learn UNIX for free on this site. If so please
=
let me know how. My email address is [EMAIL PROTECTED]

Hello,

Welcome to FreeBSD! You certainly can learn about unix type OSs here.
The best place to start is with the Handbook. the URL is
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
(URL may have wrapped).

Regards,

Stheg



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX fonts on OSX

2004-08-20 Thread Joshua Lewis
Ok I said my piece. And thanks to you Tony Shadwick for sticking up for
me. I appreciate it. Nice to see some people remember that you have to ask
questions to learn and knowledge is not passed down genetically to the
youth.



 yes, wrong list. no LOL.

Well I guess you woke up on the wrong side of the bed.

 the base system is not freebsd. Please use google and educate yourself.
 This has been dealt with a lot of times already.

The base system is Darwin. Darwin is derived from FreeBSD.

Here is a clipping from apples own site. If they are misleading people
take up your gripe with them.

The upgraded kernel, based on FreeBSD 5.x, provides optimized resource
locking for better scalability across multiple  processors, support for
64-bit memory pointers through the System library and standards-based
access control lists. The system enhances network services via a
next-generation launch daemon and centralized application logging. Tiger
also features command-line access to Spotlight for searching application
metadata and enables many common UNIX utilities to

http://www.apple.com/macosx/tiger/unix.html

Do a search for FreeBSD on Apple's site and you will see pages and pages
of FreeBSD references in OS X.

 One, I thought OSX had a OS9 compatibility layer of some sort. Is this
 wrong?

Thank you for stating the obvious. Yes, there is Classic. In addition, yes
it sucks. If you take the time and re-read, the subject it says Unix
fonts on OS X the classic thing was more of a grip (I apologize to
everyone. The mailing list is not a place for grips). I wanted to know if
anyone had tried or knew if FreeBSD Fonts would work in OS X, as they are
a kin to each other.

But hey thanks for not helping at all. Hope you have a good weekend.

Sorry to everyone I do not usually respond to people who are more of a
nuisance then helpful but he got under my skin and I do not know why.



Thank you,
Joshua Lewis



Felix Kronlage
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On Aug 18, 2004, at 19:18, Joshua Lewis wrote:

 One, I thought OSX had a OS9 compatibility layer of some sort. Is this
 wrong?

 it does, it's called classic. But besides that, no clue.

 Two, Can I install Unix fonts on this system? Would that even work? The
 base system is FreeBSD so I thought perhaps it might.

 the base system is not freebsd. Please use google and educate yourself.
 This has been dealt with a lot of times already.

 I don't know if I am posting this question to the correct mailing
 list. If
 not perhaps someone could let me know where I should take it. LOL.

 yes, wrong list. no LOL.

 - -fkr
 - --
 gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0  8A48 0D31 9BD3 D9AC 74D0
 http://fkr.hazardous.org | http://opendarwin.org/~fkr/
|   FKR-RIPE
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (Darwin)

 iD8DBQFBJNEFDTGb09msdNARAsKZAJ9w5XagH2iE29iAJG6ZTDRCSRI0KACeMEnl
 wNzALUhOm2Rv6++XNWCQCPw=
 =7B8a
 -END PGP SIGNATURE-



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX fonts on OSX

2004-08-20 Thread David Kelly
On Aug 20, 2004, at 11:29 AM, Joshua Lewis wrote:
Do a search for FreeBSD on Apple's site and you will see pages and 
pages
of FreeBSD references in OS X.
Pops up in the man pages on occasion as well. Just now tried man -k 
freebsd with Panther 10.3.5 and only got one hit on perlfreebsd. It 
looks to be out of place.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Top-posters will not be shown the honor of a reply.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix timestamp

2003-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2003 at 06:07:50AM +0100, Jez Hancock wrote:
 Is there a native FreeBSD shell util for returning the time in seconds
 since the Unix epoch?  date(1) doesn't seem to do this, only the
 converse with the -r switch:
 
 [6:05:51] [EMAIL PROTECTED] /home/munk# date -r 1064293551
 Tue Sep 23 06:05:51 BST 2003
 
 Just curious - I ended up making a simple C app that does the job.

This works for me:

~,9:57pm date '+%s'
1064311041

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When you don't know what you are doing, do it neatly.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix timestamp

2003-09-23 Thread Jez Hancock
On Tue, Sep 23, 2003 at 09:58:35PM +1200, Jonathan Chen wrote:
 On Tue, Sep 23, 2003 at 06:07:50AM +0100, Jez Hancock wrote:
  Is there a native FreeBSD shell util for returning the time in seconds
  since the Unix epoch?  date(1) doesn't seem to do this, only the
  converse with the -r switch:
  
  [6:05:51] [EMAIL PROTECTED] /home/munk# date -r 1064293551
  Tue Sep 23 06:05:51 BST 2003
  
  Just curious - I ended up making a simple C app that does the job.
 
 This works for me:
 
 ~,9:57pm date '+%s'
Thanks guys, this was the one I was after :)


-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix timestamp

2003-09-22 Thread Bill Campbell
On Tue, Sep 23, 2003, Jez Hancock wrote:
Is there a native FreeBSD shell util for returning the time in seconds
since the Unix epoch?  date(1) doesn't seem to do this, only the
converse with the -r switch:

perl -e 'print time . \n'

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him.  -- Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix timestamp

2003-09-22 Thread Dan Nelson
In the last episode (Sep 23), Jez Hancock said:
 Is there a native FreeBSD shell util for returning the time in seconds
 since the Unix epoch?  date(1) doesn't seem to do this, only the
 converse with the -r switch:
 
 [6:05:51] [EMAIL PROTECTED] /home/munk# date -r 1064293551
 Tue Sep 23 06:05:51 BST 2003

$ date -r 1064293551 +%s
1064293551
$ date +%s
1064294819

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX programming platform

2003-06-15 Thread Joel Rees
 Dear list,
 I would like to hear your opinions about your favorite UNIX programming
 platform.

*nix;)

 The kind of programming I am more interested is system and network
 programming.

Pick one that is accessible to you and dig in. I've found myself liking
the BSDs more than the Linuxes, but I am looking for some time to dig
into Debian. 

(Vine and Miracle Linux are presently in use in my office particularly
because they provide tools useful in a Japanese environment. Many of
those tools are available in freeBSD, but not yet quite as accessible as
they are in Japanese-built Linux distributions. We also use Solaris, but
that's kind of expensive, and you would likely need no one to suggest it
to you if you were in the position to use it.) 

 I am looking for those details that will make my life easier or harder.

Then I'd suggest Mac OS X. (This is not your father's Macintosh.)

But if you already have an MSWindows box that you want to put to good
use, freeBSD is fairly straightforward to get started with, and has a
lot of tools/toys to work with. 

netBSD seems to be good with odd-ball hardware, but you have to know
quite a bit about what you're doing to take full advantage of the tools
there. (They have some interesting cross-architecture tools, for
instance.)

If you are already comfortable with installing and configuring, and what
you really mean by details is a lean-n-mean system and a tight focus
on networking and security, check openBSD out.

That's probably the standard take on the more prominent players in the
BSD world, but it doesn't do justice to any of it. Start with the one
that's handiest for you, but play with the others when you get a chance.
(System and _network_ would imply more than one computer, anyway, right?)

Just my two cents.

-- 
Joel Rees, programmer, Kansai Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX programming platform

2003-06-13 Thread Bill Moran
  wrote:
Dear list,
I would like to hear your opinions about your favorite UNIX programming
platform.
FreeBSD.

The kind of programming I am more interested is system and network
programming.
I am looking for those details that will make my life easier or harder.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

There are translations available if English is not your first language:
http://www.freebsd.org/support.html#web
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNIX and Macintosh

2002-11-27 Thread Lee Nelson
Doug,

  Assuming Imageland is mounted, look for it in
the /Volumes folder (corresponds to /mnt on a
normal system).

  /Volumes is a hidden folder - you won't see
it in the Finder.  Also, type 'mount' with no
arguments to see a list of all mounted file
systems.

  By the way, 'rmdir' only works with empty folders,
so if you want to delete a whole tree at once, use 
'rm -rf'. But be careful, there is no way to recover!

  Hope this helps,

Lee Nelson


11/27/02 2:44:08 AM, Doug Lawhead [EMAIL PROTECTED] wrote:

This question pertains to the Unix flavor used in Apple's OSX 10.2 operating
system. I have two partitions on my hard drive. The OS startup disk is a
partition named Macintosh HD. The second partition is named Imageland. If I
understand the commands correctly, then using rmdir /path-to-folder will
delete a folder from the Macintosh HD partition. How do I remove a directory
or file from the other partition named Imageland?
Thanks...Doug


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: UNIX and Macintosh

2002-11-27 Thread Paul A. Scott

 From: Doug Lawhead [EMAIL PROTECTED]
 How do I remove a directory or file from the other partition
 named Imageland?

On OSX, if the volume is mounted (and it should be), it will be in /Volumes/
(notice the capital V in Volumes).

Paul

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: UNIX operating system

2002-10-18 Thread Larry Rosenman
On Fri, 2002-10-18 at 19:18, Karen LaPaugh wrote:
 
 Are there any limitations to this system?  How much does it usually cost an 
 individual?
$0.00 for ALL. 

No. 


Please read http://www.freebsd.org/ 


-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: unix locate cmd

2002-10-01 Thread Lee Gold



  (10.01.2002 @ 0418 PST): Lee Gold said, in 0.5K: 
  I'm trying to use the  locate  cmd to find all
  instances of .xinitrc in my system. I did,
  
..snip..
 
 when you run the program, you're leaving out the 'n' in locate.updatedb,
 right?

that's an email typo.

...snip...

 so you can't locate anything at all? so, for example, locate termcap
 gives no output? what's the filesize of your /var/db/locate.database?

the db is about 420kb
sorry, it works perfectly $locate temp or $locate X11
give big lists. I think I'm getting stuck on the dot beginning
the string  .xinitrc - I must not be handling that leading .
correctly w/locate. The output of $locate .xinitrc  is nothing
just a new prompt. What would be the reason?

Thanks for this help,
Lee


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: unix locate cmd

2002-10-01 Thread Peter Ulrich Kruppa

On Tue, 1 Oct 2002, Lee Gold wrote:

 I'm trying to use the  locate  cmd to find all
 instances of .xinitrc in my system. I did,

 root#  /usr/libexec/locate.unpdatedb
 root# setenv $LOCATE_PATH /var/db/locate.database

 I've tried  root# locate filename
 with different input but the command gives no
 feedback or output - it just goes to a new prompt.
 and of course,
 # locate .xinitrc  or \.initrc or anything else gives no
 out from the cmd. what am I doing wrong?
The file is called xinitrc not .xinitrc

Uli.


 Thanks

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: unix locate cmd

2002-10-01 Thread Frank Heitmann


 The file is called xinitrc not .xinitrc
/usr/X11R6/lib/X11/xinit/xinitrc if user has no .xinitrc file
which would reside in ~  (so it's ~/.xinitrc).

See startx(1) - and my system were it works with ~/.xinitrc :)

Cheers,
Frank

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: unix locate cmd

2002-10-01 Thread Adam Weinberger

k. first of all, do you actually HAVE any copies of an .xinitrc file?
the system-wide one has no dot.

if you DO have one, it's typically in ~/.xinitrc. is your /home
partition not a ufs partition? locacte.updatedb will only index ufs
partitions by default.

-Adam


 (10.01.2002 @ 0415 PST): Lee Gold said, in 0.9K: 
 
 
   (10.01.2002 @ 0418 PST): Lee Gold said, in 0.5K: 
   I'm trying to use the  locate  cmd to find all
   instances of .xinitrc in my system. I did,
   
 ..snip..
  
  when you run the program, you're leaving out the 'n' in locate.updatedb,
  right?
 
 that's an email typo.
 
 ...snip...
 
  so you can't locate anything at all? so, for example, locate termcap
  gives no output? what's the filesize of your /var/db/locate.database?
 
 the db is about 420kb
 sorry, it works perfectly $locate temp or $locate X11
 give big lists. I think I'm getting stuck on the dot beginning
 the string  .xinitrc - I must not be handling that leading .
 correctly w/locate. The output of $locate .xinitrc  is nothing
 just a new prompt. What would be the reason?
 
 Thanks for this help,
 Lee
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of Re: unix locate cmd from Lee Gold 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: unix locate cmd

2002-10-01 Thread Joshua Lokken

  # locate .xinitrc  or \.initrc or anything else gives no
  out from the cmd. what am I doing wrong?
 The file is called xinitrc not .xinitrc
 
 Uli.
 

Huh??

 
 *---*
 *Peter Ulrich Kruppa*
 *  -  Wuppertal -   *
 *  Germany  *
 *---*


Joshua

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: unix locate cmd

2002-10-01 Thread Gary W. Swearingen

Lee Gold [EMAIL PROTECTED] writes:

 I'm trying to use the  locate  cmd to find all
 instances of .xinitrc in my system. I did,
 
 root#  /usr/libexec/locate.unpdatedb
 root# setenv $LOCATE_PATH /var/db/locate.database

   ^-- Don't use $ there.

But that's probably not your problem.

Maybe you have a /etc/locate.rc and it's messed up, or maybe one of
/usr/libexec/locate.unpdatedb's env. vars. has a bad value.  ??

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: unix locate cmd

2002-10-01 Thread Lee Gold


Subject: Re: unix locate cmd 
   From: Kevin Oberman [EMAIL PROTECTED]
..snip

Also, locate.updatedb runs as nobody so it will only index directories
and files with other read access. 

Oh. Maybe this is why even newbie questions  are supposed to be
posted here. So security issues for a new user (or any user) can be
pointed out by those in the know.

Ok. Would I repair the security of my locate db by running:
/etc/periodic/weekly/310.locate
right now?

would it overwrite the existing db and not just add to it?

Thank you.





From the man page for locate:
 The locate database was built by user ``nobody''.  find(1) skips directo-
 ries, which are not readable for user ``nobody'', group ``nobody'', or
 world.  E.g. if your HOME directory is not world-readable, all your files
 are not in the database.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message