Re: your mail

2000-12-06 Thread Roop Nanuwa


I think what you're looking for is something similar (or exactly
like) 'sudo'..

You can get it under your ports tree:
/usr/ports/security/sudo/

Or on-line:
www.freebsd.org/ports/security.html

RSN


On Wed, 6 Dec 2000, Michael Chong wrote:

> I have a question about FreeBSD...is it possible to set acl's on commands?
> (eg..giving one specific user the abiltity to execute a command w/o putting
> them in a group)  I'm talking about something like this:
> http://www.sunworld.com/swol-06-1998/swol-06-insidesolaris.html.  Can we do
> something like this with FreeBSD?
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 



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



Re: your mail

2000-12-06 Thread David Talkington

>
>I think what you're looking for is something similar (or exactly
>like) 'sudo'..

sudo definitely helps if it's carefully administered, but it still
grants root access to a file, which may not really be what you want.
As a Unix advocate in general, I'm looking forward to seeing how well
Sun does this.  ACLs are one of the things that NTFS does well, and
Unix traditionally doesn't really provide for.  In an environment like
ours, where we have a plethora of community members and volunteers
doing various things on our Solaris system, you quickly discover the
limits of sudo's ability to dispense privileges surgically without
creating security holes.

You can do a lot with carefully configured groups, but as the number
of users increases and the system activities become more disparate,
this gets complicated...

My $.02 -d

>On Wed, 6 Dec 2000, Michael Chong wrote:
>
>> I have a question about FreeBSD...is it possible to set acl's on commands?
>> (eg..giving one specific user the abiltity to execute a command w/o putting
>> them in a group)  I'm talking about something like this:
>> http://www.sunworld.com/swol-06-1998/swol-06-insidesolaris.html.  Can we do
>> something like this with FreeBSD?
>> 
>> 
>> 
>> 
>> 
>> To Unsubscribe: send mail to [EMAIL PROTECTED]
>> with "unsubscribe freebsd-hackers" in the body of the message
>> 
>
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-hackers" in the body of the message
>



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



Re: your mail

2001-02-09 Thread dannyman

On Fri, Feb 09, 2001 at 02:03:28PM -0800, dannyman wrote:
> Has anyone patched 4.x OpenSSH and/or the relevant ports to deal with the CRC
> checksum exploit?  I've got to get 2.3 working on my 3.x box, but just
> incrementing the number in the Makefile causes patch-aa to go rejected ...

Ohhh, fat fingers.  Meant to pester -security.

-d


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



Re: your mail

2000-01-13 Thread Chris Costello

On Thu, Jan 13, 2000, Ramiro Amaya wrote:
> I am new in this mail list, so I do not have so much experience about the
> questions I should ask, If I am in the worng place let me know, please.
> Well my question is related with Solaris 2.6, the story is like this:

   What does this have to do with the FreeBSD operating system?

-- 
|Chris Costello <[EMAIL PROTECTED]>
|Software is mind work.  Having the right frame of mind is essential.
`


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



Re: your mail

2000-01-13 Thread Ryan Thompson

On Thu, 13 Jan 2000, Ramiro Amaya wrote:

> I am new in this mail list, so I do not have so much experience about the
> questions I should ask, If I am in the worng place let me know, please.
> Well my question is related with Solaris 2.6, the story is like this:
>  
> I have a Solaris 2.5 server which has configured all the printers so I can
> perint from that machine without any problem; The printers are remotes so I
> use the IP address on /etc/hosts ( Nis database ). Recently, I update the
> nis clients to Solaris 2.6, but I am not sure how to configure the
> printers, is there anybody there who can give me a hand?. Thanks
> 

Hi, Ramiro..

You are indeed in the wrong mailing list (and on the wrong server :-) 

[EMAIL PROTECTED] is, firstly, pertaining to the FreeBSD UNIX
operating system, available on CD, or at ftp.cdrom.com in freely
downloadable forms.  This -hackers list is meant for the more technical
array of questions and their responses.  "More technical" generally means
questions pertaining to the source code of the operating system itself.

--
  Ryan Thompson <[EMAIL PROTECTED]>
  50% Owner, Technical and Accounts
  Phone: +1 (306) 664-1161

  SaskNow Technologies http://www.sasknow.com
  #106-380 3120 8th St E   Saskatoon, SK  S7H 0W2





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



Re: your mail

2000-01-13 Thread Gene Harris

This list is for FreeBSD, not Solaris.

*==*
*Gene Harris  http://www.tetronsoftware.com*
*FreeBSD Novice*
*All ORBS.org SMTP connections are denied! *
*==*

On Thu, 13 Jan 2000, Ramiro Amaya wrote:

>  I am new in this mail list, so I do not have so much experience about the
>  questions I should ask, If I am in the worng place let me know, please.
>  Well my question is related with Solaris 2.6, the story is like this:
>   
>  I have a Solaris 2.5 server which has configured all the printers so I can
>  perint from that machine without any problem; The printers are remotes so I
>  use the IP address on /etc/hosts ( Nis database ). Recently, I update the
>  nis clients to Solaris 2.6, but I am not sure how to configure the
>  printers, is there anybody there who can give me a hand?. Thanks
>  



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



Re: your mail

2000-05-19 Thread Kris Kennaway

On Fri, 19 May 2000, Manny Obrey wrote:

> I saw the following near the end of running  "make depend;make" during a 
> kernel re-config ... seriously, is this something to be concerned about? I 

No.

Kris


In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe <[EMAIL PROTECTED]>



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



Re: your mail

2000-06-25 Thread Frederik Meerwaldt

Hi!

Ever read the bottom of the mails??
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 

Regardsm
Freddy



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



Re: your mail

2001-04-05 Thread Doug White

On Thu, 5 Apr 2001, Aman Sharma wrote:

>
>  project *
> ** kldload ufs ***
> i feel that a real microkernel OS should'nt have a
> bloated kernel in the sense, that heavy OS equipment
> like a FileSystem should run as a module on top of the
> kernel.
> i aim to make ufs run as a module on FreeBSD, which
> surely would require a lot of serious kernel
> code<-entry points.

It shouldn't be too bad as long as you force the loader to load the
module, otherwise you run into a chicken & egg problem.

Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED] |  www.FreeBSD.org


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



Re: your mail

2001-04-06 Thread Rasputin

* Aman Sharma <[EMAIL PROTECTED]> [010405 19:37]:

> i aim to make ufs run as a module on FreeBSD, which
> surely would require a lot of serious kernel
> code<-entry points. 
> -- pitfall 
> 1. the system after boot will load the kernel image
> into core fromdisc.
> 2. kernel runs init.
> 3. if init fails, then access to disk is'nt possible
> as thefilesystem module is not running.

And if init *works*, how are you supposed to load your ufs module from disk?

Speaking as someone who compiled IDE support as a module in a Linux
kernel once, I don't recommend it.
-- 
Rasputin
Jack of All Trades :: Master of Nuns

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



Re: your mail

2001-04-06 Thread Joseph Mallett

Actually, it's possibly to do what he's talking about... RE: Using
ReiserFS as a root filesystem, XFS, etc. As well as HURD which uses a
seperate fs server, and Johannes Helander's Lites thesis talks about doing
the same.

It is not at all like doing FS support as a module.

/joseph

--
Joseph Mallett   Security Specialist
[EMAIL PROTECTED] www.newgold.net

irc.newgold.net/#xMach   xMach Core Team
[EMAIL PROTECTED] www.xMach.org

On Fri, 6 Apr 2001, Rasputin wrote:

> * Aman Sharma <[EMAIL PROTECTED]> [010405 19:37]:
> 
> > i aim to make ufs run as a module on FreeBSD, which
> > surely would require a lot of serious kernel
> > code<-entry points. 
> > -- pitfall 
> > 1. the system after boot will load the kernel image
> > into core fromdisc.
> > 2. kernel runs init.
> > 3. if init fails, then access to disk is'nt possible
> > as thefilesystem module is not running.
> 
> And if init *works*, how are you supposed to load your ufs module from disk?
> 
> Speaking as someone who compiled IDE support as a module in a Linux
> kernel once, I don't recommend it.
> -- 
> Rasputin
> Jack of All Trades :: Master of Nuns
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 


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



Re: your mail

2001-04-06 Thread Rasputin

* Joseph Mallett <[EMAIL PROTECTED]> [010406 09:46]:
> Actually, it's possibly to do what he's talking about... RE: Using
> ReiserFS as a root filesystem, XFS, etc. As well as HURD which uses a
> seperate fs server, and Johannes Helander's Lites thesis talks about doing
> the same.
> 
> It is not at all like doing FS support as a module.

Is that because of the loader? I still don't understand how a kernel
can load a module from a disk it doesn't know how to read yet?
Although I have a horrible feeling everyone else does...
-- 
Rasputin
Jack of All Trades :: Master of Nuns

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



Re: your mail

2001-04-06 Thread Daniel O'Connor


On 06-Apr-2001 Rasputin wrote:
> > It is not at all like doing FS support as a module.
>  Is that because of the loader? I still don't understand how a kernel
>  can load a module from a disk it doesn't know how to read yet?
>   Although I have a horrible feeling everyone else does...

The loader can read quite a number of file systems, and since it only needs
read-only support adding others is trivial (so I am told :)

The loader can load the kernel and modules off any filesystem it understands.

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum

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



Re: your mail

2001-04-06 Thread Joseph Mallett

Don't worry, Rasputin, we're not all really out to get you.

(Reminder to the Get Rasputin! club, we'll be meeting at 7AM on
irc.newgold.net in #Tech to discuss more ideas to confuse him).

Actually, I'd point you to some good papers, but I don't know any. In
fact, I'm not even sure how I learned... Read some papers on HURS, and
Johannes Helander's Lites Thesis (www.cs.hut.fi/~jvh/)... Aside that, I
dunno how to help... In fact, Johannes might not have even really
mentioned it specifically,... Damn... I'm sure someone else knows a
boot/doco

/joseph

--
Joseph Mallett   Security Specialist
[EMAIL PROTECTED] www.newgold.net

irc.newgold.net/#xMach   xMach Core Team
[EMAIL PROTECTED] www.xMach.org

On Fri, 6 Apr 2001, Rasputin wrote:

> * Joseph Mallett <[EMAIL PROTECTED]> [010406 09:46]:
> > Actually, it's possibly to do what he's talking about... RE: Using
> > ReiserFS as a root filesystem, XFS, etc. As well as HURD which uses a
> > seperate fs server, and Johannes Helander's Lites thesis talks about doing
> > the same.
> > 
> > It is not at all like doing FS support as a module.
> 
> Is that because of the loader? I still don't understand how a kernel
> can load a module from a disk it doesn't know how to read yet?
>   Although I have a horrible feeling everyone else does...
> -- 
> Rasputin
> Jack of All Trades :: Master of Nuns
> 


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



Re: your mail

2001-04-06 Thread Rasputin

* Daniel O'Connor <[EMAIL PROTECTED]> [010406 10:08]:
> 
> On 06-Apr-2001 Rasputin wrote:
> The loader can load the kernel and modules off any filesystem it understands.
  ^^
Gimme a 'D'! Gimme an 'O'! Gimme an 'H'!
For some reason I thought the kernel loaded it's own modules.

More caffeine please, Nurse

-- 
Rasputin
Jack of All Trades :: Master of Nuns

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



Re: your mail

2001-04-06 Thread Daniel O'Connor


On 06-Apr-2001 Rasputin wrote:
>  * Daniel O'Connor <[EMAIL PROTECTED]> [010406 10:08]:
> > 
> > On 06-Apr-2001 Rasputin wrote:
> > The loader can load the kernel and modules off any filesystem it understands.
>^^
>  Gimme a 'D'! Gimme an 'O'! Gimme an 'H'!
>  For some reason I thought the kernel loaded it's own modules.
>  
>  More caffeine please, Nurse

Heh.. 'boot strap' :)

The kernel can link its own modules after its booted though (I think thats how it
works..)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum

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



Re: your mail

2001-04-09 Thread Peter Pentchev

On Mon, Apr 09, 2001 at 11:40:43AM -, samrat basuthakur wrote:
> let me know about you peoples and your website.

Us, we're just a bunch of weenies high on LS^H^HBSD, and the website's
www.FreeBSD.org, thanks for your attention :)

G'luck,
Peter

-- 
I've heard that this sentence is a rumor.

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



Re: your mail

2001-05-26 Thread Kirill

On Thu, 24 May 2001, Mattias Berge wrote:

> Hi, I have sme major problems with getting the SMP support to work.
> My machine is a Compaq Proliant 380D with dual 733 mhz pIII processors.
> I run FreeBSD 4.3-REL.
> I have added the two SMP lines in my kernel conf and delöeted the I*86_CPU
> that I do not need.
> Then I compiled the kernel and rebooted, and it hangs in boot when it says:
>
> Changing APIC ID for IO APIC #0 from 0 to 8 on chip
> Programming 35 pins in IOAPIC #0
> IOAPIC #0 intpin -> irq 0
Change your OS type in BIOS to Linux, and upgrade your BIOS if you have
older one.

Kirill
[EMAIL PROTECTED]
>
> Anyone expiriance (and solved) a similar problem?
> Please reply to this mail, since Im not a member of any list.
> Thanks in advance,
>
> Mattias Berge
> Atos Medical AB
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-smp" in the body of the message
>


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



Re: your mail

2001-07-23 Thread Alfred Perlstein

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [010723 19:47] wrote:
> Hello
> I am experimenting with kernel modules and am trying to write to a file.
> This is the syscall function (sorry of my terminology is messed up)
> 
> static int write_file(struct proc *p, void *arg) {
>   struct write_args *wstructure;
>   struct open_args *ostructure;
> 
>   ostructure->path="/tmp/blehfile";
>   ostructure->flags = O_CREAT;
>   ostructure->mode = 0;
>   wstructure->fd = open(p, ostructure);
>   wstructure->buf = "Testing\n";
>   wstructure->nbytes = 8; 
>   return write(p, wstructure);
> }
> 
> Im not sure why, but that code crashes.  Was created with:
> echo Hi > /tmp/blehfile.  Also, is there an official freebsd kernel hackers
> guide?  Kernel programming is very interesting. ;-)

The args to open() in the kernel are expected to point to a user address,
so you have a couple of options:

a) point your in kernel vmspace at the kernel
b) copy your args into userspace using copyout and use those addresses

there's no official guide, however if you pick up a couple of non-vendor
specific OS programming textbooks you should have more fun.

please use a more descriptive subject line, using an empty subject
is likely to get your mail skipped over, also please do not send
to the list more than once if possible.

and lastly... check your damn return values, honestly! :)

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
Ok, who wrote this damn function called '??'?
And why do my programs keep crashing in it?

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



Re: your mail

2001-07-23 Thread Andrew R. Reiter



On 23 Jul 2001 [EMAIL PROTECTED] wrote:
> 
> static int write_file(struct proc *p, void *arg) {
>   struct write_args *wstructure;
>   struct open_args *ostructure;
> 
>   ostructure->path="/tmp/blehfile";
>   ostructure->flags = O_CREAT;
>   ostructure->mode = 0;
>   wstructure->fd = open(p, ostructure);

#1 bad form calling syscalls like this within the kernel -- just doesnt
make sense

#2 open(2) will attempt to do a copyinstr rather than a copystr and that
is not correct.

>   wstructure->buf = "Testing\n";
>   wstructure->nbytes = 8; 
>   return write(p, wstructure);
> }
> 

same idea with this write function and the buf parameter.


> Im not sure why, but that code crashes.  Was created with:
> echo Hi > /tmp/blehfile.  Also, is there an official freebsd kernel hackers
> guide?  Kernel programming is very interesting. ;-)

While it's not the best, check out:
http://www.daemonnews.org/200010/blueprints.html

Andrew


*-.
| Andrew R. Reiter 
| [EMAIL PROTECTED]
| "It requires a very unusual mind
|   to undertake the analysis of the obvious" -- A.N. Whitehead


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



Re: your mail

2001-07-23 Thread Dima Dorfman

Alfred Perlstein <[EMAIL PROTECTED]> writes:
> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [010723 19:47] wr
> ote:
> > Hello
> > I am experimenting with kernel modules and am trying to write to a file.
> > This is the syscall function (sorry of my terminology is messed up)
> > 
> > static int write_file(struct proc *p, void *arg) {
> > struct write_args *wstructure;
> > struct open_args *ostructure;

Notice how you (the originator) never allocated memory for these
structures, so this assignment:

> > ostructure->path="/tmp/blehfile";

dereferences junk on the stack.  Once you've fixed that, of course,
you'll have to fix all the issues Alfred and Andrew told you about.

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



Re: your mail

2001-08-24 Thread Laurence Berland

>From now on, please use the test@ email list for testing.  None of us care
if your Mail:: module works

On Sat, 25 Aug 2001, Charlie Root wrote:

> Subject: Mail::Internet test subject
> 
> 
> This is a test message that was sent by the test suite of
> Mail::Internet.
> 
> Testing.
> 
> one
> 
> >From foo
> four
> 
> >From bar
> seven
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 

Laurence Berland
http://www.isp.northwestern.edu


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



Re: your mail

2001-08-25 Thread Peter Pentchev

Now why do I have this uneasy feeling that you just fell for
a spammer's email address collection bait..

G'luck,
Peter

-- 
If wishes were fishes, the antecedent of this conditional would be true.

On Fri, Aug 24, 2001 at 08:42:17AM -0700, Laurence Berland wrote:
> From now on, please use the test@ email list for testing.  None of us care
> if your Mail:: module works
> 
> On Sat, 25 Aug 2001, Charlie Root wrote:
> 
> > Subject: Mail::Internet test subject
> > 
> > 
> > This is a test message that was sent by the test suite of
> > Mail::Internet.
> > 
> > Testing.
> > 
> > one
> > 
> > >From foo
> > four
> > 
> > >From bar
> > seven

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



Re: your mail

2003-06-15 Thread Joshua Oreman
On Sun, Jun 15, 2003 at 08:12:47PM -0400 or thereabouts, Derek Santamassino seemed to 
write:
> Hi, I need some help with FreeBSD 4.8 Release. I installed
> FreeBSD. It does not recognize my hardware. After the installation
> it goes right to command prompt instead of going to desktop. My
> hardware needs to be configured. Can someone help me configure my
> hardware? I have compaq MV540 color monitor. PCTEL Platinum V. 90
> modem. Cirrus logic PCI video card. Intel(r) Integrated Audio. PS/s
> wheel mouse. That is a list of most of my hardware.
>
> Please e-mail me back as soon as you get this e-mail at
> [EMAIL PROTECTED] I'm a total beginner with any Unix or Linux
> base systems. Thank You.

[This is a general question - moved to -questions mailing list]

-- Josh

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


Re: your mail

2003-08-14 Thread Kris Kennaway
On Thu, Aug 14, 2003 at 03:14:27PM +0530, S.Gopinath wrote:
> Dear Sir,
> > 
> > I'm required to run a.out binaries like foxplus
> > in a recent Intel based hardware. I have chosen
> > FreeBSD 5.1 and successfuly installed. But I could
> > not run a.out binaries like Foxplus. I tried it by
> > load ibcs modules and aout modules in /boot/kernel
> > directory. My foxplus did not work.
> > 
> > I require your suggestions regarding this.

Do you have the FreeBSD 2.x/3.x/4.x compatibility libraries installed
(via sysinstall, or by setting the appropriate COMPAT* variable in
/etc/make.conf)?

If so, then please post an exact description of the commands you have
run and the errors you receive.

Kris


pgp0.pgp
Description: PGP signature


Re: your mail

2003-08-15 Thread Terry Lambert
Kris Kennaway wrote:
> On Thu, Aug 14, 2003 at 03:14:27PM +0530, S.Gopinath wrote:
> > > I'm required to run a.out binaries like foxplus
> > > in a recent Intel based hardware. I have chosen
> > > FreeBSD 5.1 and successfuly installed. But I could
> > > not run a.out binaries like Foxplus. I tried it by
> > > load ibcs modules and aout modules in /boot/kernel
> > > directory. My foxplus did not work.
> 
> Do you have the FreeBSD 2.x/3.x/4.x compatibility libraries installed
> (via sysinstall, or by setting the appropriate COMPAT* variable in
> /etc/make.conf)?
> 
> If so, then please post an exact description of the commands you have
> run and the errors you receive.

FoxPro is the later version of FoxBase, which was a Xenix clone
of the Ashton-Tate dBase III software.

The a.out binaries he's talking about are for one of the Xenix
platforms that FoxPro ran on.  The only ones I'm aware of that
it ran on that were a.out were SCO Xenix 2.1.[23], 3.x, and
Altos Xenix (386 platforms: Altos 686 and 886).

He might also mean the Intel 320's running Intel Xenix, but I'm
pretty sure that FoxBase was the only thing that ran on those
platforms.

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


Re: your mail

2002-05-23 Thread Clint Olsen

On May 23, echo dev wrote:
> is there anyone that might know why the fflush did not work I fugre
> this works besuse it shoves an empty vale into the buffer thus casuseing
> it to be empty.

>From the C-FAQ - http://www.eskimo.com/~scs/C-faq/top.html

12.26:  How can I flush pending input so that a user's typeahead isn't
read at the next prompt?  Will fflush(stdin) work?

A:  fflush() is defined only for output streams.  Since its
definition of "flush" is to complete the writing of buffered
characters (not to discard them), discarding unread input would
not be an analogous meaning for fflush on input streams.

There is no standard way to discard unread characters from a
stdio input stream, nor would such a way necessarily be
sufficient, since unread characters can also accumulate in
other, OS-level input buffers.  You may be able to read and
discard characters until \n, or use the curses flushinp()
function, or use some system-specific technique.  See also
questions 19.1 and 19.2.

References: ISO Sec. 7.9.5.2; H&S Sec. 15.2.

-Clint

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



Re: your mail

2002-05-24 Thread Giorgos Keramidas

On 2002-05-23 22:38, echo dev wrote:
> Now the problem is when the player answers it correctly it ouputs
> would you like to play again.. When it prompts for your answer it
> automaicly acwers it self.

> scanf("%c", &qNa);
> printf("WOULD YOU LIKE TO PLAY AGAIN?(y/n)>");
> scanf("%c", &qNa);

Just don't use scanf().  Read a line of text and parse it on your own.
Something like:

#define BUFLEN  512

char buf[BUFLEN];

if (fgets(buf, BUFLEN, stdin) == NULL) {
if (ferror(stdin))
/* Handle errors. */
;
else if (feof(stdin))
/* End of file, quit or something. */
;
}

-- 
Giorgos Keramidas- http://www.FreeBSD.org
[EMAIL PROTECTED] - The Power to Serve

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



Re: your mail

1999-07-27 Thread Andrzej Bialecki
On Tue, 27 Jul 1999, Anders Vidmark wrote:

> Hi

Hej, :-)

> 
> Im getting unreferenced inodes that fills up /.
> The box is running freebsd 2.2.6-release and sendmail 8.8.8
> Sendmails databases are rebuilt once every half hour.
> It seems like the unref. inodes comes from spammers.db and 
> domainalias.db.
> 
> Is there a way to avoid this? Will it get better if I upgrade to 
> freebsd 3.2? upgrade sendmail?

This could be due to filesystem corruption, either because of crashes or
for some other reasons. You can try fsck -y on a quiet system (i.e. in
single-user mode).

2.2.6-R is ancient, and it contained well known security holes. The same
goes for your version of sendmail. You should definitely upgrade your
server. 3.2-STABLE is officially recommended version, but if you're afraid
of too many changes (ELF, bootloader, changed VM) you should at least
upgrade to the latest 2.2-STABLE.

Andrzej Bialecki

//   WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org 
// --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ 



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Re: your mail

1999-07-27 Thread Andrzej Bialecki

On Tue, 27 Jul 1999, Anders Vidmark wrote:

> Hi

Hej, :-)

> 
> Im getting unreferenced inodes that fills up /.
> The box is running freebsd 2.2.6-release and sendmail 8.8.8
> Sendmails databases are rebuilt once every half hour.
> It seems like the unref. inodes comes from spammers.db and 
> domainalias.db.
> 
> Is there a way to avoid this? Will it get better if I upgrade to 
> freebsd 3.2? upgrade sendmail?

This could be due to filesystem corruption, either because of crashes or
for some other reasons. You can try fsck -y on a quiet system (i.e. in
single-user mode).

2.2.6-R is ancient, and it contained well known security holes. The same
goes for your version of sendmail. You should definitely upgrade your
server. 3.2-STABLE is officially recommended version, but if you're afraid
of too many changes (ELF, bootloader, changed VM) you should at least
upgrade to the latest 2.2-STABLE.

Andrzej Bialecki

//  <[EMAIL PROTECTED]> WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org 
// --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ 



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



Re: your mail

1999-10-02 Thread Barry Irwin

On Sun 1999-10-03 (07:22), Matthias Buelow wrote:
> Bcc: 
> Subject: Re: FTP directory listing with ftpio(3) and fetch(3)
> Reply-To: 
> In-Reply-To: <[EMAIL PROTECTED]>
> 
> 
> BTW.. although risking to be off-topic by miles, I always liked the way
> how NetBSD's ftp(1) (since 1.4 or so) implemented http and ftp URL
> fetching and thus eliminated the need for a fetch(1) command.
> Couldn't the FreeBSD ftp(1) be enhanced that way, [ObTopic, slime slime]
> to use fetch(3) for that purpose?

This is where a useful tool like wget comes into play.  Wget can be pretty
much used as an automated replacement for fetch, or FTP URL retrieval.  Can
also be plugged into the whole ports system so that it can retrieve the
ports data packages.

> 
> I'd really love to have yet another superfluous userland tool like
> fetch(1) go away, especially because it collides in namespace with
> another fetch program and the functionality could be very well
> integrated with the ftp utility.  Personally, I find fetch(1) a bad idea.
> 
root@rucus:~# ls -lad `which fetch`
-r-xr-xr-x  1 root  wheel  35300 Jun 11 22:10 /usr/bin/fetch
root@rucus:~# ls -lad `which wget`
-r-xr-xr-x  1 root  wheel  103240 Dec 23 1998 /usr/local/bin/wget
root@rucus:~# ls -lad `which ftp`
-r-xr-xr-x  3 root  wheel  72312 Jun 11 22:10 /usr/bin/ftp

as this shows fetch is a far more leightweight implementation.  Important
when considering its use in systems like picobsd, or other small projects. 
The whole *nix philosophy is to have a myrid of tools that all do a job, and
the joy/pain, comes in the blending, and linking of these tools together
in order to perform a complex task.

Barry

-- 
--
Barry Irwin IRC:  balin@zanet (#linux)
[EMAIL PROTECTED]   http://rucus.ru.ac.za/~bvi
Whois BI414 - PMPN8EZ - http://moria.org
--


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



Re: your mail

1999-10-03 Thread Harold Gutch

On Sun, Oct 03, 1999 at 07:22:19AM +0200, Matthias Buelow wrote:
> BTW.. although risking to be off-topic by miles, I always liked the way
> how NetBSD's ftp(1) (since 1.4 or so) implemented http and ftp URL
> fetching and thus eliminated the need for a fetch(1) command.
> Couldn't the FreeBSD ftp(1) be enhanced that way, [ObTopic, slime slime]
> to use fetch(3) for that purpose?
> 
> (Or just "steal" the NetBSD implementation, FreeBSD aren't the Knights
> who say NIH, I would hope.)
> 
NetBSD's ftp(1), was stolen^Wadded to FreeBSD quite a while ago, I
think it happened around 2.2.2. Our ftp(1) has HTTP and
FTP-support since then.
It doesn't use fetch(3) though, but I guess one can live with
that :).

bye,
  Harold

-- 
 Sleep is an abstinence syndrome wich occurs due to lack of caffein.
Wed Mar  4 04:53:33 CET 1998   #unix, ircnet


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



sudo [was: Re: your mail]

2000-12-06 Thread Greg Black

David Talkington wrote:

> sudo definitely helps if it's carefully administered, but it still
> grants root access to a file,

This is wrong -- sudo will grant access with whatever user
privileges you wish to grant, maybe root and maybe some other
user.  It all depends on the way you set it up.

It can also allow a selected set of users to run just one
command with some specific set of arguments.  It is quite a
flexible tool, although that comes at a price -- somewhat
difficult syntax in the config file for non-trivial tricks.


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



Re: sudo [was: Re: your mail]

2000-12-06 Thread Drew Eckhardt

In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>David Talkington wrote:
>
>> sudo definitely helps if it's carefully administered, but it still
>> grants root access to a file,
>
>This is wrong -- sudo will grant access with whatever user
>privileges you wish to grant, maybe root and maybe some other
>user.  It all depends on the way you set it up.

Unlike a potential ACL solution, sudo also logs which privledged
commands were executed when and how, thus letting you know who
within the hierchy broke what and how...


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



Re: sudo [was: Re: your mail]

2000-12-06 Thread David Talkington

Greg Black wrote:

>> sudo definitely helps if it's carefully administered, but it still
>> grants root access to a file,
>
>This is wrong -- sudo will grant access with whatever user
>privileges you wish to grant, maybe root and maybe some other
>user.  It all depends on the way you set it up.

Wow, the gaps in my education ... thanks, and apologies.  I'll go read
some more... -d




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