Linux-Misc Digest #781, Volume #23 Tue, 7 Mar 00 19:13:02 EST
Contents:
Re: How to create a persistent port listener from a shell account (thomas park)
How do I figure out which module to install ([EMAIL PROTECTED])
Linux for Begginers Book Recomendation (Jamie)
Re: Linux mailservers (Timothy J. Lee)
Re: shutdown as another user than root? (thomas park)
Re: corel Linux does it have plug & play (Ewan Dunbar)
bill payment apps ([EMAIL PROTECTED])
Re: *.1.gz to ascii ? (Floyd Davidson)
Re: KDE (Dances With Crows)
Re: Linux for Begginers Book Recomendation (Dances With Crows)
Re: shutdown as another user than root? (Dances With Crows)
Linux or window 98 (philip tulpin)
Re: Salary? (Jan Schaumann)
Re: What to do if you forget the root password (Jan Schaumann)
Re: Where does Kpackage install program files (Jan Schaumann)
Re: Where does Kpackage install program files (Aulne)
Re: Compare Win 2000 to Linux Red Hat 6.1 in temperature (Ian Stirling)
----------------------------------------------------------------------------
From: thomas park <[EMAIL PROTECTED]>
Subject: Re: How to create a persistent port listener from a shell account
Date: Tue, 07 Mar 2000 17:37:05 -0500
David Mertz wrote:
>
> What security issues do you think are likely here? The PAOS Server does
> not allow execution of arbitrary python code, but only requests in a
> specific query form. I suppose there is always the general dangers
> associated with any server (buffer-overrun exploits, and things like
> that, or maybe some flaw in PAOS to smuggle in instructions). But it is
> not clear to me what real danger the Server creates beyond any issues
> associated with CGI. Of course, I might be missing something.
Sorry for being obscure on that point =) I was indeed referring to the
possibility of a cracker accessing and/or modifying your data. While
I'm not terribly familiar with python, it is generally a good practice
to present the most minimal external interface possible to your CGI
modules (to minimize exposure via buffer overflows and especially SUID
programs).
>
> > Functionality-wise, have you tried running the program from cron? (man
> > cron, man crontab). I'd be surprised if the process needed to be
> > attached to a terminal to function.
>
> I had thought about cron. The listner/server certainly has no need to
> be attached to a terminal to work. The thing is that what I really want
> is to be able to start and stop the process at my own discretion, as
> opposed to on some specific schedule. I may be misunderstanding cron
> (which I don't know well), but I don't *think* it can directly do: "make
> sure this thing is running all the time, unless I decide I want to stop
> it for a while". For example, if my hosts need to take down thier site
> for a while, my cron job would presumably not restart until the time of
> day/week/whatever that it was scheduled for (and not necessarily as soon
> as the system was back up).
>
The benefit of using cron would be that you could set up a job to run
every 5 mins. or so, check to see if your server is running, and restart
it if it is not. This could be accomplished by using 'ps' and 'grep'.
If you don't need a "high availability" setup, this is probably
overkill.
There is a solution if you just want to run this from the command line.
The problem you're running into is the fact that when you quit your
shell, it sends a termination signal (SIGHUP?) to all of your processes
associated with that shell. The exact workaround depends on your shell
- essentially, though, you need to remove the process from the job list
associated with that shell. The syntax depends on the shell you use; in
bash, for example, you'd put the process in the background and then type
"disown <pid of server>". This will allow you to exit your login shell
without killing the process. Check the 'job control' section of your
shell's man page if you don't use bash =)
HTH,
thomas
------------------------------
From: [EMAIL PROTECTED]
Subject: How do I figure out which module to install
Date: Tue, 07 Mar 2000 22:42:47 GMT
I'm trying to get the ISC DHCP server to work with the current Debian
distribution. After installing it, I get the message that
the "protocol is not available" and that I should make sure that
CONFIG_PACKET and CONFIG_FILTER are set in my kernel. I don't want to
have to do a kernel re-compile. Is there a way to figure out if those
values were compiled as modules? And if they were, is there a way to
determine which module I need to insmod? None of the descriptions in
modconf look promising.
Mark Wright
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Jamie <[EMAIL PROTECTED]>
Subject: Linux for Begginers Book Recomendation
Date: Tue, 07 Mar 2000 22:30:08 GMT
I know Windows 98 pretty well, and recently installed linux on my system
at home just to play around with. I really don't have a serious need for
it, but I'd like to learn it because it is supposed to be a much better OS
than Windows. Does anyone have a good recomendation for a book that can
give me a good overview of the basic functions and how to use them.
Thanx in advance.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Timothy J. Lee)
Subject: Re: Linux mailservers
Date: 7 Mar 2000 23:07:02 GMT
Reply-To: see-signature-for-email-address---junk-not-welcome
[EMAIL PROTECTED] (Andy) writes:
|If anyone can recommend (or dissuade!) me from a particular product
|I'd be very grateful. The system needs to be able to handle 1,000+
|accounts and provide the usual stuff;
|- mailboxes (delivery addresses)
|- forwarding
The usual mail transfer agents do this (sendmail, qmail, postfix,
etc.).
|- vacation etc. notice
Stuff like this is usually done with procmail or vacation.
|- easy to maintain (and to install as well, ideally!)
qmail and postfix are easier to configure than sendmail.
postfix is easier than qmail if you are trying to drop it
in as a replacement for an sendmail installation.
|- support web and POP3 clients as a minimum
POP and IMAP are usually handled by a separate program (UW imapd/ipop3d,
qpopper, Cyrus, cucipop, qmail's qmail-popup/qmail-pop3d, etc.).
Mail to web is usually handled by a separate program, like
Horde's IMP.
--
========================================================================
Timothy J. Lee timlee@
Unsolicited bulk or commercial email is not welcome. netcom.com
No warranty of any kind is provided with this message.
------------------------------
From: thomas park <[EMAIL PROTECTED]>
Subject: Re: shutdown as another user than root?
Date: Tue, 07 Mar 2000 17:44:59 -0500
Some distributions of Linux allow any user to restart the system by
hitting Ctrl+Alt+Delete on the console. I'm not sure if this is linked
to kernel version or not.
If this doesn't work on your system, you can make a SUID wrapper for
shutdown (SUID programs execute as the owner of the binary - for
shutdown, you'd need an SUID root binary). chmod 4000 sets the SUID bit
(replace 000 with the RWX permissions you'd like to have on the file)
bonne chance,
thomas
Mathieu FRANCOIS wrote:
>
> i everyone!
>
> At home, I have a PC under linux, connected to internet (by ADSL) and
> running IP Masquerading.... (and it's very cool ;-)
>
> It would be practical if my roomie could shutdown this computer too,
> without
> logging root, but logging as another user (adsl for example, with
> restricted rights).
> So Here is my question :
>
> ---> Can another user than root shutdown a computer?
>
> - the option -a with the /etc/shutdown.allow file does'nt seem to be
> what I am looking for...
>
> - the file /sbin/shutdown seems to 'internally' check the user launching
>
> the command...because changing the rights and the user of the file does
> not change anything.
>
> Could you help me?
>
> thanks by advance :-)
>
> Mathieu FRANCOIS (FRANCE)
------------------------------
From: Ewan Dunbar <[EMAIL PROTECTED]>
Subject: Re: corel Linux does it have plug & play
Date: Tue, 7 Mar 2000 18:06:08 -0500
On 7 Mar 2000, brian moore wrote:
> On Sun, 5 Mar 2000 22:14:24 -0500,
> Ewan Dunbar <[EMAIL PROTECTED]> wrote:
> > On Mon, 6 Mar 2000 [EMAIL PROTECTED] wrote:
> >
> > > I want to get rid of windows and run corel linux. But my IT person at my
> > > work suggested that I not do this. One is because I am not a progrmer and
> > > don't understand the language. And another reason it doesn't have plug and
> > > play capabilities. Is this true? Thanks
> > >
> >
> > No and no. But there is a learning curve. Don't be surprised if you get
> > frustrated. I've known people to do this. I did once. But only once. But it
> > was not fun. But in the end, I bounced back, and I love it! Maybe someone
> > else could give you some advice on choice of distribution though -- I haven't
> > heard great things about Corel Linux. I have, however, heard great things about
> > Mandrake 7. I haven't tried either, but I'm getting a Mandrake 7 CD in a week
> > or so, if you can wait that long for my advice... :-)
>
> Well, if you haven't heard great things about Corel you haven't been
> listening. :)
>
Let me rephrase that. I *have* heard great things about Corel. I even
gawked at the purty Corel KDE screenshots when they first came out. But I've
read some things which lead me to the conclusion that it isn't very good.
Not very good meaning Not Very Good in the way that Caldera 2.2 is Not Very
Good in my experience. Inflexible, simplistic, and unreliable. However, in
light of the fact that it's based on Debian, I've always found this a little
hard to believe.
--
There is no sig.
Ewan Dunbar
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: bill payment apps
Date: Tue, 07 Mar 2000 23:09:08 GMT
Does anyone know of any BILL payment organizer apps for console (NOT
X11 based)? Or perhaps some existing database implementation to keep
track of billing matters? Thanks.
Please email me at [EMAIL PROTECTED]
Thanks in advance.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: *.1.gz to ascii ?
Date: 07 Mar 2000 13:19:29 -0900
Aron Felix Gurski <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] wrote:
>>
>> Hi,
>> the midnight commander's file-view function (F3) shows me the various
>> 'man' files as plain ascii. { off course man <stuff> also shows text, but
>> doesn't allow 'string searching' }
>>
>> I want to get the file as plain ascii, presumably by something like:
>> <command> <*.1.gz fileID> > <asciiFileID>
>
>Try
> man file > text-file
>
>man should be able to deal with *.1.gz files (at least the version I have does).
However, that won't likely be useful for string searches, as it
is going to be full of back spaces and underscores between
letters. To do the job properly, run it through a filter like
col,
man file | col -xb > text-file
But, it should be noted that the premise this was based on is
not true, because you *can* do string searching in the text
displayed by the man command. Enter 'h' to get a help screen on
what can be done. The basic search commands are '/string' to
search forward and '?string' to search backward.
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: KDE
Date: 07 Mar 2000 18:25:42 EST
Reply-To: [EMAIL PROTECTED]
On Tue, 7 Mar 2000 14:39:45 -0800, Greg J. Zartman
<<Awfx4.951$[EMAIL PROTECTED]>> shouted forth into the ether:
>I haven't spent a great deal of time with KDE, so this may be a dumb
>questions.
>
>Is it possible to configure KDE so that it doesn't function like a web page
>(i.e., "single click")?
Not yet--at least, not without modifying the KDE source! This capability
will accessible without modifying the source in KDE 2.0 from what I've
heard. It seems like a big oversight on the part of the KDE team, but I
guess they had more important things to worry about....
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Linux for Begginers Book Recomendation
Date: 07 Mar 2000 18:28:29 EST
Reply-To: [EMAIL PROTECTED]
On Tue, 07 Mar 2000 22:30:08 GMT, Jamie <<[EMAIL PROTECTED]>>
shouted forth into the ether:
>I know Windows 98 pretty well, and recently installed linux on my system
>at home just to play around with. I really don't have a serious need for
>it, but I'd like to learn it because it is supposed to be a much better OS
>than Windows. Does anyone have a good recomendation for a book that can
>give me a good overview of the basic functions and how to use them.
_Running Linux_, published by O'Reilly. Runs about $30; they have
distro-specific versions for RedHat and Debian. Don't bother with the
distro-specific versions--you'll probably learn more with the standard
version. The manual that came with your distro is a good thing to read,
and the website below is a rich source of info:
http://www.linuxdoc.org/HOWTO
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: shutdown as another user than root?
Date: 07 Mar 2000 18:35:30 EST
Reply-To: [EMAIL PROTECTED]
On Tue, 07 Mar 2000 23:29:51 +0000, Mathieu FRANCOIS
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>
>It would be practical if my roomie could shutdown this computer too,
>without
>logging root, but logging as another user (adsl for example, with
>restricted rights).
man sudo
man sudoers
Personally, I wouldn't let anyone but me have that much power over my
machine, but I'm paranoid like that.
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: philip tulpin <[EMAIL PROTECTED]>
Subject: Linux or window 98
Date: Tue, 07 Mar 2000 23:30:03 GMT
Hello
Do I need to be a computer specialist for use and install Linux ?
I can�t do programmed difficult software.
So I need to know if Linux is easy to use?
Can I still use my win98 software and other software for window98 ?
Philip
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Jan Schaumann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Tue, 07 Mar 2000 18:52:37 -0500
Donovan Rebbechi wrote:
>
> On 7 Mar 2000 18:34:44 GMT, Joseph T. Adams wrote:
>
> >Is it reasonably safe?
>
> Jersey City is quite safe. Not sure about Manhattan, but my impression
> is that it's OK ( though it's true that a lot of people get robbed there )
I find Manhattan to be *really* safe. But this depends of course also on
the neighborhood inside Manhattan.
The only criminal thing I've encountered so far are the rents...
-Jan
--
Jan Schaumann
http://jschauma-0.dsl.speakeasy.net/
------------------------------
From: Jan Schaumann <[EMAIL PROTECTED]>
Subject: Re: What to do if you forget the root password
Date: Tue, 07 Mar 2000 18:57:28 -0500
Dances With Crows wrote:
>
> On Tue, 07 Mar 2000 09:30:14 GMT, gabriel <<[EMAIL PROTECTED]>>
> shouted forth into the ether:
> > I'm a new user in redhat linux, ived forgot my superuser
> >password, so if possible can you help me solve this problem.
>
> Boot from a rescue disk--you do have one, right? If not, then *get* one.
> Tom's RootBoot is a nice one-- http://www.toms.net/rb .
>
> A rescue disk will allow you to log in as root without a password. Then
> you can mount your root filesystem and edit /etc/shadow. The line that
> has "root" in it will look kind of like this:
> root:BlahBlah123:10994:0:10996::::
> Delete all the text between the first 2 colons. Now when you boot from
> the hard disk, root will have no password. So, log in as root and
> immediately SET A PASSWORD THAT YOU WILL REMEMBER.
Or easier, at the LILO prompt type
LILO: your_kernel_name_here single
(hit "tab" to see which kernels are available)
then you get kicked right into a normal shell, and you can set a new
password for the root-user using "passwd"
-Jan
--
Jan Schaumann
http://jschauma-0.dsl.speakeasy.net/
------------------------------
From: Jan Schaumann <[EMAIL PROTECTED]>
Subject: Re: Where does Kpackage install program files
Date: Tue, 07 Mar 2000 18:58:49 -0500
[EMAIL PROTECTED] wrote:
>
> What's the default directory that kpackage installs application files in?
> I installed a package and the RPM database says it's installed, but I
> can't find it anywhere...
open kpackage again, find the package you installed and then hit the tab
that says "files" or something. it will give you a listof the files it
installed and where they are.
-Jan
--
Jan Schaumann
http://jschauma-0.dsl.speakeasy.net/
------------------------------
From: Aulne <[EMAIL PROTECTED]>
Subject: Re: Where does Kpackage install program files
Date: Tue, 07 Mar 2000 23:53:59 GMT
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
> What's the default directory that kpackage installs application files in?
> I installed a package and the RPM database says it's installed, but I
> can't find it anywhere...
Start Kpackage, find and click on the package that's already installed
in the tree window at the left. You'll see a description of the package
in the window on the right. This window has another pane which is a file
list of the install package, complete with paths. Click on the tab in
the upper left of that window to change panes.
Alain
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Ian Stirling <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.hardware.homebuilt,alt.comp.hardware.overclocking,comp.sys.ibm.pc.hardware.misc,tw.bbs.comp.hardware
Subject: Re: Compare Win 2000 to Linux Red Hat 6.1 in temperature
Date: Wed, 08 Mar 2000 00:08:33 GMT
Mickey Stein <[EMAIL PROTECTED]> wrote:
>With Linux, you can recompile the kernel and set one of the zillions of options
>(issue HLT inst?) to issue HLT during the null process. With NT? You can't
<snip quoted text improperly placed at bottom>
HLT is not an APM thing, it's been in since 386 days.
APM lets the kernel tell the hardware more about the state of the system,
for example, it can tell the hardware when the system really is idle, so it
can slow the clock, or do other things.
--
http://inquisitor.i.am/ | mailto:[EMAIL PROTECTED] | Ian Stirling.
===========================+=========================+==========================
"Looks like his brainwaves crash a little short of the beach..." - Duckman.
------------------------------
** 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
******************************