Linux-Misc Digest #42, Volume #19 Mon, 15 Feb 99 02:13:08 EST
Contents:
Re: Low disk space ("Karsten M. Self")
Re: MS Explorer 4.0 for Unix (steve mcadams)
Re: Linux suxxxx (steve mcadams)
Re: Linux suxxxx (steve mcadams)
Netscape (bori7)
Re: Netscape Mail and Linux (Ben Russo)
Re: Redhat Linux secure server (Ben Russo)
Re: why can't I get BIG newsgroups easily? only want to pick over the new stuff
([EMAIL PROTECTED])
Re: sendmail-rhcn-8.9.3-1 RPM and SRPM for Red Hat 5.1 and 5.2 (Leslie Mikesell)
Re: printcap and header pages (Ben Russo)
pop3d acting up? (Jasper Janssen)
Re: Best Free Unix? (why FreeBSD?) (Ben Russo)
obtain time and changing passwd through ([EMAIL PROTECTED])
Help trying to compile dhcpcd (and glibc2) ("Robert J. Bogue")
Re: rebuilding the kernel (Andreas Heiss)
Re: Netscape (Ryan A)
Managing User Accounts through code ("Mark")
Re: Newbie Problem with ./configure (Tim Moore)
----------------------------------------------------------------------------
From: "Karsten M. Self" <[EMAIL PROTECTED]>
Subject: Re: Low disk space
Date: Sun, 14 Feb 1999 22:06:02 -0800
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> In article <789r3j$19e$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Mr S A Penny) wrote:
> > In article <785gco$u39$[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] writes:
> > >Folks,
> > >I hope someone can help me..
> > >I installed Red Hat 5.2 a few days ago and I've been having trouble with disk
> > >space.. I have a 1.4gb partition as / of which about a gig should be free..
> > >except it isn't.. I deleted a >900mb file earlier (a log file from mars_nwe
> > >which I had had starting on boot) which naturally helped, but the space never
> > >fully became available again..
Bad tw25rw, no biscuit.
_Don't_ delete a growing file without first disposing of the process
creating it. The problem is that unless the file handle is closed, the
file disappears, but the process creating it (and the open file handle)
still keep pumping out the bits.
The proscribed procedure is as follows:
- Zero out the file by copying (or catting) /dev/null to it:
cat /dev/null > bigfile
- Find out what process owns the file:
fuser -u bigfile
- If a process has the file open, you can kill it by various means
(kill on PID, other interfaces), or with the fuser command
(executed as root):
fuser -uk bigfile
You'll encounter similar problems if the file is hard-linked elsewhere.
The key is that to free space used by a large file, take care of the
space first, the process filling the file second, and the file itself
third.
> > >I trapped the output from du and df as follows:
> > >446340 total
> > >Filesystem 1024-blocks Used Available Capacity Mounted on
> > >/dev/hda1 1388895 1380996 0 100% /
> > >
> > >This is after having a bit of a cleanup (fingers crossed...)..
> > >I reckon only 450000 or so blocks should have been used..
> > >Does anyone have any hints as to what to look for to reclaim this space??
> > >Any help would be much appreciated...
> > >Barry
--
Karsten M. Self ([EMAIL PROTECTED])
What part of "Gestalt" don't you understand?
Welchen Teil von "Gestalt" verstehen Sie nicht?
web: http://www.netcom.com/~kmself
SAS/Linux: http://www.netcom.com/~kmself/SAS/SAS4Linux.html
9:51pm up 3 days, 9:19, 6 users, load average: 0.24, 0.14, 0.10
------------------------------
From: [EMAIL PROTECTED] (steve mcadams)
Subject: Re: MS Explorer 4.0 for Unix
Date: Mon, 15 Feb 1999 06:14:34 GMT
[Posted and mailed, snipped for brevity, quoted material marked with
">"]
On Fri, 12 Feb 1999 21:50:41 +0100, "ACE Alex" <[EMAIL PROTECTED]> wrote:
>Im a web developer and sadly I have to say that IE4 is far better with java
>script and Css. Netscape claims they have full suport for it but i dont
>agree with that!
>
>So yes,, as long as netscape cant show every page on the net i would say
>that there would be nice to have ie 4!
<flashback/forward/left/right>
<p>
...The waif snivelled, "Please, oh please, my I have more haemorrhoids
with my gruel,, sir?"
</p>
<center>
<img src="animated_grinning_bill's_head_that_winks_slyly.gif">
</center>
<p>
Says headmaster Bill, "Gadzooks! This boy wants more haemorrhoids!"
(The class laughs quietly...) "You there, give him IE 4.x, and
quickly, lad! Before he comes to his senses!" (The class roars...)
</p>
</flashback/forward/left/right>
Internet Explorer 3.02 wasn't bad. Any Internet Explorer version that
starts with the number "4" is the kiss of death imo. IE 4.x is for
the Win98 crowd that wants to see MickeyMouse on the ChannelBar. Of
course I'm not sure what I'm advocating here, since any Netscape that
starts with the number "4" is also the kiss of death imo. <sigh>
Opera was nice but didn't support secure pages last time I tried it.
===================================================================
"If you wouldn't pay to do it, why would you do it for pay?" -steve,
http://www.codetools.com/showcase
------------------------------
From: [EMAIL PROTECTED] (steve mcadams)
Subject: Re: Linux suxxxx
Date: Mon, 15 Feb 1999 06:14:39 GMT
[Posted and mailed, snipped for brevity, quoted material marked with
">"]
On Sat, 13 Feb 1999 21:27:50 +0000, pato <[EMAIL PROTECTED]>
wrote:
>the problem isn't linux ... the problem is people buying WINHARDWARE and
>then complaining cause they can't do much with their hardware.
Nay nay, a thousand times nay! The problem is people expecting Linux
to install like Winblows. They expect everything to be done for them,
they are not used to being able to take care of themselves because big
brother bill doesn't make that possible in the Windblows arena. They
get frustrated and leave because the Linux doc isn't very good, and
because in some senses it is catch-22 (can only read the install doc
if you have an installed system to read it on blah blah). Unless
they're either persistent or lucky. Or both. The number of hardware
components that are Linux-unfriendly is pretty limited as far as I
know; I've certainly not had any insurmountable problems with my old
hardware to date. I did however have to undergo a significant
paradigm shift when moving from Windblows to Linux. Not that I'm
totally moved yet.
===================================================================
"If you wouldn't pay to do it, why would you do it for pay?" -steve,
http://www.codetools.com/showcase
------------------------------
From: [EMAIL PROTECTED] (steve mcadams)
Subject: Re: Linux suxxxx
Date: Mon, 15 Feb 1999 06:14:42 GMT
[Posted and mailed, snipped for brevity, quoted material marked with
">"]
On Sat, 13 Feb 1999 10:04:05 -0600, Jerry Lynn Kreps
<[EMAIL PROTECTED]> wrote:
>mmmm.... with thousands of non-CNE's non-programmers successfully
>installing various disro's of Linux every day you don't imagine that it
>could be you, could you? Na...
Hey, even a blind squirrel finds a nut once in a while :-)
>I'll bet you brought an attitude ("I've been installing...for 9
>years...") to the task and felt you were "wise" enough to install Linux
>with only a minimal or no reading of the docs and readmes.
You install Windblows a few times, you know you either got good ju-ju,
or you're screwed; no point in reading the docs there. Habits
persist. It's tough re-empowering your brain after a few years in sir
bill's domain.
> As a retired
>teacher of 18 years I've seen bright students like you suffer failure
>attempting a task and because of pride refuse to admit they needed help.
I doubt that pride has anything to do with it Jerry, sounds like he's
deep into a frustration crisis :-)
>Goodbye... come back when you are willing to learn....
Do you really think people become willing to learn if they are not
already so? Maybe he'll cool off and try again.
===================================================================
"If you wouldn't pay to do it, why would you do it for pay?" -steve,
http://www.codetools.com/showcase
------------------------------
From: bori7 <[EMAIL PROTECTED]>
Subject: Netscape
Date: Mon, 15 Feb 1999 01:05:37 -0500
I can't run netscape in RH 5.2
Error message: Can't open display.
Please help.
------------------------------
From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: Netscape Mail and Linux
Date: Sun, 14 Feb 1999 17:06:46 -0500
"Zakir H. Sahul" wrote:
>
> Configuration: One linux machine. Several public Windows 95/98 machines with
> Netscape Communicator that are always logged on as "guest."
>
> Problem: All email delivered to linux machine. Need to allow each user
> on the public "guest" Windows machines to access their email using
> the "Messenger" part of Netscape Communicator using a simple log-on/log-off
> procedure.
>
> Question: How? (Pointers to helpful docs appreciated.)
>
> Thanks.
>
> -Zak.
>
> PS: Please also email me responses if at all possible.
Create your own X login program that just asks the user for their mail
ID. This X login program will write that info into
the .netscape/preferences.js file and then launch netscape.
Read my other postings for how to set up a "Web" appliance.
You will need to have the script in my other postings that starts
netscape first run the login in the while loop. then run netscape.
and it must log the user out after a few minutes. A popup button
every few minutes that demands they press enter or die would do the
trick.
------------------------------
From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: Redhat Linux secure server
Date: Sun, 14 Feb 1999 17:11:54 -0500
[EMAIL PROTECTED] wrote:
>
> I installed Redhat v5.2 which went OK; then I installed
> Redhats secure server. At this point the non-secure server
> will run but the secure server gets these error messages as
> follows:
> Starting httpsd: httpsd httpd: can not load module
> "/usr/lib/apache/libproxy.so"
> (/usr/lib/apache/libproxy.so: undefined symbol: ap_dummy_mutex)
> httpd: can not load module "/usr/lib/apache/mod_access.so"
> (/usr/lib/apache/mod_access.so: undefined symbol: ap_log_rerror)
> httpd: can not load module "/usr/lib/apache/mod_actions.so"
> (/usr/lib/apache/mod_actions.so: undefined symbol: ap_log_rerror)
> There are many of the above error messages. The libraries
> are in the /usr/lib/apache directory but it still will not
> execute. Any help would be greatly appreciated.
>
> -**** Posted from remarQ, Discussions Start Here(tm) ****-
> http://www.remarq.com/ - Host to the the World's Discussions & Usenet
check /etc/ld.so.conf and make sure the /usr/lib/apache is in the file.
then run ldconfig as root.
try it again.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.slackware
Subject: Re: why can't I get BIG newsgroups easily? only want to pick over the new
stuff
Date: 14 Feb 1999 22:51:34 GMT
On 1999-02-12 [EMAIL PROTECTED] said:
>Apparently, one can use pine, an email application, to read news.
>You can get away with using a screwdriver as a chisel, too
>But to expect a screwdriver to work as well as a chisel for
>chiseling a big job is ludicrous.
>I suggest you use a news application for news.
Well I can see your point except that pine was written to do both...
And it is still able to get other newsgroups...
AND except that I have a simular problem trying to access
comp.os.linux.misc with tin and trn too...
AND I AM LOOKING FOR A NEWS PROGRAM... only I don't want annother be all
things super aplication. I want some thing I can use to feed any front end
with. It just happens that I like the front end of pine better than the
ones of those other news only programs that didn't do any better...
Hey I just did a news run with my dos program... it took less than 5
minutes to download new subject headers even though it went back to the
last artical number that IT knew I'd told it to mark as read... then it
disconnected and freed up the phone while I selected the few interesting
ones I wanted. then when I was ready to take over the phone line again
It took me again less than 5 minues of on line time...
With any linux text based news program I've tried so far it either
doesn't want me to be able to select the individual articals I want to
spend my hard drive space on but will insist on whole groups <minus
killfile matches> or it wants to do all the sorting while on line with
my isp making me wonder if it's actualy trying to get the isp to do the
sorting???
Of course I'm not including the gui design programs that want to
require that I install xfree again to try them... And why should I.
The very idea that a text intensive function like reading newgroups
should require that the user accept a graphical interface???
I find that unacceptable So why do I have to run a multi user advanced
root level news spool on my pc just to download a few aticals in to
user deleteable messages in a folder or install a gui so I can get
what a free agent fan would call off-line newsreading???
At that rate I'll be glad I have nettamer... ...
hmmnnn I wonder if I can use nettamer as a news transport method and
point pines foler collection at thr dlu files.... worth a try
| ~^~ ~^~
| <?> <?> Joe (theWordy) Philbrook
| ^ J(tWdy)P
| \___/ <<[EMAIL PROTECTED]>>
Net-Tamer V 1.10.1 - Registered
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Subject: Re: sendmail-rhcn-8.9.3-1 RPM and SRPM for Red Hat 5.1 and 5.2
Date: 15 Feb 1999 00:17:01 -0600
In article <[EMAIL PROTECTED]>,
James Bourne <[EMAIL PROTECTED]> wrote:
>On 13 Feb 1999 14:32:07 -0600, Leslie Mikesell did say with great verbosity:
>:Is there some reason for putting this under /usr/doc instead of
>:/usr/lib/sendmail-cf where the original redhat version lives?
>
>Instead of building it as a different package (as redhat did) we have
>included it in the main RPM as we feel you *need* to have these files to
>install/run sendmail properly. As for their placement *shrug*.
>
>Under /usr/doc/sendmail-rhcn-%version it works equally as well, and does not
>get killed/overwritten when you upgrade from one version to the next (your
>changes will remain in /usr/doc/sendmail-rhcn-%version/cf/cf).
The only problem is that you end up with 2 copies, one of which is
outdated.
>:Also, is there any explanation for the items in the mc file
>:that differ from the redhat version. I appreciate having the
>:rpm package but I still like to know what it is doing and why.
>
>the cf/README file and sendmail ops manual explain all the options fully.
>The configuration we provide is proven to work well on most systems, and in
>the case of busy servers or not-included features will you have to tweak
>some of the values, inwhich case the .mc file is also provided...
>
>It is a good point though, and maybe in the next version we shall include a
>README with the .mc file to detail the settings we have.
>
>Hope that helps answer your questions.
Yes, thanks. There are about a billion ways to set up sendmail. What
I'd really like to see is the reasoning behind the choices where you
are different from the stock version and perhaps pointers to the
details on how to use the features. For example, your anti-relay
configuration is completely different and caused me a bit of trouble
because I forgot that my DNS wasn't set up to reverse-resolve some
DHCP-assigned addresses that can originate mail. That isn't your
config's fault, but a mention of how yours was different might have
jogged my memory about how my other setup allowed relaying from
the address range. And I still haven't found what the
confPRIVACY_FLAGS settings mean.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: Ben Russo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: printcap and header pages
Date: Sun, 14 Feb 1999 17:14:31 -0500
Chris Poultney wrote:
>
> I've been unable to configure my linux to stop sending header pages to
> the printer with each print job. I read the man page for /etc/printcap
> and added what seemed to be the right thing (sh), but nothing changed.
> I've changed other things in printcap which did affect the printer, so I
> know the file is not being completely ignored, but I can't get the
> header pages to stop printing. Here's the only uncommented line of the
> file:
>
> lp|rlp|kinky:rp=kinky:lp=/dev/null:rm=207.122.14.15:sd=/var/spool/lpd/kinky:sh:
>
> I'm running Slackware linux 2.0.30. Any suggestions?
>
> Thanks!
> -Chris P.
I have the same problem. Turns out it is not the linux box sending the
pages, but the printer that generates them.
The printer always does this when receiving on the "lpd" port.
I have found no way to turn off this "feature" on my HP4SI.
-Ben.
------------------------------
From: [EMAIL PROTECTED] (Jasper Janssen)
Subject: pop3d acting up?
Date: Sun, 14 Feb 1999 22:12:33 GMT
Hi.
I've been using my linux box as a email server, with sendmail, for a
little over a month now. There appears to be something very odd going
on with either sendmail or pop3d:
When I try to login to pop3d, after USER & PASS, I get:
-ERR being read already /usr/spool/mail/jasper
After mv'ing to jasper2, I could read it out through pop3d,
originally, but when I try that now, it doesn't work.
an rm of the spool file gets respite as long as there are no messages.
I tried rebooting, even that didn't work.
There are no extraneous processes that i can find on ps x.
Could anyone suggest why it is doing this?
And if you CC' a copy to my email, I'll be able to read it with cat,
if not normally, so I'd appreciate that.
Thank you for your help,
Jasper
------------------------------
From: Ben Russo <[EMAIL PROTECTED]>
Crossposted-To:
comp.unix.questions,comp.unix.advocacy,comp.unix.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Best Free Unix? (why FreeBSD?)
Date: Mon, 15 Feb 1999 01:28:17 -0500
John Fieber wrote:
>
> In article <[EMAIL PROTECTED]>,
> Shaun Rowland <[EMAIL PROTECTED]> writes:
> > [EMAIL PROTECTED] (John Goerzen) writes:
> >
> >> Just how is FreeBSD easier to use?
> >
> > For me it is easier to use because it seems more logical. Notice that this is
> > a matter of opinion. IMO FreeBSD is easier to use because:
> >
> > 1. FreeBSD handbook and website. I have my handbook that contains most of the
> > information I need, along with the FAQ. For me it is more centralized and
> > up to date than LDP, ect.
>
> On this point, there is a popular conception that Linux is extremely
> well document and FreeBSD isn't. Having recently begun an evaluation
> of options for some new servers, I must say that Linux community does
> better in the tutorial style documents (HOWTOs), but the on-line
> reference (man pages) are, on the whole, pathetic in each
> distribution I've looked at. Example: I want to set up a
> concatenated disk and the manual pages simply say "see the source
> code". Ya, right. There probably aren't even comments in the code.
> Compare that to the detailed vinum reference pages in FreeBSD, for
> just one of hundreds of examples.
>
> I'm not bothered by an occasional substandard manual page, but in the
> distributions I've got installed, so many are substandard if they
> exist at all. I only got a concatenated disk configured because the
> Debian people had tucked away a little readme in /usr/doc...but if you
> can write the damn documentation, why not put it in the man page!!!
>
> Also, so many commands in Linux distributions differ from their
> counterparts in commercial systems, I can't rely on documentation on
> other (properly documented) systems or standard sysadmin books...you
> have to get a Linux book. Contrast that with BSD systems which come
> from a well established code base that is well document both in the
> on-line reference and in numerous sysadmin books that nicely cover a
> variety of Unix systems. Linux occupies such huge amount of
Hmmmm, I have two points on this line of thought. Before I begin let
me say that I am a sole IS UNIX System Admin for a campus of 1,000
people
in 3 buildings doing finance, accounting, billing, payroll,
acquisitions,
sales and corp' communications for an int'l company with offices in
60 cities. I manage HP's, Linux, SUN's and IRIX boxes. I can't speak
for BSD as I don't deal with any of those boxes, but you mention
comparing Linux to commercial UNIX's.
First thought is that I think "Good" documentation is a matter of
taste. I find Linux to be better documented then all the others
I work with. Even though my HP's come with a literal (REALLY)
BOOKSHELF of books (I have about 3,000 pages of documentation)
for each version of their OS. The documentation is written by
a bunch of technical writers who don't know the difference between
IPC and winpopup. They are filled with crossrefrences and technical
mumbo-jumbo (HP creates their own lingo for everything, as does SUN,
as does IRIX).
Linux doc's are written by "real" people who just lay it out, they
don't use made up tech-jargon if there is a vernacular term that
makes more sense. There is also a fair amount of consistency
(relatively speaking) to Linux utils and apps that isn't found
in the proprietary OS's where it seems that
there were 200 programmers over the last 6 years who couldn't agree on
standard command line option parsing, or output layout. So I guess
that what "GOOD" documentation is depends on the tastes of the
reader. My boss would look at all the HP doc's and say wow, look
at how pretty and organized! It looks like an encyclopaedia.
He would look at my /usr/doc directory and my "helptool" command
and say that it seems so disorganized.
Second thought is that you comment on the "non-standard" options and
commands in Linux. Believe me, ALL flavors of UNIX have their
own quirks. Try "killall" on an HP! However where the other UNIX's
just seem to use different options, Linux has MORE options. Look
at the find command, -mmin -amin. Look at the chmod command.
GNU utils are MUCH more flexible and powerfull than their proprietary
counterparts. "cpio", "tar", and even "mv" are completely quirky
and unreliable on HP. I am constantly finding more unexpected
failures of HP utils that they are saying are my fault for expecting
the commands to do things that the documentation never claims them
to be able to do. But let me ask you:
tar cvf - /data1 | gzip -9 > /dev/mt/rmt0
Just so happens that /data1 has 6GB of data in it, and even gzipped
it is 3GB. Now everything works fine putting it on tape, no
errors no problems.... However try to get it off! HP doesn't
let it work that way, you can't create a single file more than
2GB's and tar won't unzip in stream...
> shelfspace in the local bookstore because it is quirky enough that
> you need that much Linux-specific documentation.
>
> For someone learning to use a Unix system, the HOWTOs are great, but
> for a more seasoned user who needs a good reference manual, I have to
> say that the BSD systems are a clear winner. With Linux, I fish
> around for a non-existant manual page, hunt in /usr/doc for awhile,
###########################
Get "helptool" or "tkhelp" it is a search engine that
will search for regexps through all MANPATH entries, all /usr/doc
files, and all info pages. Then it gives you a list of all doc's
on the system with your search references. You can then click on
the doc and the "helptool" will open the appropriate reader for
the type of doc it is.
###########################
> check gnu info pages, fire up Netscape and check the HOWTOs before I
> can find out what I need to know. It doesn't take very long for that
> to get very tedious. With BSD, nine times out of ten I find the
> answer I need at the first documentation stop, the on-line reference
> manual.
>
> -john
------------------------------
From: [EMAIL PROTECTED]
Subject: obtain time and changing passwd through
Date: Sun, 14 Feb 1999 22:56:57 GMT
I have a linux internet server with slackware and kernel 2.0.35. I want to
offer to my users changing passwords and obtain time of access through a web
server. Someone knows some cgi program that allow this ?
Thanks in advance...
roberto
[EMAIL PROTECTED]
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Robert J. Bogue" <[EMAIL PROTECTED]>
Subject: Help trying to compile dhcpcd (and glibc2)
Date: Mon, 15 Feb 1999 06:25:47 GMT
I started with a new installation of Slackware 3.6. I compiled version
2.0.35 of the kernel. I upgraded bash to 2.02 and autoconf to 2.13. I
compiled glibc 2.0.6, following the instructions in the HOWTO with no
problems. At the end of the make install, I got an error that libz was
not found. It looked like it was just for the info files, so I went on
to try out Hello World. Then it complained about not being able to find
<gnu/stubs.h>. I created a blank stubs.h, and then Hello World compiled
and ran okay. Finally, I tried to compile dhcpcd 1.3.17, and it
couldn't find <netinet/ip.h>. There is no /usr/include/netinet
directory at all. I tried using the one from libc5, but that failed
miserably. So now I'm stuck.
To summarize, these are my three questions in order of increasing
importance:
What is libz and where is it supposed to come from?
Do I need a non-blank <gnu/stubs.h>, and if so, where do I get it?
Why didn't glibc5 install a netinet directory, if it's required?
Robert Bogue
[EMAIL PROTECTED]
------------------------------
From: Andreas Heiss <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: rebuilding the kernel
Date: 14 Feb 1999 23:09:59 GMT
In comp.os.linux.misc Michael Benedict <[EMAIL PROTECTED]> wrote:
> Could someone elaborate on the LILO process? I just made linux 2.2.1
> and the make went well etc, but now I am editing /etc/lilo.conf and I
> see that the old boot image contains the following:
> image=/boot/vmlinux-2.0.36-0.7
> label=linux
> root=/dev/sda5
> initrd=/boot/initrd-2.0.36-0.7.img
> read-only
> I understand every line except for initrd.
<snipp>
I think you need this initrd only, if you load your SCSI or IDE driver
as module. It is really recommanded to compile SCSI drivers into the
kernel (you need it all the time, so why a module ??).
Then you don't need this initrd line in lilo.conf.
Andreas
--
------------------------------
Date: Mon, 15 Feb 1999 06:19:22 +0000
From: Ryan A <[EMAIL PROTECTED]>
Subject: Re: Netscape
bori7 wrote:
> I can't run netscape in RH 5.2
> Error message: Can't open display.
> Please help.
quick fix:
DISPLAY=<yourhost>:0 ; export DISPLAY
rerun netscape
longterm fix:
the display ENV variable in one of your login startup files (.profile,
.bashrc....etc etc)
I would hazard a guess that you tried this as root as well.. that's a
Bad Thing(tm)
Ryan
--
***************************************************************************
"You can never be sure how many beers you had last night."
---The Heineken Uncertainty Principle
------------------------------
From: "Mark" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,linux.dev.admin,linux.dev.newbie
Subject: Managing User Accounts through code
Date: Mon, 15 Feb 1999 08:26:11 +1000
I need to write a daemon that adds/removes users.
My programming experiance revolves around NT and linux is new to me.
I have the deamon up and running etc now i "just" need to maniplate the user
accounts.
How do i do it?
This is what ive come up with:
call adduser/useradd - You need to enter in details manually - how do you
capture
the input stream the adduser process uses to send it the user details?
Manually do it all - how do i create the encrypted field in the passwd file
or shadow file?
Im looking for the most easy/solid/portable solution i can get my hands on
and any help would be much appreciated.
Sorry if these questions seem a bit basic but i just cant get my hands on an
easy to use linux programming manual (ive been spoilt with VC++ help
manuals).
Mark
[EMAIL PROTECTED]
------------------------------
Date: Sun, 14 Feb 1999 19:40:55 -0800
From: Tim Moore <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,comp.os.linux.setup
Subject: Re: Newbie Problem with ./configure
Shadowspawn wrote:
>
> When trying to run ./configure I get the following messagel
>
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
Either you're in a directory where you don't have write permission or gcc isn't
installed correctly.
Try rpm -qi `rpm -qa | grep gcc`, which for RH5.2 should give you this:
Name : gcc Distribution: Manhattan
Version : 2.7.2.3 Vendor: Red Hat Software
Release : 14 Build Date: Wed Sep 2 21:00:05 1998
Install date: Thu Nov 12 12:23:11 1998 Build Host: porky.redhat.com
Group : Development/Languages Source RPM: gcc-2.7.2.3-14.src.rpm
Size : 2089997 License: GPL
Packager : Red Hat Software <[EMAIL PROTECTED]>
Summary : GNU C Compiler
Description :
The GNU C compiler -- a full featured ANSI C compiler, with support
for K&R C as well. GCC provides many levels of source code error
checking tradionaly provided by other tools (such as lint), produces
debugging information, and can perform many different optimizations to
the resulting object code. This contains the back end for C++ and
Objective C compilers as well.
--
[Replies: remove the D]
"Everything is permitted. Nothing is forbidden."
WS Burroughs.
------------------------------
** 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
******************************