Linux-Misc Digest #587, Volume #25               Sun, 27 Aug 00 19:13:02 EDT

Contents:
  Re: [Q] How to compile kernel in Debian / Storm (Jerome Mrozak)
  Re: X ([EMAIL PROTECTED])
  Re: Linux, XML, and assalting Windows
  Re: Operating system file name restrictions? Where? (NF Stevens)
  Re: Bash Scripting Question (Dave Brown)
  Re: Firewall for Linux (Tim Haynes)
  How to e-mail files? ("cedric")
  Re: Members of root group ("Andrew N. McGuire ")
  Re: Compiling GNOME - Compiler can't find GDK-Pixbuf (Colin Watson)
  RE: Borland C++ for Linux ("Stuart Mika Hankel")
  Re: Headless X86 Linux system ("William Alexander Segraves")
  RE: RE: Borland C++ for Linux ("Stuart Mika Hankel")
  Disk clone redux (MH)
  Re: How to e-mail files? (Glitch)

----------------------------------------------------------------------------

From: Jerome Mrozak <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: [Q] How to compile kernel in Debian / Storm
Date: Sun, 27 Aug 2000 16:10:46 -0500

Thanks for the references.  I eventually found the kernel-package stuff
on the Debian potato disk, not on the Storm disk.

Except for this APM/(recompile kernel) stuff, this Storm hail release
looks interesting.

Jerome.


Tom Pfeifer wrote:
> 
> Below is the web page the the Debian potato kernel-package, which
> provides an automated way to compile a kernel. I run Debian, not Storm,
> so I don't know for sure if this package will be completely compatible
> with Storm Linux, although it should be:
> 
> http://www.debian.org/Packages/stable/misc/kernel-package.html
> 
> In any case, you will also have to install the Linux kernel source
> tree. That is what goes in /usr/src/linux.
> 
> I just took a look on Storm's ftp site (ftp.stormix.com) in the "hail"
> directory, and there are two kernel-source packages there. One looks
> like the full kernel, while the other has "ide" in the package name. You
> can see them here:
> 
> ftp://ftp.stormix.com/storm/dists/hail/main/binary-i386/devel/
> 
> Since you are running "hail", I would assume that these packages would
> also be on your hail CD. Looks like the preferred way to install
> packages in Storm Linux is by using the Storm Package Manager. That
> should automatically handle all the package dependencies for you.
> 
> You should be able to configure it to install packages from your CD, or
> directly from the Storm (or Debian) ftp site. By the way, here's the
> Storm web page for their package manager:
> 
> http://www.stormix.com/products/hail/starter/stormpkg_html
> 
> In addition to the kernel source, you will need several other packages
> to actually compile a kernel, including the gcc compiler, the make
> utility, and the bin86 package. That web page I gave you for the
> kernel-package package, gives you a run down on what's needed,
> recommended, and suggested.
> 
> Tom
> 
> Jerome Mrozak wrote:
> >
> > I'd like to try using Storm Linux on my laptop, a Debian-derived
> > distro.  One problem I'm having is that apmd isn't supported in the
> > "potato" kernel.  I'm having trouble finding the packages to compile it.
> >
> > For example, the Debian recommened packages for compiling is the combo
> > of "make-kpkg" and "kernel-package".  I can't seem to find them on my
> > Stormix hail ISO, and wasn't able to coerce the SPS system to find them
> > on my Debian potato ISO.  (I simply mounted the potato disk and told SPS
> > to Find "kernel".  It appeared to use a pre-loaded list of packages,
> > rather than investigate my newly-loaded CD.)
> >
> > I also tried to find the files for "make menuconfig", "make xconfig" and
> > "make config", but with no success (most advice said to look in
> > /usr/src/linux, which didn't exist in my Stormix "install everything"
> > installation).
> >
> > So how can I add apmd support?
> >
> > TIA,
> > Jerome.
> > --
> > Jerome Mrozak          "Never buy a dog and bark for yourself"
> > [EMAIL PROTECTED]     --"Slippery" Jim DiGriz
> >                          (the Stainless Steel Rat)

-- 
Jerome Mrozak          "Never buy a dog and bark for yourself"
[EMAIL PROTECTED]     --"Slippery" Jim DiGriz
                         (the Stainless Steel Rat)

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.unix.solaris
Subject: Re: X
Date: Sun, 27 Aug 2000 21:21:16 GMT

In article
<[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Paul Wilson) wrote:
> On Sun, 27 Aug 2000 17:30:24 GMT, [EMAIL PROTECTED] wrote:
>
> >Hi,
> >
> >I'm trying to run an graphical application (such as netscape) on a
> >SunOS, where I don't have root access, while telneting from a Linux,
> >where I'm the sysadmin. I  get the following error:
> >
> >SunOS$ netscape
> >Xlib: connection to "my.linux.machine:0.0" refused by server
> >Xlib: Client is not authorized to connect to Server
> >Error: Can't open display: my.linux.machine:0
> >
> >What can I do to rectify this?
>
> On your linux machine, do xhost + remote.sunos.machine
>
> Paul
>

Tried it, also set "DISPLAY=local.linux:0" Still doesn't work. The error
message is just "Can't open display". Help!

Wroot


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.text.xml,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Linux, XML, and assalting Windows
Date: Sun, 27 Aug 2000 14:32:48 -0700
Reply-To: <[EMAIL PROTECTED]>


Tad McClellan <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sat, 26 Aug 2000 19:27:47 +1000, Ian Pulsford <[EMAIL PROTECTED]>
wrote:
> >[EMAIL PROTECTED] wrote:
> >
> >> Ian Pulsford <[EMAIL PROTECTED]> wrote in message
> >> news:[EMAIL PROTECTED]...
>
> >> It seems that too many people are so worked up about the XML format
that
> >> they are crediting it with magical properties.
> >
> >Yeh, there seems to be a lot of hype.  I guess it's the new toy syndrome.
>                                                          ^^^^^^^
>
>
> Structured markup is not new. It is (at least) 20 *years* old.
>
> I am dumbfounded that most everybody thinks that XML is
> "something new"...
>
>
> So it isn't really "new toy" syndrome, it is more like
> "a very old toy that I just now discovered" syndrome   :-)

XML is something "new"; but, it is just a new implementation of the same old
idea.  Take an old idea reimplement it, give it a new name, throw in a few
new term and a lot of hype.  That is all XML really is.  The problem is that
too many people read the hype and don't really understand what it really is,
soon you hear about XML replacing programs.  In time the reality of the
situation starts to sink in, but in the mean time what foolishness does it
generate!

I have seen all this so many times before.  Some of the problem seems to be
that the neophytes discount the vaule of the wisdom of experience.  So
instead of learning from us they have too make all the same mistakes that
were made before and have to learn the lessons first hand.  And then there
are thoise who never learn and fall for it over and over again.



------------------------------

From: [EMAIL PROTECTED] (NF Stevens)
Crossposted-To: 
comp.sys.mac.programmer.help,comp.sys.mac.programmer.misc,comp.sys.mac.misc,microsoft.public.windowsnt.misc
Subject: Re: Operating system file name restrictions? Where?
Date: Sun, 27 Aug 2000 21:45:35 GMT

[EMAIL PROTECTED] (David C.) wrote:

>Keep it to Usenet please <[EMAIL PROTECTED]> writes:
>> 
>> well, try:
>> 
>> touch somecmd\ \<\ input.txt\ \>\ output.txt
>> 
>> It might actually create a file called:
>>    "somecmd < input.txt > output.txt"
>
>On UNIX, it definitely will work.  And when your shell performs wildcard
>expansion, and that name gets matched, all hell will break loose.
>
>For example, if you would then type:
>
>        cat some*
>
>the actual command line processed would be:
>
>        cat somecmd < input.txt > output.txt
>
>It would fail to find the files somecmd and input.txt (unless they also
>exist), and would write to output.txt.

Since the shell interprets redirections before
expanding wildcards what happens is that cat
gets executed with one parameter, the string
"somecmd < input.txt > output.txt" which it
attemps to process.

Norman

------------------------------

From: [EMAIL PROTECTED] (Dave Brown)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
Subject: Re: Bash Scripting Question
Date: 27 Aug 2000 17:00:54 -0500

On Sat, 26 Aug 2000 23:41:39 +0200, johnny B <[EMAIL PROTECTED]> wrote:
>> First question:
>> suppose i have a text file (lets call it "myfile") that contains one
>> piece of information per line like this:
>> -------myfile----------
>> www.bob.com
>> www.fred.com
>> www.albert.com
>> www.egg.com
>>
>> now, in my bash script, i say:
>>  variable=`cat myscript`;
>>  echo "$variable";
>>
>> this prints out the original information as it's supposed to (with the
>> proper newline characters).
>> but if i then say:
>>  variable=`echo $variable`;
>>  echo "$variable";
>> all the newline characters get replaced by spaces. so my output becomes:
>>
>> www.bob.com www.fred.com www.albert.com www.egg.com

The "echo" command returns list of "command line args" separated by 
single spaces.  The command-line args are individually separated by 
one or more "IFS" characters. (IFS includes space, tab, newline).
That's why the second situation 'loses' its newline chars.  In the first 
case the newlines where stored in the variable, so echo wasn't using them 
as field separators for arguments.

>> second question:
>> is it possible to assign the return value of a function to a variable?
>> eg.
>>
>> myFunction()
>> {
>>  return "5";
>> }
>>
>> variable=myFunction;
>>
>> here, i want $variable to contain the number 5, not the word
>> "myFunction". how can i do this?

The "return code" produced by an "exit" or "return" statement is not a 
returned >value<.   Return codes are accessible by looking at $?.  In 
your example: 

  myFunction ; variable=$? 

should produce the result you look for, although this is not what return 
codes are for.

-- 
Dave Brown  Austin, TX

------------------------------

From: [EMAIL PROTECTED] (Tim Haynes)
Crossposted-To: 
alt.os.linux,comp.os.linux.networking,comp.os.linux.setup,uk.comp.os.linux
Subject: Re: Firewall for Linux
Date: 27 Aug 2000 22:59:58 +0100

[EMAIL PROTECTED] (Donald K Knepshield) writes:

[]
> PMFirewall is another one that works well.  www.pmfirewall.com/PMFirewall 
> interested.

I once saw the results of running it. I wasn't all that impressed[i].

What's wrong with ipchains either in a script of your own design - you
know, you, keyboard, vim or (X)emacs, DIY - or something concocted in
e.g. gfcc?

~Tim

Footnotes: 
[i]  I expected a deny-by-default and log-all with holes allowed and
continuations firewall. It came out with dodgy policies and excessive rules
`closing' various ports.. duh.

-- 
| Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++ 
| w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y-           
| The sun is melting over the hills,         | http://piglet.is.dreaming.org/
| All our roads are waiting / To be revealed | [EMAIL PROTECTED]

------------------------------

From: "cedric" <[EMAIL PROTECTED]>
Subject: How to e-mail files?
Date: Sun, 27 Aug 2000 15:06:57 -0800

How do I e-mail a file written in Red Hat Linux - Star Office 5.2 to a
machine running MS Word in Windows 2000? My concern is how to deal with
permissions.

Please respond to [EMAIL PROTECTED]

Thanks, cedric


------------------------------

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Members of root group
Date: Sun, 27 Aug 2000 17:05:10 -0500

On Sun, 27 Aug 2000, Jerry L Kreps quoth:

~~ Date: Sun, 27 Aug 2000 07:10:47 -0500
~~ From: Jerry L Kreps <[EMAIL PROTECTED]>
~~ Newsgroups: comp.os.linux.misc
~~ Subject: Re: Members of root group
~~ 
~~ Oscar Rau wrote:
~~ > 
~~ > I am planning to add some normal users to root group, so they can
~~ > analyze the root logs and later on be able to start some programs that
~~ > can be started only by root. If I do so, will this user be the same as root?
~~ > Can he/she create and delete filesystems or devices?
~~ > 
~~ > Thanks for any input.
~~ > --
~~ > 
~~ > Oscar Rau
~~ > osca003 at attglobal.net
~~ 
~~ AFAIK, if a user is in root's group the userr has root's permissions.

Nope, the uid is what determines superuser priveledges:

root@hawk:~# useradd -g 0 -s /bin/sh -m -d /toor toor
root@hawk:~# su - toor

Fast ship?  You mean you've never heard of the Millennium Falcon?
                -- Han Solo

toor@hawk:~$ id
uid=1003(toor) gid=0(root) groups=0(root)
toor@hawk:~$ cat /etc/shadow
cat: /etc/shadow: Permission denied

~~ It would be better to do something along these lines: create a separate
~~ group (for example: logreaders) and add those users and root to that
~~ group.  Then change the ownership of those logs and selected programs to
~~ root:logreaders and set permissions on each log or program
~~ appropriately.

That is a better idea, another idea would be to use sudo.  Just make
sure that the program you allow them won't allow them to damage things,
as in cat, or vi, or even more.  With more you can use v to get into
vi, then :! commands.  So you will have to be REALLY careful if you 
elect to use sudo.

Regards,

anm
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Andrew N. McGuire                                                      ~
~ [EMAIL PROTECTED]                                              ~
~ "Plan to throw one away; you will, anyhow." - Frederick P. Brooks, Jr. ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


------------------------------

From: [EMAIL PROTECTED] (Colin Watson)
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.setup
Subject: Re: Compiling GNOME - Compiler can't find GDK-Pixbuf
Date: 27 Aug 2000 21:59:19 GMT

Ken Conroy <[EMAIL PROTECTED]> wrote:
>For some reason, after making and installing (via the included
>instructions) the gdk-pixbuf library (this is one of the few that do
>not come with a .spec file, so I just did a normal ./configure, make,
>make install) the next components to be compiled and installed (all the
>components listed before gdk-pixbuf compiled into RPMs and then
>installed without a hitch) I recieved a message telling me that the
>compiler couldn't find the gdk-pixbuf library.

The runtime library (the bit that lets you run programs linked against
the library) is not the same as the development library (the bit that
lets you compile programs linked against the library). Did you also
build and install the development library?

>My current non-default compiler options (or rather, the options used by
>the configure script) are as follows:
>MACHTYPE=i686-mandrake-linux-gnu
>HOSTTYPE=i686
>CFLAGS="-06 -fomit-frame-pointer -mpentiumpro -mcpu=pentiumpro
>-march=pentiumpro -ffast-math -fexpensive-optimizations"

Hmm. Well, I would use somewhat more conservative options, but I guess
mad optimizations are what Mandrake is about. ;)

-- 
Colin Watson                                     [[EMAIL PROTECTED]]
"Is this legal?"
"That question is OFF-TOPIC here." - alt.binaries.cracks FAQ

------------------------------

From: "Stuart Mika Hankel" <[EMAIL PROTECTED]>
Subject: RE: Borland C++ for Linux
Date: Sun, 27 Aug 2000 20:43:15 GMT

Thanks.

Stuart


Kyle Parfrey <[EMAIL PROTECTED]> escribió en el mensaje de noticias
[EMAIL PROTECTED]
> If you're using a rpm based system (red hat, mandrake, SuSe etc.) try
> rpmfind.net . I haven't tried tuxsearch.com , and there is always
> ftpsearch.lycos.com .
>
> Kyle
>
> Stuart Mika Hankel wrote:
>
> > Any direction to go to? I don't know where to start searching for Linux
> > software. Do you know of a special ftp or something similar?
> >
> > Mr. Ed <[EMAIL PROTECTED]> escribió en el mensaje de noticias
> > [EMAIL PROTECTED]
> > > > Stuart Mika Hankel wrote:
> > > >
> > > > Hello. Does anyone know of a version for Linux for development in C?
I
> > mean
> > > > an environment for debugging, like Borland C++ for DOS.
> > > > Thanks
> > > >
> > > > Stuart
> > > >
> > > You can try the GNU C++ compiler and the UPS debugger.
> > > There is also the Code Crusader editor that has an integrated debugger
> > add-on.
> > > They're all free off the Web.
> > >
> > > Mr. Ed
> > >
>



------------------------------

From: "William Alexander Segraves" <[EMAIL PROTECTED]>
Subject: Re: Headless X86 Linux system
Date: Sun, 27 Aug 2000 17:09:54 -0500
Reply-To: "William Alexander Segraves" <[EMAIL PROTECTED]>

Three linux systems here, sharing one monitor. The monitor moves to
whichever machine I need to "see". Otherwise, the Linux systems don't care
if the monitor is connected or not. When I want to work on one of the
monitorless machines, I simply rlogin (from a Linux machine) or telnet (from
a Windows machine), or move the monitor.

Bill Segraves
Auburn, AL
"mst" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> fred smith wrote:
> >
> > My employer is preparing to ship a turnkey Linux system complete with
> > one of our applications.
> >
> > The question came up whether it was necessary to include a monitor and
> > keyboard, or if it could be run "headless".
> >
> > As far as I know, you need (or at least ought to have) a monitor/video
> > card/keyboard for the boot process if for no other reason than to allow
> > you to view the POST and any BIOS errors that may occur.
> >
> > Does anyone have any experience with headless X86 Linux boxes, or
> > can someone point me to HOWTOs or other docs on the subject?
> >
> > Thanks!
> >
>
> If your hardware allows it (i.e. if it boots without having a keyboard
> and video card), then Linux won't care. I had to setup a
> headless/kbd-less box once, and the only problem I had was to find a
> motherboard that will boot without them (I eventually ended up with a
> Octek Hippo DCA2, probably the best 486 motherboard ever built, complete
> with MrBios BIOS). I then put in all the hardware I needed, as well as a
> temporary vidcard and keyboard; setup Linux as usual, configured
> networking, attached to network and made sure it worked, then stripped
> out the vidcard and keyboard. That was all. Works perfectly, 2 years
> next month.
>
> MST



------------------------------

From: "Stuart Mika Hankel" <[EMAIL PROTECTED]>
Subject: RE: RE: Borland C++ for Linux
Date: Sun, 27 Aug 2000 20:43:30 GMT

Thanks.

Stuart


Garry Knight <[EMAIL PROTECTED]> escribió en el mensaje de noticias
[EMAIL PROTECTED]
> "Stuart Mika Hankel" <[EMAIL PROTECTED]> wrote:
>
> >Where can i get the KDK?
>
> Try here: http://www.kde.org
>
> --
> Garry Knight
> [EMAIL PROTECTED]
>



------------------------------

From: MH <[EMAIL PROTECTED]>
Subject: Disk clone redux
Date: Sun, 27 Aug 2000 15:36:18 -0700
Reply-To: [EMAIL PROTECTED]

Following the advice given in a response to someone else's question
about cloning a system disk, I was delighted to find that a simple cp
/dev/sda /dev/sdb command creates a perfect, bootable backup system
drive (assuming the drives are physically identical). Very cool.  Just
enter the above command in cron and run it daily and you have the best
backup solution there is unless you need off-site storage, IMO.  It's
faster, more reliable, and cheaper than tape, not to mention a helluva
lot easier if you need to restore your system rather than simply
restoring data.

I tried using the same technique on a dual-boot system, and I think it
worked, since the cloned image of the Windows partition appears as drive
D: under Windows.  However, drive D: does not appear in fdisk (DOS
version), which seems odd.  Also, I cannot mount any of the Linux
partitions from the cloned drive, which also seems odd. Also, df and
fdisk don't report the partitions correctly.

When I have some time, I'll physically disable my system drive,
re-jumper the clone drive, and attempt a boot to see if the clone is
actually usable.
-- 
"The worst form of inequality is to try to make unequal things equal."

                                        --Aristotle

------------------------------

Date: Sun, 27 Aug 2000 19:08:56 -0400
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: How to e-mail files?

There won't be any permissions. Just like when you mount a dos
filesystem under Linux. The dos files do not have permissions b/c they
can't.  As for emailing, save the Staroffice document in Word format,
however I believe Staroffice is only compatible up to Word97 so you are
out of luck if the person uses Office 2000. Just save it and email it as
Word97 if possible.

HTH
Brandon

cedric wrote:
> 
> How do I e-mail a file written in Red Hat Linux - Star Office 5.2 to a
> machine running MS Word in Windows 2000? My concern is how to deal with
> permissions.
> 
> Please respond to [EMAIL PROTECTED]
> 
> Thanks, cedric

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to