Linux-Misc Digest #382, Volume #26               Fri, 24 Nov 00 23:13:02 EST

Contents:
  fh_verify: mail-spool/root error .. (Martin Svensson)
  Re: E-mail client (Martin Svensson)
  Re: RPM's (Again!) (Jerry Kreps)
  playing video shuts down ppp ([EMAIL PROTECTED])
  Re: LD_LIBRARY_PATH (Jerry Kreps)
  Re: bash scripting question (Manfred Bartz)
  Re: LD_LIBRARY_PATH (Jerry Kreps)
  Graphical Terminal for Linux? ("Buck Turgidson")
  Re: Help me keep my Linux! Groupware solutions? (Michael Merideth)
  Re: New To Linux - Distributions (Jerry Kreps)
  Re: Multiple SCSI controller cards ("Scott M. Navarre")
  Re: Graphical Terminal for Linux? ("Jan Schaumann")
  Re: Not able to compile anymore (Bob Martin)
  Re: shutdown vs halt ( Black Dragon)
  Re: Netscape & cable 'net access? (asage)
  Re: lpd network permissions problems (Bob Martin)
  Re: RH7 kernel compile error (Bob Martin)
  Re: "J" bug in ghostscript (Bill Unruh)
  Re: Multiple SCSI controller cards ("Scott M. Navarre")
  Re: Modconf doesn't find any modules (kernel 2.4.0-test10) (Allin Cottrell)
  Re: Database in Redhat Linux (Victor Wagner)
  Resource Conflict Detective (John Scudder)
  Re: suid (Bob Hauck)
  Re: adding users... (Dustin Puryear)
  Re: Motd and mail on login ("vkd")
  Re: snmp monitoring (Dustin Puryear)

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

From: Martin Svensson <[EMAIL PROTECTED]>
Subject: fh_verify: mail-spool/root error ..
Date: Sat, 25 Nov 2000 01:01:26 +0100

Hi!

I keep getting the above errors in my syslog/console (linux rh 6.2).
The machine acts as a mailserver and NFS-Server for our home 
directories. Normally I don't bother but sometimes they come really 
frequent (like 2-3 times / sec) and they hang the machine.

I've searched the web for it and someone suggested to add "insecure" I 
think to the exports file, but I'm not sure what it does..

Anyway, any suggestions are most welcome so if you think you've got a 
clue, mail me or post a mess in the group!

Thanks!
/Martin


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

From: Martin Svensson <[EMAIL PROTECTED]>
Subject: Re: E-mail client
Date: Sat, 25 Nov 2000 01:03:58 +0100



>> Kmail is supposed to be rather functional, as well.
> 
> 
> The new KDE2 version is very functional, but the old KDE1 version is
> very basic.

Spruce and Balsa (supports IMAP) are also very good .. they use the 
gnome libs. Download them at www.gnome.org

/Martin


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

From: Jerry Kreps <[EMAIL PROTECTED]>
Subject: Re: RPM's (Again!)
Date: Fri, 24 Nov 2000 18:12:04 -0600
Reply-To: [EMAIL PROTECTED]

Tim Jarrett wrote:

> Hi,
> 
> I have managed to create an incredibly large problem for myself.  Being a
> complete idiot (please don't laugh) I have uninstalled the rpm.rpm package
> from Kpackage.  I usually use the command line but I decided to try a GUI,
> and it went wrong.  As you can gather, I now have no way of installing
> RPM's.  I downloaded the rpm-4-tar.gz from ftp but was missing a few
> dependencies when I tried to install, so I tried to install rpm-2.3-tar.gz
> (what I was running before).  When I tried to install with the usual
> ./configure; make; make install; I just got an "Error 1" message after the
> compiler had churned away for a few steps.  I am really stuck as I can't
> install rpm's and I can't get rpm to compile.  *Any* help or advice would
> be appreciated.
> 
> Thanks in advance
> TCJ.
> 
> 
Seek out and install a STATIC version.  No compiling necessary.
Use google to find it.
JLK


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

Date: Sat, 25 Nov 2000 02:40:09 +0200
From: [EMAIL PROTECTED]
Crossposted-To: 
comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.questions,comp.os.linux.setup,comp.os.linux.help
Subject: playing video shuts down ppp

hi

i regularly watch .mpg and .rm movies on linux while surfing the net.
i've noticed that when watching movies, i receive almost no data from my
ppp interface. i stop playing the movies, and i start receiving data as
normal. i have a dial up account, using ppp-2.3.11 and interface
/dev/ppp0.

any ideas what the problem could be?
ali


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

From: Jerry Kreps <[EMAIL PROTECTED]>
Subject: Re: LD_LIBRARY_PATH
Date: Fri, 24 Nov 2000 18:16:43 -0600
Reply-To: [EMAIL PROTECTED]

Sven Mascheck wrote:

> Jerry Kreps <[EMAIL PROTECTED]> wrote:
> 
>  > Some programs require that their library path
>  > be added to it.  QTDIR is an example
>  > Set it in ./etc/profile.local for a network environment, or
>  > /home/<user>/.bashrc for a user.
> 
> IMHO that's wrong behaviour.  It should always be possible to fix
> things by compiling in the 'run time path' (-Wl,-rpath,[...]).
> 
> LD_LIBRARY_PATH has the _highest priority.  If things ever get confused
> by 'incompatible' path components, it would get very hard to
> fix things.  However, if the run time path is ever wrong, then you can
> still use LD_LIBRARY_PATH.
> 
> If you have to use it anyway, better write a wrapper for the binary
> (or package) so that you don't need to add it to your environment.
> 
> Another advantage is that _all users can use binaries with run time
> path automatically.
> 
> If you install all libraries in /usr/local/lib or alike, then you
> won't have these problems anyway - but version problems in turn :-)
> 
> To avoid the latter i install every package in it's own sub hierarchy
> (no version problems at all, just a soft link from a common bin/ dir).
> 
> I have excellent experiences without using LD_LIBRARY_PATH at all.
> 
> Yes, unfortunately one often has to fix the Imake-/Makefiles for this.
> 
> Sven

In essence I agree with you.  Prior to installing Qt-2.2.2 I didn't even 
set that var.  But, TollTech thinks otherwise and it's so easy to mod 
either profile.x or bashrc.
JLK


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

Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
Subject: Re: bash scripting question
From: Manfred Bartz <[EMAIL PROTECTED]>
Date: Sat, 25 Nov 2000 00:16:55 GMT

[EMAIL PROTECTED] writes:

> i need to execute a process and assign it's pid to a variable.
> eg. if i run xchat, say, and it has pid 1234, how can i store this value
> in a variable when the process begins execution?

immediately after you have started a program, its PID is stored in the
shell variable $!

        $ xcalc &
        [1] 19927
        $ echo $!
        19927
        $ 

This get overwritten when you start another program, so you should
save it, e.g.
        SavedPID=$!

Cheers
-- 
Manfred

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

From: Jerry Kreps <[EMAIL PROTECTED]>
Subject: Re: LD_LIBRARY_PATH
Date: Fri, 24 Nov 2000 18:18:22 -0600
Reply-To: [EMAIL PROTECTED]

Conrad Drescher wrote:

> Hi,
> 
> thanks for all the tips, I finally found out it was the startkde-script
> that initialized LD_LIBRARY_PATH. I needed some paths added in order to
> get a robotics-program running and do so now in /etc/profile. Anything
> wrong about that? It does not suffice setting the path in
> /home/<user>/.bashrc since i need root permissions when working.
> 
> --
> Conrad
> 
> 

Well, since you are running SuSE, they recommend puting it in either 
profile.local (network) or bashrc.  Profile can get overwritten.


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

From: "Buck Turgidson" <[EMAIL PROTECTED]>
Subject: Graphical Terminal for Linux?
Date: Sat, 25 Nov 2000 00:20:31 GMT

I need to install Oracle on linux machine on a network.  The installer uses
a GUI Java interface.  Is there a terminal emulator I could run on MS
Windows that is graphical in nature that would allow me to do this without
having to hook up a monitor to this particular machine?

I can telnet into it with no problems.

Thanks!



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

From: Michael Merideth <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,linux.misc
Subject: Re: Help me keep my Linux! Groupware solutions?
Date: Fri, 24 Nov 2000 17:22:34 -0700

Thanks to everyone who responded in the groups and in email.  I
investigated the domino solution, but found no notes client for Linux,
and the web interface for Domino has java applets that don't seem to
work with Netscape/Linux.

There were a couple of suggestions for Bynari TradeServer
(http://www.bynari.net).  They also offer an Exchange client for Linux,
which may prove useful if we get forced into an exchange-based solution.

There are also a wide variety of groupware solutions that are totally
web based, notably Cybozu Office (http://cybozu.com/index.html).  Many
of these solutions offer a wide variety of features, most are
closed-source commercial products.

In the end, what I'm now attempting to do is to get StarOffice to do
what I need it to do.  There's no obvious way to do project management
in a MS Project kind of way, but it offers shared calandering and
scheduling, and should be able to make use of other shared databases
using ODBC or JDBC.  It also offers synch with Palm OS devices, which my
company is standardized on.  Further, since the OpenOffice project has
been chosen as the core for the Gnome-Office suite, StarOffice seems to
have a future to look forward to as a de-facto standard for office
applications on the Linux desktop, while maintaining compatability with
other platforms.

Groupware, the ability to easily share knowledge and data, and manage
workflow, seems to be an area where Linux is still lagging behind, and
will represent a significant barrier to general desktop acceptance (for
those of us who care about such things).  Here's hoping that OpenOffice
and similar projects (like KOffice) will bring some of these
capabilities to the general Linux-using public.

Thanks again for your thoughts, everyone.

Mike Merideth



"M. Buchenrieder" wrote:
> 
> [Newsgroups: trimmed]
> 
> Michael Merideth <[EMAIL PROTECTED]> writes:
> 
> [...]
> 
> >Basically this is competing with the idea of an Exchange/Project
> >or Domino/Notes or Goldmine/Exchange/Palm Enterprise type solution.
> 
> [...]
> 
> How about using Domino for Linux? Should be downloadable from
> the Lotus website.
> 
> Michael
> --
> Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
>           Lumber Cartel Unit #456 (TINLC) & Official Netscum
>     Note: If you want me to send you email, don't munge your address.

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

From: Jerry Kreps <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux
Subject: Re: New To Linux - Distributions
Date: Fri, 24 Nov 2000 18:22:54 -0600
Reply-To: [EMAIL PROTECTED]

Mike wrote:

> Hi everyone,
> 
> I am thinking about downloading and installing Linux for the first time. 
> I am very familiar with Windows/DOS environments but from what I have
> heard/seen of Linux so far I have a feeling I am going to be pretty lost,
> but I think I would like to try it any way.
> 
> I have found huge lists of Linux Distributions, and I am not sure which
> one
> to get.  Bascially I use my computer for Windows based games (such as Red
> Alert 1/2, Quake 3, Unreal Tournament, C&C Tiberian Sun, and a few other
> DirectX and OpenGL based games) and the only application I use heavily is
> Microsoft Office 2000.  Can I run these things in a particular Linux
> distribtion, if so which one?
> 
> I have an Athlon 700, 256 RAM, Geforce 2 GTS system as well.
> 
> Can any one recommend a distribution for me?  Prefereably one that is
> novice-medium level of "difficulty" too...
> 
> Thanks!
> 
> Mike
> 
> 

I found a book "Learn Linux in 24 Hours" by Sam's Publishing.  It had a RH 
5.0 CDROM in the back.  It took me only 30 hours!  ;-)

That was 3 years ago.  About 2.5 years ago I found SuSE, a very well 
engineered distro, and very complete.  With 6 CDs you almost never have to 
download anything from the internet, except the very very latest or the 
bleeding edge stuff.
JLK


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

From: "Scott M. Navarre" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: Multiple SCSI controller cards
Date: Sat, 25 Nov 2000 00:23:11 GMT

  Please disregard question 1), the message must refer to the "Extended BIOS
translation" that I set to 'Disabled' through the EISA setup for the cards -
and shouldn't matter... all the drives on the controller are less than 1GB
(they are all 0.5GB drives).



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

From: "Jan Schaumann" <[EMAIL PROTECTED]>
Subject: Re: Graphical Terminal for Linux?
Date: Fri, 24 Nov 2000 19:39:52 -0500

* "Buck Turgidson" <[EMAIL PROTECTED]> wrote:

> I need to install Oracle on linux machine on a network.  The installer
> uses a GUI Java interface.  Is there a terminal emulator I could run on
> MS Windows that is graphical in nature that would allow me to do this
> without having to hook up a monitor to this particular machine?

I believe you'd call a "graphical terminal emulator" and X-server - and
there are X-Servers for Windows somewhere.
So you are essentially asking for a windows-application. This is the
wrong group to ask for a windows-application, ask in a windows-group.

> I can telnet into it with no problems.

You shouldn't telnet - use ssh.

-Jan

-- 
Jan Schaumann <http://www.netmeister.org>

Bender: "I came here with a simple dream, a dream of killing all humans."

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

From: Bob Martin <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat
Subject: Re: Not able to compile anymore
Date: Fri, 24 Nov 2000 18:54:07 -0600

Leonard Lin wrote:
> 
> Hello
> 
> I setted up a new redhat 7.0 installation. And wanted to
> compile a new kernel. I donwloaded version 2.2.17 and 2.2.16
> I configured them as usual but if I start to compile with
> make zImage it claims some minutes later something about
> error in a source file. somewhere in the mm (memory managing)
> I've never had such problems and I'm experienced linux-user.
> May someone help?
> Did redhat change something that you have to install a special
> rpm or link something manual?
> 
> Thanks a lot in advance
> 
> Leonard Lin
> 

Yes , they shipped a version of gcc that doesn't compile the
kernel source. The details are on their website for 7.0
-- 

Bob Martin

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

From: [EMAIL PROTECTED] ( Black Dragon )
Crossposted-To: alt.os.linux.mandrake,alt.os.linux
Subject: Re: shutdown vs halt
Date: Sat, 25 Nov 2000 00:52:07 GMT


On Fri, 24 Nov 2000 02:14:51 GMT in alt.os.linux,
<[EMAIL PROTECTED]> `unix nut' said:


: Another way to shutdown is to set to run level 0.
: login as root and type "init 0"  this will cleanly and instantly shut system
: down.


This is probably over-kill but it's become a habit. I always take the 
machine down to run level 1 (single user), sync the file system, and 
then issue the halt command. On the rare occasions that I need to shut 
it down that is. :-) 


-- 
Black Dragon

Sign The Linux Driver Petition:
http://www.libralinux.com/petition.english.html

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

From: asage <[EMAIL PROTECTED]>
Subject: Re: Netscape & cable 'net access?
Date: Sat, 25 Nov 2000 01:00:01 GMT

Thanks very much everybody who has helped me out here.  I'm in Linux as
I write this :)

I had something to say about successfully pinging Yahoo, but it wouldn't
look right <g>

Allison Sage


asage wrote:
> 
> Is anybody using this combination, specifically @home?
> 
> It browses fine, but even though I've entered 'mail' for both Pop3 and
> SMTP (and 'news' for the newsgroups), it keeps saying it can't find the
> server 'mail'.  These are the settings I use in Netscape in Windows, and
> they work in Windows; they ought to work in Linux!  Rogers doesn't
> support Linux, so no joy there.
> 
> Additionally, I'm using Netscape 4.7-ish in both Windows and Linux.
> 
> Any help would *really* be appreciated!
> 
> TIA
> 
> Allison Sage

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

From: Bob Martin <[EMAIL PROTECTED]>
Crossposted-To: osu.sys.linux
Subject: Re: lpd network permissions problems
Date: Fri, 24 Nov 2000 19:25:30 -0600

Bill Unruh wrote:
> The lpd daemon spaws itself whenever there is work to be done. Doing a
> tcpdump my daemon would send a message over the remote printer machine,
> and would get answers back and then everything would hang. So I suspect
> that the second daemon was spawned to handle the job and then something
> got in the way.
> 

Yes, and when you start lpd it will fork for each entry in
printcap ( you can run strace on lpd and see this ). It's
doing some verification of the entry. I had one that I had
not finished and broke lpd when it hit it. If you kill the
second daemon, it will start working again.

-- 

Bob Martin

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

From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: RH7 kernel compile error
Date: Fri, 24 Nov 2000 19:33:37 -0600

Martin Stenzel wrote:
> 
> Chris Borgnaes wrote:
> 
> > I'm recompiling the kernel to incorporate a Creative Ensoniq AudioPCI card.  Am 
>>>I missing a package or something?  And what's kgcc?
> 
> kgcc is just a graphical frontend to gcc, the GNU compiler, do not worry about >that

No, kgcc is kernel gcc, an older version of gcc than what RH
ships with 7.0. You will need it to compile the kernel on RH
7.0
-- 

Bob Martin

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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.lang.postscript,alt.os.linux
Subject: Re: "J" bug in ghostscript
Date: 25 Nov 2000 02:18:22 GMT

In <[EMAIL PROTECTED]> HoSghaj2 
<[EMAIL PROTECTED]> writes:


]When I try to print a file containing the character "J"
]at the beginning of a line anywhere in the file, e.g.

]November 24, 2000

]John,

]Happy Thanksgiving. I'm looking forward to our next meeting.

]Gary


]the file won't print. I haven't tested every printable 
]character in this manner, but I've printed a good many files
]with ghostscript, and the "J" is the only character I know
]of so far that causes ghostscript not to work.

]Does anyone have any idea of how to fix this?



Exactly how are you printing these files? I assume you mean that you are
trying to print an ascii file through the printer which uses ghostscript
as a filter. However, with ascii text it should not be using
ghostscript, but rather translating it directly . How exactly are your
printer filters set up?

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

From: "Scott M. Navarre" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: Multiple SCSI controller cards
Date: Sat, 25 Nov 2000 03:04:44 GMT

But, I still need the answer to question 2) please!



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

From: Allin Cottrell <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Modconf doesn't find any modules (kernel 2.4.0-test10)
Date: Fri, 24 Nov 2000 21:36:16 -0500

Otto Wyss wrote:
> 
> I just installed kernel 2.4.0-test10 to see if my crashes of X v4 goes
> away but modconf doesn't find any modules, even if I have modutils
> 2.3.19...

What's "modconf"?  Try using the standard tools /sbin/depmod and
/sbin/modprobe (reading their man pages first if necessary).
Note that /etc/conf.modules is no longer an acceptable name for
the modules configuration file: it must be modules.conf.  This
is in the kernel's Changes documentation.

Alln Cottrell.

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

From: [EMAIL PROTECTED] (Victor Wagner)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.apps,comp.lang.java.databases,comp.databases.informix,comp.databases.oracle.server,comp.databases.sybase,linux.redhat.misc,linux.postgres,comp.databases.pick,comp.databases.ibm-db2,comp.databases.oracle.misc
Subject: Re: Database in Redhat Linux
Date: 24 Nov 2000 22:47:57 +0300

In comp.os.linux.misc Freelancer <[EMAIL PROTECTED]> wrote:
: I need decide which database going to run for Redhat Linux.
: I know MySQL is the most popular one in Linux world. I need
: you help me to fill out the blank and hole (?) in table below.

Its a pity for Linux World, that most hype is done by people who don't
know what real database is. So they promote mySQL which is no more than
fast flat-file search engine with SQL-like syntax.

It cannot be considered real SQL just becouse SQL stands for
Structured Query language, and mySQL doesn't support structured, i.e.
nested queries. 

But database is much more than just search engine. It also should ensure
integrity of data both by enforcing some conditions of them (i.e.
foreign keys and triggers) and by rolling failed transactio back to
consistent state.

So, only free database is PostgreSQL. But PostgreSQL start to
resemble real database only since 7.0 version, becouse before there was
no foreign keys. I would consider that it IS a database, not RESEMBLES
one only when it begin to support outer joins and binary large objects.
Both are scheduled for 7.1.

BTW, Inprise/Borland recently have open sources for Interbase, which IS
the database.

: I know Oracle, Sybase, Informix and DB2 support most or all of them in
: UNIX (Solaris, HP-UX, AIX, etc.) But I am
: not sure are they also support in Linux.

All ones you've mention are supported.


-- 
It's hard to tune heavily tuned code.  :-)
             -- Larry Wall in <[EMAIL PROTECTED]>

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

From: John Scudder <[EMAIL PROTECTED]>
Subject: Resource Conflict Detective
Date: Fri, 24 Nov 2000 22:13:37 -0500

Using the module 'viaudio', I can use the builtin sound section on my
Gigabyte motherboard.   The driver was made for RH 6.1 and I am using
SuSE 6.3, but it works..........until I try to use my US Robotics PCI
modem.  Then everything locks up. I have to use the reset button to
exit.

The sound section uses IRQ 9  and i/o D000 -D8FF.  The modem uses IRQ 5
and i/o C800 to C807.  Either one of them works perfectly alone.  Using
them together is disaster.  How can I find where the conflict lies?

John


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

From: [EMAIL PROTECTED] (Bob Hauck)
Crossposted-To: alt.os.linux
Subject: Re: suid
Reply-To: bobh{at}haucks{dot}org
Date: Sat, 25 Nov 2000 03:43:48 GMT

On Wed, 22 Nov 2000 06:55:36 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

>I wanted to allow non-privileged users to do execute a script that would
>normally require su access (for example "touch /bin/something"), so I
>did "chmod +s script", however when script is executed, its body still
>reports "permission denied".

Linux doesn't allow suid shell scripts due to it being very difficult
to ensure that the user hasn't manipulated the script's environment to
create security holes.  You have several options:

1.  Use Perl (if you have suidperl) or C (if you don't) instead.
2.  Write a C wrapper that cleans the environment and calls the script.
    This is harder than it might appear to get right.
3.  Install sudo.

There are probably others.  IMO, #3 is probably the best option because
it solves the problem of "I want to let certain users do this
privileged thing without knowing the root password" in a general way.


-- 
 -| Bob Hauck
 -| To Whom You Are Speaking
 -| http://www.haucks.org/

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

From: [EMAIL PROTECTED] (Dustin Puryear)
Crossposted-To: comp.unix.shell
Subject: Re: adding users...
Reply-To: [EMAIL PROTECTED]
Date: Sat, 25 Nov 2000 03:58:47 GMT

On Wed, 22 Nov 2000 16:18:23 GMT, Jeffrey Hood <[EMAIL PROTECTED]> wrote:
>I am trying to write a shell script that will add users _with_ a password 
>and a dummy entry for a login shell ( I need to add mail users...)  And 
>eventually this might be called as a cgi script from a web page...
>
>Is there any way to do this without editing the passwd and shadow files, 
>and if that is the -only- way to do it, how does one get a password from 
>the system in a shell script...  It seems that unless I want to write 
>this in perl, I can't access the crypt function to encrypt the 
>password...

Gone are the days of the manpage.. anyway, it's simple:

#!/bin/sh

for user in `cat userlist`; do
    useradd $user
    echo "password" | passwd --stdin $user
done

Also investigate chpasswd and chsh.

Regards, Dustin

-- 
Dustin Puryear <$email = "dpuryear"."@usa.net";>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux


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

From: "vkd" <[EMAIL PROTECTED]>
Subject: Re: Motd and mail on login
Date: Sat, 25 Nov 2000 04:02:09 GMT

I did look up that man page before I posted. I didn't want to use .hushlogin
because I do want the motd to be printed. Thus I wanted to find out what
script actually printed the motd and mail check. Login really wasn't the
issue because login wasn't actually used.

I posted a message when I found my issue (it was the SSHD daemon).

Usually, at least in my solaris installs, it's the /etc/.login that prints
the stuff. Don't ask me why, some loon thought /etc/.login would be nice
(probably some old junk from SunOS). However, SSH does not use login (at
least in my case) so it doesn't really matter what login does. Linux doesn't
seem to have any script that prints mail (I thought it did because, as I
said, my Solaris boxes do), but you're right, only shell scripts
(/etc/profile and etc. print the motd and mail stuff) and, as it seems,
login program as well.

Thanks anyway.

P.S.
I really don't see any need for making "smart" comments. A simple pointer to
the manpage would've been enough. It is my fault for not specifying a remote
ssh login, for that I apologize.

"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
> vkd <[EMAIL PROTECTED]> wrote:
> > Which script in linux checks mail on login and prints motd? I want to
> > disable the mail check on login. Where should I look?
>
> At your shell. Your man page might be nice.
>
> Actually, I seem to recall that there's a catch 22 that stops you
> disabling it unless .nomailfoobla is set in /etc, or other exotic
> wizardry, because login attacks before the shell starts.
> When you find out, you can tell us!
>
>     MAIL   If  this  parameter  is  set  to a filename and the
>            MAILPATH variable is not set, bash informs the user of the
>            arrival of mail in the specified file.
>    MAILCHECK
>
> etc. etc. Ah yes, from  the login man page
>
>        If the file .hushlogin exists, then  a  "quiet"  login  is
>        performed  (this  disables the checking of the checking of
>        mail and the printing of the last login time  and  message
>        of  the  day).  Otherwise, if /var/log/lastlog exists, the
>        last login time is  printed  (and  the  current  login  is
>        recorded).
>
> Sorry to spoil your fun. Now why didn't YOU go look it up instead of me
> ...
>
> Peter



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

From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: snmp monitoring
Reply-To: [EMAIL PROTECTED]
Date: Sat, 25 Nov 2000 04:02:36 GMT

On 23 Nov 2000 14:08:43 +0800, system <[EMAIL PROTECTED]> wrote:
>Hi there any good snmp graphical display program running on red hat 6.2

MRTG.

Regards, Dustin

-- 
Dustin Puryear <$email = "dpuryear"."@usa.net";>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux


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


** 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