Linux-Misc Digest #286, Volume #26 Sat, 11 Nov 00 15:13:03 EST
Contents:
Problem with netgroup in /etc/exports ([EMAIL PROTECTED])
Re: Path - Making It Permanent (Bill Unruh)
Re: Start Linux on 386 ("Peter T. Breuer")
Re: automate PPPD to retrieve email & news (David Efflandt)
Re: Oracle 8i on RH Linux 7.0 ("Doug Holtz")
Re: Looking for good Embedded Linux board ("Jim Fuller")
FREEWARE - Systems administration utilities (Richard Anderson)
Re: Help on email problem (David Efflandt)
Re: Start Linux on 386 (Robert Heller)
Re: SSH problems (Dustin Puryear)
Re: remote printing question (David Efflandt)
Re: LinkSys betrayed us! Poor prospects for Linux. (Michael J. Banks)
Re: running telnet automatically (David Efflandt)
Re: remove LILO (Stephen Franklin)
Re: [finger] wont show .plan nor .project remotely -- why? (David Efflandt)
Re: Using Samba, smbclient works, but can't mount share via smbmount Ans. (mike)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Problem with netgroup in /etc/exports
Crossposted-To: comp.os.linux.networking
Date: Sat, 11 Nov 2000 17:18:38 GMT
I'm setting up a Linux server at work where we use netgroups in our
/etc/exports files (HPUX and Solaris). According to the man pages,
Linux should be able to use netgroups in /etc/exports as well, but I
can't seem to get it to work.
I've tried RedHat 6.1, RedHat 6.2, Mandrake 7.0 and Mandrake 7.1 with
the same problem (shown in transcripts below). I'm exporting from a
Linux machine, I'm trying to mount on Linux, HPUX, and Solaris
machines, the results are the same with all three OS's.
I've searched with deja.com and found some others with the same
problem, but only two potential solutions. One was from back in '98
(concerning RH 5.2) where it was suggested that the poster recompile
all of the nfs utilities with the netgroup option turned on. I did this
under RH 6.2, even though the SRPM unpacked with this option already
turned on. It did not help. The other suggestion was to make sure that
/etc/nsswitch.conf had either nis or files specified for for netgroup,
which I have verified.
At work I'm getting netgroup via NIS, duplicating the problem at home
where I use NFS, but not NIS, I'm trying /etc/netgroup, with the same
results.
"Managing NFS and NIS" (Hal Stern/O'Reilly, 1992) says that
/etc/netgroup is not used, netgroups have to be served via NIS. Some
deja.com searching showed that this was true of Linux under libc5, but
with glibc, /etc/netgroup is consulted.
Here is my setup (from home), and the results:
netgroup entry on ichabod:
all_hosts (zaphod,,), (flenser,,), (ichabod,,), (cerberus,,)
Working /etc/exports on ichabod:
/dp4 zaphod(rw,no_root_squash) flenser(rw,no_root_squash) cerberus(rw,no_root_squash)
/ zaphod(rw,no_root_squash) flenser(rw,no_root_squash) cerberus(rw,no_root_squash)
New (non-working) /etc/exports on ichabod:
/dp4 @all_hosts(rw,no_root_squash)
/ @all_hosts(rw,no_root_squash)
Runninf exportfs;
root@ichabod# exportfs -r
root@ichabod# exportfs
/dp4 @all_hosts
/ @all_hosts
Attempt to mount:
root@zaphod# mount ichabod:/dp4 /mnt
mount: ichabod:/dp4 failed, reason given by server: Permission denied
root@zaphod#
This mount attempt works with the original /etc/exports on ichabod.
Can anyone help?
Thanks!
--
Jim Buchanan [EMAIL PROTECTED] [EMAIL PROTECTED]
=================== http://www.buchanan1.net/ ==========================
"I think one general rule of software design is that you should be
writing a program that you want to use." -Eric Allman
========================================================================
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Path - Making It Permanent
Date: 11 Nov 2000 17:27:24 GMT
In <3a0c7aaa$0$19433$[EMAIL PROTECTED]> "mpierce"
<[EMAIL PROTECTED]> writes:
>In what file do I put a path statement to make it globally permanent on startup
>instead of exporting it everytime (I think I can put it in .bash_profile
>but that would only apply to a user).
Put it in .bashrc for each user.
You can also put it into /etc/bashrc although I am not sure this is read
always.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Start Linux on 386
Date: 11 Nov 2000 17:22:39 GMT
[EMAIL PROTECTED] wrote:
: Please help me with my first steps .... ;-)
: I want to install Linux on 386 computer
: right now now it have msdos 6 (8 MB ram, 1.4 floppy, 40 mb HD, modem,
: mouse, keyboard)
: Now I also put cd-rom (slave to HD).
: Which step I need to take to run Linux with Netscape on this computer:
1) Replace 386 with 586 or better
2) replace 8MB ram with 128MB ram.
3) replace 40MB hard disk with 4GB hard disk or more.
Your machine is only suitable for running as a terminal. It doesn't
have enough memory to run a graphics display. It doesn't have enough
disk to put any modern distro on (except slackware and debian).
It doesn't have enough cpu to do much of anything.
If you must use it, try putting an old slackware on it. 2.2 would be
ideal.
Peter
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: automate PPPD to retrieve email & news
Date: Sat, 11 Nov 2000 17:39:45 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Fri, 10 Nov 2000 11:16:16 +1100, Julian Bordas <[EMAIL PROTECTED]> wrote:
> Could some one point me to a resource that will help with this? Can I
>do this with crond?
I have done fetchmail from cron using demand pppd. The demand pppd
connects automatically as required and disconnects after a timeout of
inactivity. I do not run a local news server.
My demand pppd info (script and details) are available at
http://www.de-srv.com/linux/
But if you have a dynamic IP, you might also need to:
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: "Doug Holtz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.security,comp.os.linux.setup
Subject: Re: Oracle 8i on RH Linux 7.0
Date: Sat, 11 Nov 2000 11:44:36 -0600
Where can I get Oracle for Linux? Is there a free download version?
Doug
Lamar Thomas <[EMAIL PROTECTED]> wrote in message
news:3a0c30ae$[EMAIL PROTECTED]...
> I am running Red Hat Linux 7.0 and I just installed Oracle 8i for Linux on
> it.
> Near the end of the installation the wizard stated that it was
"Initializing
> Database". That's where it hung. I let if set over night but that did
not
> do any good. The rest of the install went just fine. Can anyone help?
> Thanks,
>
> Lamar
>
>
>
------------------------------
From: "Jim Fuller" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.arch.embedded
Subject: Re: Looking for good Embedded Linux board
Date: Sat, 11 Nov 2000 10:10:06 -0800
try http://www.zflinux.com
"Ioi Lam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> I'm looking for a low-power Linux board, something equivalent to a cell
> phone or a Palm, in terms of power and performance characteristics. Any
> good recommendations? We need:
>
> + Good development env (incl OS and compiler support)
>
> + Easy to get started (i.e, not having to spend 10 hours to
> figure out "how do I download my binary image on the damn
> thing)
>
> + Serial I/O. Ethernet is desirable but not required
>
> + VGA out desirable but not required?
>
> Thanks in advance! Please CC your reply to [EMAIL PROTECTED]
>
> - Ioi
------------------------------
From: [EMAIL PROTECTED] (Richard Anderson)
Date: Sat, 11 Nov 2000 10:18:50 -0500
Subject: FREEWARE - Systems administration utilities
The software product Typhon (www.unixscripts.com) contains over 100 portable
Korn shell scripts for text processing, file and directory processing,
customizing your login environment, disk space management, performance
analysis, system monitoring and system security. It includes generalized
login environment files for the Korn shell, bash and the C shell.
Some of the functions of Typhon:
* Substitute one text string for another in all files in a directory tree,
skipping non-text files. The substitution strings can be regular expressions
or plain text.
* Display all subdirectories as a visual directory tree.
* Copy a file to multiple remote hosts, with disk backup of the target file on
each host.
* List all subdirectories in one or more directories, including symbolic links
to directories.
Part of Typhon is distributed as freeware, part as a commercial product. You
can download the freeware or purchase the product at www.unixscripts.com.
Richard Anderson, Ph.D.
Chief Technology Officer, Raycosoft
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.questions,comp.os.linux.help
Subject: Re: Help on email problem
Date: Sat, 11 Nov 2000 18:28:39 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 06 Nov 2000 15:19:52 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I am running Mandrake 7.1 (preinstalled by a vendor along with postfix).
>Just this past weekend, I can't send and receive any emails. On command
>line, I tried to send a simple and short msg, and the error I got was
>
>send-mail: warning: mail_queue_enter: create file
>maildrop/215541.25660: No space left on device
>
>But when I checked /var/spool/postfix and do a df there, I found that
>there were 100+ MB left.
But what percent (%) is free on that partition? A certain amount is
reserved for root (5%?) so things do not grind to a halt if a user uses
too much. Also the reply to another post about trouble accessing hda
mentioned a problem with the logrotate of Mandrake 7.1 eating
inodes. What does 'df -il' show for IFree?
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Start Linux on 386
Date: Sat, 11 Nov 2000 18:35:57 -0000
"Peter T. Breuer" <[EMAIL PROTECTED]>,
In a message on 11 Nov 2000 17:22:39 GMT, wrote :
"TB> [EMAIL PROTECTED] wrote:
"TB> : Please help me with my first steps .... ;-)
"TB>
"TB> : I want to install Linux on 386 computer
"TB> : right now now it have msdos 6 (8 MB ram, 1.4 floppy, 40 mb HD, modem,
"TB> : mouse, keyboard)
"TB> : Now I also put cd-rom (slave to HD).
"TB>
"TB> : Which step I need to take to run Linux with Netscape on this computer:
"TB>
"TB> 1) Replace 386 with 586 or better
486 will work
"TB> 2) replace 8MB ram with 128MB ram.
32 meg is survivable
"TB> 3) replace 40MB hard disk with 4GB hard disk or more.
2GB is enough for RH 5.2 (2.0.36 kernel)
I have RedHat 5.2 on a '486 laptop with 32 meg of RAM and a 1/2 gig
disk. No I don't run Netscape, but I do run X11. I use fvwm in MWM
mode, don't use gnome or kde. I do use g++, latex, xv, xf, and xdvi on
it. I am not sure if I have used gimp on this box. 1/2 gig is a bit
tight, but enough for my laptop, given *my* usage patterns.
I *have* used Netscape 4.51 AND gimp on a '66mhz 486 with 16meg of RAM
and a 2gig disk. A bit slow, but worked fine.
"TB>
"TB> Your machine is only suitable for running as a terminal. It doesn't
"TB> have enough memory to run a graphics display. It doesn't have enough
"TB> disk to put any modern distro on (except slackware and debian).
"TB> It doesn't have enough cpu to do much of anything.
"TB>
"TB> If you must use it, try putting an old slackware on it. 2.2 would be
"TB> ideal.
"TB>
"TB> Peter
"TB>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: SSH problems
Reply-To: [EMAIL PROTECTED]
Date: Sat, 11 Nov 2000 18:57:46 GMT
On Fri, 10 Nov 2000 17:12:14 -0500, Matthew L Creech
<[EMAIL PROTECTED]> wrote:
>Dustin Puryear wrote:
>>
>> To check the permissions use ls with the -l option. In addition, the -a
>> option will give you a listing of *all* files. Hopefully, you get the
>
>Hehe - based on the replies I received I take it this newsgroup gets
>quite a few posts from not-so-familiar-with-linux people. :) Anyhoo,
>permissions on /etc/passwd are fine (owner root, perm 0644), and
I read Peter's reply before relying to this and I am just going to agree
with his suggestion. You will need to compare with a working system to
see exactly what is broken. Also, next time, before you change the SUID
bit on everything you might want to double-check that the program indeed
does not need SUID.
Regards, Dustin
--
Dustin Puryear <$email = "dpuryear"."@usa.net";>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: remote printing question
Date: Sat, 11 Nov 2000 19:08:22 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 06 Nov 2000, Anderw G. Bacchi <[EMAIL PROTECTED]> wrote:
>This is a multi-part message in MIME format.
>--------------7FCF03B412204661806D1A4C
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
Please don't! Use plain text.
>I have local LPD printing set up correctly on one machine running RH
>6.2, I can print a file to the printer on lp0. I am trying to set up
>remote printing from another RH 6.2 system. The error I keep getting by
>examining the queue with lpq is "foo.bar.com waiting for queue to be
>enabled on other.foo.bar.com" and also, "other.foo.bar.com Hostname for
>your address (xxx.xxx.xxx.xxx) unknown. I have the client machine
>listed in /etc/hosts.lpd, but still the server machine doesn't recognize
>the client machine. Any help is appreciated. Thanks.
Is the client IP and hostname listed in DNS or /etc/hosts of the server?
Sounds like there is a hostname or IP resolution problem.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (Michael J. Banks)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: 11 Nov 2000 19:10:23 GMT
"Les Mikesell" <[EMAIL PROTECTED]> writes:
><[EMAIL PROTECTED]> wrote in message
>news:6BUO5.2706$[EMAIL PROTECTED]...
>> In comp.os.linux.hardware Les Mikesell <[EMAIL PROTECTED]> wrote:
>> : Wasn't the Linux driver included on a floppy in the box with the
>> : card? Or, if you already have a dial-up connection working
>> : just grab the newest before you switch.
>> For most newer revisions of the card, the linux driver wasn't new enough.
>You mean they included a floppy with a driver that didn't work? I
Well, in my case (just bought one a month ago), the floppy had instead of
a driver, a .txt file that gave the (old) URL for Becker's updated drivers
page. It was a little bit annoying since the URL they gave 404'd, but I
just tried the root page at cesdis.nasa.gov, which helpfully pointed me to
scyld.com where the new driver site is.
>avoided the problem because I stocked up on the DEC-chip version
>of the card when I found out they were changing. Do the new ones
>work as well after you get the driver installed?
Once I compiled pci-scan and tulip as downloaded from Becker's site (mostly
trivial -- the only complication being the necessity of having modversions.h
accessible, so don't do a "make clean" after compiling the kernel), it has
worked just as well as older LinkSys cards have for me.
> And do the latest
>Linux distributions (Mandrake 7.2, RH 7.0, etc.) include the correct
>version?
Unsure about that. I know the stock 2.2.17 kernel (as available in Debian
unstable) does not contain the latest version of tulip.c, and I haven't
ventured into the 2.4.pre* area yet.
HTH,
Michael J. Banks
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: running telnet automatically
Date: Sat, 11 Nov 2000 19:14:26 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Thu, 09 Nov 2000 02:59:30 GMT, Sean <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] wrote:
>>
>> I'm trying to develop a Perl script that connects on a remote host using
>> telnet, logs in, runs some commands and logs out. The commands' outputs
>> will be processed by the script and then printed. This script must run
>> in a web server (Apache).
>> Does it worth to use sockets in the Perl script? Or is there any
>> solution to automatize the running of commands through telnet (maybe
>> using telnet scripts...)?
>>
>> Thanks.
>>
>> Sent via Deja.com http://www.deja.com/
>> Before you buy.
>
>I have researched the same subject. You cannot directly access the
>telnet application with a Perl script b/c telnet is a user 'interactive'
>application. Strange thing is, ftp has built in support for seperate
>scripts and it seems just as interactive as telnet.
>
>Anyway, the best solution is to use the Perl telnet module. I believe it
>is called Telnet.pm. Search for it. It has the telnet protocols built
>into the module so that it doesn't need the 'interactive'
>/usr/bin/telnet application to operate.
The Perl Telnet module which is available from any CPAN mirror or
www.perl.com is known as Net::Telnet. You might also want to take a look
at rsh or ssh (encrypted) which can run remote commands.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: Stephen Franklin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions,alt.os.linux
Subject: Re: remove LILO
Date: Sat, 11 Nov 2000 11:21:29 -0800
Fdisk /mbr only rebuilds the mbr to microsoft standards. you will not be
able to see your linux partitions from dos though. (without some form of
software help)
Pedro wrote:
> Hello,
> I would like to remove LILO from MBR, and I want to know if I lose the
> information on my Hard Disk ( it is partioned in 2 partitions) if
> execute the command fdisk/mbr . If so, what can I do to remove it
> from the MBR ? (executing the command Lilo in LInux doesn´t work)
>
> Thank You in advance,
> PA
>
> Please reply do my e-mail address
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: [finger] wont show .plan nor .project remotely -- why?
Date: Sat, 11 Nov 2000 19:42:01 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sat, 11 Nov 2000, John Bacalle <[EMAIL PROTECTED]>
wrote:
>* [EMAIL PROTECTED] wrote:
>> But besides that, I think I know the reason why .plan and .project aren't
>> showing up while the finger request is being processed...
>>
>> 1> Check the permissions on your .plan and .project files. Are they world
>> readable? (chmod 644 .plan to make it so)
>
>Hello,
>
>In the original post I showed 'ls -l' results:
>
> -rw-rw-r-- 1 john john 19 Nov 7 07:45 .plan
> -rw-rw-r-- 1 john john 26 Nov 7 07:46 .project
>
>> 2> If that doesn't work, your home directory also needs to be world readable
>> for finger to work with .plan files.
>
>We're talking about remote finger. Local fingering shows these files. I
>can't believe that anyone is expected to make their _home_ directory a=r.
>
>> (You can create a mure secure directory
>> within it for things you don't want other users to read).
>
>This doesn't sound right to me at all. config files, etc. with personal
>information settings are by default created there by generally all apps.
>I'm not going to be chasing stuff down all the time, and worrying about
>the one time that I might overlook something and leave myself exposed.
>
>> try
>> cd;chmod 755 .
>
>You're telling me to set my _$HOME_ a=rx? Not 'those files' but my home
>dir? I can't believe that's the problem.
It is possible that finger runs as or changes to an effective uid of
something other than root for security reasons. Have you checked the
finger results when run by user other than yourself? The effective user
needs the 'x' bit set on a dir in order to access anything in it. For
example in order for an apache user's public_html to work, their home dir
needs at least 711 permission.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Re: Using Samba, smbclient works, but can't mount share via smbmount Ans.
Date: Sat, 11 Nov 2000 19:56:51 GMT
Hi Mark and All,
I had found that my Linux 6.1 system did not
have the module smbfs.o. A suggestion on the newsgroups got
me to check. I had transferred a hard drive from a 586 system
to a 386 system and I had to recompile the kernel. Somehow
that module did not get produced. As a quick and dirty method,
I extracted the module from the 386 kernel rpm on the Redhat 6.1
CD.
Mike
------------------------------
** 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
******************************