Linux-Misc Digest #892, Volume #24 Thu, 22 Jun 00 16:13:02 EDT
Contents:
A bash bug? (Mark Bratcher)
Re: CD burning software (besides cdrecord)! (Dances With Crows)
Re: smooth fonts under X
increase partition size? ("David E. Gordon")
Re: REBOL ("Zorro")
Converting to Word files to PDF/HTML? (Andre-John Mas)
Re: increase partition size? (Dances With Crows)
Re: ifconfig required? (Johan Kullstam)
Easy way to send files through FTP... (Hendrix)
Re: The X Server... (Hendrix)
Re: Easy way to send files through FTP... (Andreas Schweitzer)
Cannot install new Mandrake. Help!!! ([EMAIL PROTECTED])
Re: Looking for command line Linux version of Winpopup (Bill Grzanich)
Re: Converting to Word files to PDF/HTML? (Bob Tennent)
Re: Binary <> Linux and Ethernet cards (Paul Kimoto)
New Question (Matt Barnett)
getenv(), LD_LIBRARY_PATH and setuid (U.V. Ravindra)
Re: smooth fonts under X (brian moore)
Re: getenv(), LD_LIBRARY_PATH and setuid (brian moore)
Re: Fdisk and dos (rez)
Re: ifconfig required? (brian moore)
----------------------------------------------------------------------------
From: Mark Bratcher <[EMAIL PROTECTED]>
Subject: A bash bug?
Date: Thu, 22 Jun 2000 14:16:39 -0400
This is a multi-part message in MIME format.
==============BB460619D19617E3F3ABB1EA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi.
When I use bash as my login shell, I cannot create/write/delete/move a
file that exists under a directory that I don't own, but under which I
have group write permissions. Using csh, I have no problem.
I think this needs an example:
Suppose I have the following directory:
drwxrwxr-x 5 fred users 1024 May 30 10:28 ShareDir
Suppose further that I am logged in as 'bill' who is also in the 'users'
group. If the /etc/passwd file has /bin/bash as the login shell for
'bill', and I change directory to ShareDir, I do not have permission to
create a file there. However, if I set the login shell for 'bill' in
/etc/passwd to be /bin/csh, I _am_ able to create a file under ShareDir
when logged in as 'bill'.
Is this a bug somewhere with bash? BTW, I'm running RedHat 6.2, kernel
2.2.14-5
Thanks.
Mark
==============BB460619D19617E3F3ABB1EA
Content-Type: text/x-vcard; charset=us-ascii;
name="bratcher.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mark Bratcher
Content-Disposition: attachment;
filename="bratcher.vcf"
begin:vcard
n:Bratcher;Mark
tel;fax:716/288-4604
tel;work:716/288-7220
x-mozilla-html:FALSE
url:www.tpr.com
org:Torrey Pines Research
version:2.1
email;internet:[EMAIL PROTECTED]
title:Director of Software Development
adr;quoted-printable:;;565 Blossom Road=0D=0ASuite B;Rochester;New York;14610;USA
x-mozilla-cpt:;1104
fn:Bratcher, Mark
end:vcard
==============BB460619D19617E3F3ABB1EA==
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: CD burning software (besides cdrecord)!
Date: 22 Jun 2000 14:23:06 EDT
Reply-To: [EMAIL PROTECTED]
On Thu, 22 Jun 2000 18:37:18 +0200, Mats Pettersson
<<8itfbi$en4$[EMAIL PROTECTED]>> shouted forth into the ether:
>I looked at cdrecord but it seems to need enogh HD drive space to contain a
>image file of the data to be burned. Since the problem is that i don't have
>much space left on my drive i would like to burn the data directly to the
>CD.
>Is this possible (in a easy way)?
mkisofs -r -J /path/to/where/data/is | cdrecord -v dev=BLAH speed=BLAH -
Dissection: -r is for Rock Ridge extensions. -J is for Joliet
extensions. /path... is where the data is stored on your drive. | pipes
the output of mkisofs (an image of the CD) to the next program,
cdrecord. -v stands for verbose, dev= and speed= should be pretty
self-explanatory, and the lone - means "read from standard input." Since
mkisofs by default outputs to stdout, the | and - link the two programs
together, making cdrecord read directly from mkisofs. No need for an
ISO image file at all.
--
Matt G / Dances With Crows /\ "Man could not stare too long at the face
\----[this space for rent]-----/ \ of the Computer or her children and still
\There is no Darkness in Eternity \ remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: smooth fonts under X
Date: Thu, 22 Jun 2000 18:24:28 GMT
On Thu, 22 Jun 2000 11:26:57 +0200, Adrien LAURENT <adrien.laurent@netcourrier
.com> wrote:
>Hi, I'd like to know if there is a soft or an option that enable u to make
>X's fonts smoother.
Use a better font. Apps like Netscape look a whole lot better when
they aren't trying to conform to some windows-centric web designer's
notion of fonts. The same is true of Star Office as well.
------------------------------
From: "David E. Gordon" <[EMAIL PROTECTED]>
Subject: increase partition size?
Date: Thu, 22 Jun 2000 19:25:11 +0100
How do I (or can I) make one of my partitions bigger without wiping
everything and starting again? I only have Linux on my machine. Is there
is Linux "partition magic" like product out there?
Help!!!
------------------------------
From: "Zorro" <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.misc,comp.sys.be.misc,comp.sys.amiga.misc
Subject: Re: REBOL
Date: Thu, 22 Jun 2000 20:31:49 +0200
>The site was done using Rebol, or the software? I couldn't find anything
>about that, is this statement on the web site somewhere?
The site, of course. Check the news-section (Rebolized the site [ 17th
September 1999 ]):
http://www.paulnolan.com/Amiga/news.html
------------------------------
From: Andre-John Mas <[EMAIL PROTECTED]>
Subject: Converting to Word files to PDF/HTML?
Date: Thu, 22 Jun 2000 18:26:31 GMT
Hi,
Could someone tell me whether there is any command line program that
will allow me to convert an MS-Word document, and maybe even RTF,
to PDF or/and HTML. What I need it for is our document server. Most
people here will write their documents in MS-Word or RTF, and when
the documents are submitted to the document server, I would like it
so that PDF and HTML documents are made available so that people
without MS-Word on their machine can still read the document.
Maybe there is already such a project somewhere?
Thanks
Andre
--
http://www.bigfoot.com/~ajmas/
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: increase partition size?
Date: 22 Jun 2000 14:44:25 EDT
Reply-To: [EMAIL PROTECTED]
On Thu, 22 Jun 2000 19:25:11 +0100, David E. Gordon
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>How do I (or can I) make one of my partitions bigger without wiping
>everything and starting again? I only have Linux on my machine. Is there
>is Linux "partition magic" like product out there?
The time-honored way to do this is to back up the affected partitions, use
fdisk to change the partition table, then restore from backup. However,
you might have a look at "parted". This can't modify the size of a mounted
partition, so if you want to change / , you will have to go through
contortions/boot from a rootboot floppy.
--
Matt G / Dances With Crows /\ "Man could not stare too long at the face
\----[this space for rent]-----/ \ of the Computer or her children and still
\There is no Darkness in Eternity \ remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me
------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: ifconfig required?
Date: 22 Jun 2000 14:17:40 -0400
"Ross M. Greenberg" <[EMAIL PROTECTED]> writes:
> So, I got my ISA Realtek8019 card working. Sorta. pnpdump generated an
> almost usable conf file; stealing stuff from the Windows side of things got
> me a legit IO address and IRQ.
> However, I have to manually do an ifconfig and feed it its IP -- else there
> no eth0. I can certainly stick the needed lines/commands into an rc
> file,
yes. this is what i would do.
> but there has to be a better way.
what way would be better? putting the IP number &c into some config
file? isn't that rc file a config file of sorts?
> Is there?
i don't know. is there?
--
johan kullstam l72t00052
------------------------------
From: Hendrix <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.networking,comp.protocols.tcp-ip,comp.programming
Subject: Easy way to send files through FTP...
Date: Thu, 22 Jun 2000 16:06:41 -0230
Hi guys.
Is there a quick and easy method of sending a file to an FTP
site...!!!!!!! I looking for a shell script, perl script, C/C++
program... Anything, as long as it is fairly simple...
Basically, what I want it to do is to connect to the ftp server with an
already defined username and password, and automatically send the
file... I would like the whole process to be transparent... When the
script/program is executed, it will do the task and then terminate...
Nothing needs to be inputted by the user, and nothing needs to be
returned to the screen...
Sincerely, and thanks...
--
Trevor Penney,
A+, Network+ Certified
======================
That's alright, I still have my guitar...!!!!
------------------------------
From: Hendrix <[EMAIL PROTECTED]>
Crossposted-To: nf.comp.linux,alt.os.linux,comp.os.linux.x
Subject: Re: The X Server...
Date: Thu, 22 Jun 2000 16:18:20 -0230
> When people hear "server", they think "something running on a remote
> computer." This is often true, but not in this case. The X-server runs
> on your local computer and handles things like drawing lines, text, and
> points on your screen. An X client can be running almost anywhere (on a
> remote computer in Paraguay, on the machine 50 feet down the hall, or on
> the same machine as the server) as long as it has a connection to the X
> server and can tell the server to draw things on the screen. The only
> special software that's required is an X server (Xfree86, AccelX, MiX, and
> 5 or 6 others), an X client (too many to list), and a fast network
> connection if those 2 aren't on the same machine.
>
Okay... So basically, what I am seeing on the screen when I use KDE or GNOME, is
just the X server responding to instructions from the X client.... So really, the
computer running the X server could be a stand-alone computer without an x client
at all.... And the x client can run from any computer on any given network
(without the X server software on that computer), and connect to the computer that
is hosting the X server. That sounds like the same client/server relationship
that I'm used to.... Bear with me, I'm very new to Linux...!!!!!*smile*
>
> >A+, Network+ Certified
>
> Hmm.
>
What's the "Hmm" for...????*smile*
--
Trevor Penney,
A+, Network+ Certified
======================
That's alright, I still have my guitar...!!!!
------------------------------
From: [EMAIL PROTECTED] (Andreas Schweitzer)
Crossposted-To: alt.os.linux,comp.os.networking,comp.protocols.tcp-ip,comp.programming
Subject: Re: Easy way to send files through FTP...
Date: 22 Jun 2000 18:57:27 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Hendrix wrote:
>Basically, what I want it to do is to connect to the ftp server with an
>already defined username and password, and automatically send the
>file... I would like the whole process to be transparent... When the
>script/program is executed, it will do the task and then terminate...
>Nothing needs to be inputted by the user, and nothing needs to be
>returned to the screen...
Have you looked in ncftp and tools ?
$ apropos ncftp
ncftp (1) - Browser program for the File Transfer Protocol
ncftpbatch (1) - Batch FTP job processor daemon
ncftpget (1) - Internet file transfer program for scripts
ncftpls (1) - Internet file transfer program for scripts
ncftpput (1) - Internet file transfer program for scripts
Andreas
--
Andreas Schweitzer
http://dilbert.physast.uga.edu/~andy/
This post is brought to you by VIM, slrn and FreeBSD
------------------------------
From: [EMAIL PROTECTED]
Subject: Cannot install new Mandrake. Help!!!
Date: Thu, 22 Jun 2000 19:10:34 GMT
Have successfully installed and used Mandrake 6.1. Now I would like to
benefit from the new Mandrake distros designed especially to improve
performance on machines with newer Pentium processors (with i586
index). Don't know why I cannot do that neither installing from hard
drive nor from iso image on CD. The installer of mandrake 7.0 or 7.1
asks me to chose the partition with the RPMs and base files. I usually
gather them on a logical disk. After selection I soon get the message:
In second stage install installation excited abnormally. Then the
installer system shuts down and the game is over. Has anybody any
suggestion about what it can possibly mean or what I should do with
that problem. I work on PC with Celeron 366 MHz, 32 MB RAM, 13 GB hard
disk divided into several partitions, Award Bios managing LBA - I never
had any problems with the size nor location of my linux partitions.
please help me!!! :-)
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Bill Grzanich)
Crossposted-To: comp.os.linux.networking
Subject: Re: Looking for command line Linux version of Winpopup
Date: Thu, 22 Jun 2000 19:24:45 GMT
If you have Samba installed, you can use "smbclient -M <user>". From a
script, you may want to pipe the contents of a file to it like this:
cat somefile.txt | smbclient -M someuser
Hope this helps.
-Bill
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
>I am looking for a command line version of Winpopup for Linux. So far,
>I have only found Linpopup which is graphical. I need something I can
>call from scripts and from the console.
>
>Any suggestions ?
>
>Cheers,
>
>
>Sean.
>
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: Converting to Word files to PDF/HTML?
Date: 22 Jun 2000 19:12:43 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 22 Jun 2000 18:26:31 GMT, Andre-John Mas wrote:
>
> Could someone tell me whether there is any command line program that
> will allow me to convert an MS-Word document, and maybe even RTF,
> to PDF or/and HTML. What I need it for is our document server. Most
> people here will write their documents in MS-Word or RTF, and when
> the documents are submitted to the document server, I would like it
> so that PDF and HTML documents are made available so that people
> without MS-Word on their machine can still read the document.
WV is a library and suite of programs that understands the Microsoft Word
binary file format (Office97) and is able to convert Word documents into
HTML, which can then be read with a browser.
Also, check out
http://wheel.compose.cs.cmu.edu:8001/cgi-bin/browse/objweb
Bob T.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Binary <> Linux and Ethernet cards
Date: 22 Jun 2000 15:42:52 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Binary wrote:
> I'm trying to install an ethernet card. The model is D-Link 550-TX,
> but I haven't found any dirvers. What can I do? Any advice?
Reputedly this card uses a "Sundance" chip. If so, it may be supported
by Donald Becker's (who else?) driver available through
http://www.scyld.com/network/via-rhine.html
--
Paul Kimoto
------------------------------
Subject: New Question
From: Matt Barnett <[EMAIL PROTECTED]>
Date: Thu, 22 Jun 2000 19:44:11 GMT
I've been reading A LOT about Linux. I understand the complicated process of
installing this OS.
My question is this:
Which is the better of the distributions?
Red Hat 6.2, SuSE, Mandrake, Turbo Linkux ...
------------------------------
From: U.V. Ravindra <[EMAIL PROTECTED]>
Subject: getenv(), LD_LIBRARY_PATH and setuid
Date: Thu, 22 Jun 2000 19:38:40 GMT
Hi,
Anybody know of a problem with getenv() running in the
context of a setuid program? The problem I'm having is
that the value of LD_LIBRARY_PATH in the parent shell
isn't being inherited by the following program if the
sticky bit is set.
[Interestingly, with the sticky bit on, while LD_LIBRARY_PATH
loses definition, LD_RUN_PATH does not lose definition!]
Any and all help will be greatly appreciated.
% gcc -o ge ge.c
% ls -l ge.c
-rwxr-xr-x 1 uvr users 157904 Jun 22 11:36 ge
% ge
LD_LIBRARY_PATH is set
[At this juncture, the 'root' user changes the ownership of 'ge']
% ls -l ge.c
-rwxr-xr-x 1 root root 157904 Jun 22 11:36 ge
%ge
LD_LIBRARY_PATH is set
[Now, 'root' changes the permissions of the file]
% ls -l ge.c
-rwsr-sr-x 1 root root 157904 Jun 22 11:36 ge
%ge
LD_LIBRARY_PATH is not set
% cat ge.c
--
#include <stdio.h>
#include <stdlib.h>
main() {
char *ge=NULL;
ge=getenv("LD_LIBRARY_PATH");
if (ge==NULL)
printf("LD_LIBRARY_PATH is not set\n");
else
printf ("LD_LIBRARY_PATH is set\n");
}
--
UVR.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: smooth fonts under X
Date: 22 Jun 2000 19:56:38 GMT
On Thu, 22 Jun 2000 11:26:57 +0200,
Adrien LAURENT <[EMAIL PROTECTED]> wrote:
> Hi, I'd like to know if there is a soft or an option that enable u to make
> X's fonts smoother.
Best and easiest trick is to use the following X Resource:
Netscape*documentFonts.sizeIncrement: 5
(What you would do with that depends on taste, I use .Xresources and
xrdb, but you could add it to app-defaults as well. See the X or xrdb
man pages.)
For some reason, the default there is huge, which leads to having
microscopic fonts.
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: getenv(), LD_LIBRARY_PATH and setuid
Date: 22 Jun 2000 20:06:07 GMT
On Thu, 22 Jun 2000 19:38:40 GMT,
U.V. Ravindra <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Anybody know of a problem with getenv() running in the
> context of a setuid program? The problem I'm having is
> that the value of LD_LIBRARY_PATH in the parent shell
> isn't being inherited by the following program if the
> sticky bit is set.
>
> [Interestingly, with the sticky bit on, while LD_LIBRARY_PATH
> loses definition, LD_RUN_PATH does not lose definition!]
It's not the 'sticky bit', it's the suid bit. The sticky bit is
something else entirely.
>From the man page for ld.so:
o Using the environment variable LD_LIBRARY_PATH
(LD_AOUT_LIBRARY_PATH for a.out programs). Except
if the executable is a setuid/setgid binary, in
which case it is ignored.
This is NORMAL and expected behavior. It would be VERY much a security
hole to do anything else. ("Here, use my libc for this, you can trust
me!")
It's stripped completely for the same reason: if that suid program
exec's another program, it would be foolish to accept any old library
the user chooses.
As for LD_RUN_PATH, that matters at compile time, not run time. You can
set it to whatever you want and compiled programs (well, all except ld
:)) won't notice or care.
It's not a problem with getenv(): it's a feature of ld.so.
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: [EMAIL PROTECTED] (rez)
Subject: Re: Fdisk and dos
Date: 22 Jun 2000 20:06:56 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 22 Jun 2000 12:35:58 -0400 D F wrote:
>rez wrote in message <8itel8$9mf$[EMAIL PROTECTED]>...
>>The type 85 is undocumented, I think.
>>Can you tell me how to make them? TIA
>In Linux fdisk, use the 't' command to change the partition
>type from 5 (DOS extended) to 85 (Linux extended). You can
Very very good, THX THX
Nobody (I know) knows it.
>only change it if it's already a partition of type extended.
>So, you can't change a type 81 or 82 to an 85, for example.
Obviouesly ;-)
>Within the extended types, though, you can freely change
>that descriptor bit. I've found type 85 is useful because
>I've had Windows stomp all over ext2 filesystems when
>they're in a type 5 extended. The type 85 is invisible to
>Windows.
Very important. And so, winbug's scandisk-defrag-antivirus don't
attempt the Linux's partitions!!
--
Ci sentiamo | Remigio Zedda
| [EMAIL PROTECTED]
ciao Remigio | kernel 2.2.13 su Slack 7.0
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: ifconfig required?
Date: 22 Jun 2000 20:07:40 GMT
On Thu, 22 Jun 2000 08:45:16 -0400,
Ross M. Greenberg <[EMAIL PROTECTED]> wrote:
> Nope. No netcfg: Corel.
Well, on debian slink, which Corel is based on, that's in
/etc/init.d/network.. should be trivial to change.
> David .. <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > "Ross M. Greenberg" wrote:
> > >
> > > So, I got my ISA Realtek8019 card working. Sorta. pnpdump generated an
> > > almost usable conf file; stealing stuff from the Windows side of things
> got
> > > me a legit IO address and IRQ.
> > > However, I have to manually do an ifconfig and feed it its IP -- else
> there
> > > no eth0. I can certainly stick the needed lines/commands into an rc
> file,
> > > but there has to be a better way.
> >
> >
> > As root "netcfg"
> >
> > --
> > Registered with the Linux Counter. http://counter.li.org
> > ID # 123538
>
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
** 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
******************************