Linux-Misc Digest #323, Volume #20 Sun, 23 May 99 22:13:12 EDT
Contents:
Report from after I have run Nessus. (Cesar da Silva)
newbie DHCP?? (Derek)
User Setup Problem (GLRocca)
Kde (Paul Trost)
Re: /etc/issue (Josh Joyce)
How to make a crontab that will make an empty file (mike murray)
Re: Install help: HD BIOS cylinder 4092 limit. ("Lee Howard")
Re: NT the best web platform? (Hiran Chaudhuri)
Re: Linux kernel source code online in HTML format? ("test")
Re: NT the best web platform? (Olaf Walkowiak)
Re: Cannot run Glint or xrpm under root (Robert George Mayer)
Re: How to make a crontab that will make an empty file (Justin B Willoughby)
Re: SETI comparisons (Raj Rijhwani)
Re: Kde (Steve Nospam)
Alpha, PowerPC, Intel, and Sparc ("Michael")
wxftp can't get remote directory (John Thompson)
Re: Need help setting up system. (Bev)
Re: Registry in Linux ??? (Christopher B. Browne)
Re: Conner tape drive and Linux? (Frank Miles)
Re: Rebuilding SRPMs (Michael McConnell)
Linux users in Hawaii (root)
----------------------------------------------------------------------------
From: Cesar da Silva <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.help,comp.os.linux.question,comp.os.linux.setup,comp.os.linux,linux.redhat.misc
Subject: Report from after I have run Nessus.
Date: 23 May 1999 23:32:05 GMT
Hi!
I've just runned Nessus on a Red Hat v6.0 and got this messages.
* printer (515/tcp) INFO You should check that the remote printer service (lpd);is
correctly configured to accept print requests only;from a restricted panel of hosts.
What I did to the above message was that I created a file called /etc/hosts.lpd and
put my hostname in it (thunder.mil). Is that the right way to fix this?
* (6000/tcp) REPORT On this machine, there is an X11-Server that grants access;without
authentification. That means a hacker is able to sniff;every keystroke that is typed
on the X11-Server (or get a copy of the victims screen).;Solution: use MIT-Cookies,
xauth. ;
I thought that Red Hat did this as default. I checked the file /etc/X11R6/bin/startx
and it has the -auth switch. So what am I missing here?
* general/icmp INFO The remote hosts answered to an icmp TIMESTAMP request.;This will
give away the remote host current time to an;attacker, and this may help him to bypass
time based ;authentification protocols;Solution : configure your firewalls/router and
deny ICMP TIMESTAMP requests
What is the ipchain command for doing the above mentioned step?
(111/udp) INFO We could connect to the remote;RPC portmapper. This can give
away;interesting informations to an attacker;Solution : filter incoming traffic to
this port
What is the right command for doing this?
Thanks in advance,
Cesar da Silva
------------------------------
From: Derek <[EMAIL PROTECTED]>
Subject: newbie DHCP??
Date: Sun, 23 May 1999 19:45:59 -0400
I am using SuSe Linux 6.1 and just switched over from RH5.1 to this and
now I cannot seem to find a config tool to setup my computer for a DHCP
server. It asked me in setup for my hostname and domain name and I just
put something in but never gave me an option for DHCP access. Does
anyone know something about the Suse OS? or any other ideas please.
thanks in advance
Derek
--
Add your Homepage Link!
Cut and Paste JavaScripts and MSIE scripts.
HTTP://www.ghitar1.com
Don't forget to sign the Guestbook!
Derek (Webmaster) {AOL I.M. ~ghitar1}
------------------------------
From: GLRocca <[EMAIL PROTECTED]>
Subject: User Setup Problem
Date: Sun, 23 May 1999 09:40:21 -0400
Can someone explain why I dont seem to be able to confer PPP, POP, or
any other priveleges to a normal user set up per my Linuxconf setup
menu. I go into Linuxconf, set up my normal user account and all the
appropriate buttons are clicked on, but when I run as user, I can't get
to my MODEM or anything else (Usernet tells me I have no access
priveleges available). When I am in ROOT everything is fine except for
the annoying fact that I cannot size my Netscape window to fit the
screen which is so annoying Ive gone back to Windows95 to surf the
Internet. SIGH.......
P.S.: RedHat has been ZERO help on all this of course, and their
manual totally opaque.
P.P.S.: I'm running Red HAT Linux version 5.2. I see 6.0 is out. Has
anyone asked why previous owners are unable to unpgrade either for free
or for a nominal sum ?
STatem
------------------------------
From: Paul Trost <[EMAIL PROTECTED]>
Subject: Kde
Date: 24 May 1999 00:31:05 GMT
I am using kde 1.1.1 on SuSE 6.0. I have noticed on both my workstation and
my server that every now and then when I close out an application window
(like navigator or a terminal window) that my panel and taskbar will
disappear. I can't get them back unless I click on the icon to shutdown kde
and then restart it again. Has anyone else experienced this behavior?
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
Crossposted-To: uchi.comp.unix
From: Josh Joyce <[EMAIL PROTECTED]>
Subject: Re: /etc/issue
Date: Mon, 24 May 1999 00:30:15 GMT
Grand Poobah of PRAM wrote:
>
> I've been runnin Redhat for a couple version (5.0 to 6.0), and I've
> noticed somthign that vastly annoys me-if you alter /etc/issue, it
> will change back to the default after rebooting. Does anyone know
> what's doing this, and how to stop it? I'm guessing it's one of the
> scripts in /etc/rc.*, and I'm thinking that changing the script will
> do it, butI'm not sure...
You're right - it's in the init scripts. I haven't used Red Hat in a
while so I'm not sure which, but try to grep around for the one that
contains the offending line(s). I had to so the same thing once. :)
--
Josh Joyce
[EMAIL PROTECTED]
------------------------------
From: mike murray <[EMAIL PROTECTED]>
Subject: How to make a crontab that will make an empty file
Date: Sun, 23 May 1999 19:13:53 -0500
I use Redhat 5.1 and want to login to my home machine at certain times
only with mgetty.
I would like to know how the command line would read in a crontab to:
create the file /etc/nologin.ttyS0 at specific times and remove
the file
at the times that I wish to login.
I do understand the time part, but do not know how to create the (new)
file
in the command line.
Thanks
------------------------------
From: "Lee Howard" <[EMAIL PROTECTED]>
Subject: Re: Install help: HD BIOS cylinder 4092 limit.
Date: Sat, 22 May 1999 18:02:02 -0600
You can purchase a EIDE BIOS upgrade card for around $20. DataTechnology
makes one called DTC 1181. But maybe you could flash the BIOS on the
motherboard to acheive the same thing.
Lee Howard
Abe Lin wrote in message <[EMAIL PROTECTED]>...
>Houston, we got a problem:
>system: P75+AMI BIOS+New Maxtor 10Gig.(C:H:S 19390:16:63)
>Seems like BIOS's too old. Won't boot if Cylinder number in CMOS is
>over 4092.
>
>And If I just write 4092 in BIOS, Redhat installation disks
>(diskuid/fdisk) would just use that and believes it's a small 2 Gig
>HD.
>
>What should I do to save the *wasted* 8 gig?
>
>Kind of ashamed of this. Been running Redhat on a 486 for a couple
>of years...
>
>Thanks, guys.
>
------------------------------
From: Hiran Chaudhuri <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: Sun, 23 May 1999 19:52:23 GMT
Anthony Ord wrote:
> >>I just bunged Squid as a front-end to Apache (one of the
> >>options) and everything goes swimmingly.
> >>
> >>I made it so it just caches dynamic content though.
> >
> >Wouldn't you want it to cache static content too?
>
> Why? Apache and Squid (sounds like a duo on a Saturday
> morning cartoon...) reside on the same machine. Are you
> telling me Squid can hoover a duplicate file up off the disk
> faster than Apache?
Apache will retrieve the file from disk when needed. But Squid can be
configured to have a "memory" cache as well as a "disk cache". Given
enough memory, you get reasonably more speed, and it is the same thing
IIS does: Keep files in memory.
Hiran
------------------------------
From: "test" <[EMAIL PROTECTED]>
Subject: Re: Linux kernel source code online in HTML format?
Crossposted-To: linux.redhat.misc,redhat.general,alt.linux,alt.os.linux
Date: Mon, 24 May 1999 00:49:06 GMT
> I remember seeing a website that had this, anyone know the URL?
http://lxr.linux.no/source/?v=2.2.9
I also remember another site that had the Apache source code online...
anyone remember it?
------------------------------
From: Olaf Walkowiak <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: 24 May 1999 03:09:07 +0200
Hello,
Hiran Chaudhuri <[EMAIL PROTECTED]> writes:
> Apache will retrieve the file from disk when needed. But Squid can be
> configured to have a "memory" cache as well as a "disk cache".
> Given enough memory, you get reasonably more speed, and it is the
> same thing IIS does: Keep files in memory.
With Apaches mmap module, you can have the same thing without
squid. But there are other reasons why squid _may_ accelerate your web
server:
Apache has to do a lot of work (depending on the actual configuration)
doing uri/filename translation, detecting the right mime-type, looking
for .htaccess files aso. With Squid "in front" this work has not to be
done on every access.
If you have a lot of dynamic content, exspecially when using custom
modules with mod_perl or something, using Squid can reduce the
necessary Apache childs, especially if there are lots of "slow"
clients. This can reduce memory consumption. The same is true for
static content, but it does not have such a great impact (since
f.e. a mod_perl enabled can be really _big_, depending on what it does)
CU
Olaf
--
ACMEDIA - Cologne - Germany
professional and easy2use e-Commerce Systems
http://www.acmedia.de http://www.buy-world.de
------------------------------
Date: Sun, 23 May 1999 18:54:03 -0600
From: Robert George Mayer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.help
Subject: Re: Cannot run Glint or xrpm under root
Faheem Mitha wrote:
>
> Dear Unix people,
> I am using Redhat 5.1. When logged in as root, if I try
> to run Glint I get the following messages
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Traceback (innermost last):
> File "./glint.py", line 23, in ?
> from rhtkinter import *
> File "/usr/lib/rhs/python/rhtkinter.py", line 52, in ?
> e = Entry()
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1288, in __init__
> Widget.__init__(self, master, 'entry', cnf, kw)
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1042, in __init__
> BaseWidget._setup(self, master, cnf)
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1017, in _setup
> _default_root = Tk()
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 844, in __init__
> self.tk = _tkinter.create(screenName, baseName, className)
> TclError: couldn't connect to display ":0.0"
>
> I get a similar message when trying to run xrpm as root.
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Traceback (innermost last):
> File "/usr/lib/xrpm/xrpm.py", line 679, in ?
> root = Tk(className='xrpm')
> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 844, in __init__
> self.tk = _tkinter.create(screenName, baseName, className)
> TclError: couldn't connect to display ":0.0"
>
> There seems to be a general problem running X-apps as root, but the above
> are the only ones I would typically need to run.
> Can anyone tell me what I need to do? I see that it seems to involve
> tcl-tk and python in some way but know nothing about either. A copy of any
> response sent to [EMAIL PROTECTED] would be much appreciated.
>
> Sincerely, Faheem Mitha.
Faheem -
When you say you are logged in as root, do you mean that you have logged
into your X session as root, or have you logged into your X session with
a user account and then logged in as root (perhaps using sudo) in a
shell?
If the former, I have no idea.
If the latter, then your user account owns the display and must give
permission before another account can use the display.
The easiest way, and safe only if you are not on a network (since it
gives the world access to the display), is to enter
xhost +
from a shell under the user account.
See the man page for xhosts (although the man page pretty much assumes
you already know this stuff and just need the details).
- BOB
------------------------------
From: [EMAIL PROTECTED] (Justin B Willoughby)
Subject: Re: How to make a crontab that will make an empty file
Date: 24 May 1999 01:04:26 GMT
Reply-To: [EMAIL PROTECTED] (Justin B Willoughby)
mike murray ([EMAIL PROTECTED]) writes:
> I use Redhat 5.1 and want to login to my home machine at certain times
> only with mgetty.
> I would like to know how the command line would read in a crontab to:
>
> create the file /etc/nologin.ttyS0 at specific times and remove
> the file
> at the times that I wish to login.
>
> I do understand the time part, but do not know how to create the (new)
> file
> in the command line.
You can use the touch command to create a null file.
~$ touch /etc/nologin.ttyS0
Will create this (null) file for you.
- Justin
--
_/ _/_/_/ _/ _/ _/ _/ _/ _/ RULES!!!!!!! * LINUX RULES *
_/ _/ _/_/ _/ _/ _/ _/_/ Justin Willoughby
_/ _/ _/ _/_/ _/ _/ _/ http://www.nmc.edu/~willouj/
_/_/_/ _/_/_/ _/ _/ _/_/_/_/ _/ _/ ------ Jesus Is Lord ------
------------------------------
From: [EMAIL PROTECTED] (Raj Rijhwani)
Subject: Re: SETI comparisons
Date: Mon, 24 May 99 01:00:53 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] "Fred Kuipers" writes:
> Has anybody received the following error from the windoze version of SETI@home
> while sending or receiving data.
> WinSock error number 10060.
They appear to be having sustained server errors at the moment.
--
Raj Rijhwani (umtsb5/16) | This is the voice of the Mysterons...
[EMAIL PROTECTED] | ... We know that you can hear us Earthmen
[EMAIL PROTECTED] | "Lieutenant Green: Launch all Angels!"
http://www.courtfld.demon.co.uk/raj/ (demon, and gods, willing...)
------------------------------
From: nospam@nospam!.kom (Steve Nospam)
Subject: Re: Kde
Date: Mon, 24 May 1999 01:02:59 GMT
On 24 May 1999 00:31:05 GMT, Paul Trost <[EMAIL PROTECTED]> wrote:
>I am using kde 1.1.1 on SuSE 6.0. I have noticed on both my workstation and
>my server that every now and then when I close out an application window
>(like navigator or a terminal window) that my panel and taskbar will
>disappear. I can't get them back unless I click on the icon to shutdown kde
>and then restart it again. Has anyone else experienced this behavior?
Try <alt> + <F2> and then type kfm in the box and hit return.
-Steve
*The only thing certain about the future is that it hasn't happened yet.*
------------------------------
From: "Michael" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha,comp.os.linux.powerpc,comp.os.linux.setup
Subject: Alpha, PowerPC, Intel, and Sparc
Date: Sun, 23 May 1999 20:36:41 +0100
Please forgive the cross posting.
I am working on a project that has certain aspect that would make each of
the choices a good one.
What I need is some help in making a decision. Can someone point me to a
place where I can get authoritative information on the architectures:
Alpha, PowerPC, Intel, and Sparc (if I can get it).
I am particularly interested in a comparison between the three so that I
could compare all of their strengths and weaknesses.
Thanks,
Michael
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: wxftp can't get remote directory
Date: Sun, 23 May 1999 18:52:52 -0600
I'm trying to get wxftp (GTK+ version 0.4.0) to work on my
home network. This machine is running linux (kernel 2.2.1)
and the other machine is running OS/2 with the OS/2 ftpd
server running. The wxftp window comes up fine, and I can
enter all the proper configuration stuff to access the other
machine, but wxftp always complains that it "can't open data
connection" to get the directory listing on the remote
machine, eg:
220 rhino_house.ibm.net IBM TCP/IP for OS/2 - FTP Server ver
09:39:01 on Mar 03
1995 ready.
SYST
215 OS/2 operating system
PWD
257 "F:\temp" is current directory.
PASV
227 Entering Passive Mode (192,168,0,1,5,2)
TYPE A
200 Type set to A.
LIST
150 Opening ASCII mode data connection for F:\temp.
425 Can't open data connection.
I can transfer files back and forth fine, but I can't see
what's in the remote directory, which makes it kind of
difficult at times. Other ftp clients on the linux machine
don't have this problem displaying directories on the OS/2
machine; eg NcFTP, ftp, etc. so I don't think the problem is
on the OS/2 machine.
Any ideas where the problem is with wxftp?
--
-John ([EMAIL PROTECTED])
------------------------------
From: Bev <[EMAIL PROTECTED]>
Subject: Re: Need help setting up system.
Date: Sun, 23 May 1999 17:46:08 -0700
Reply-To: Bev <[EMAIL PROTECTED]>
"Keven R. Pittsinger" wrote:
>
>Bev <[EMAIL PROTECTED]> writes:
> > Just for curious, why do most people use lilo rather than loadlin, which
> > merely requires that you type 'win' or 'linux' at the C:\> prompt and
> > leaves the MBR untouched?
>
> Dunno about anybody else, but there *is* no Windoze partition on my
> machine. I'm 100% Linux here. Thus, there *is* no C:\> prompt.
Then you don't need dual-bootability, do you? :-)
--
Cheers,
Bev
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Friends help you move. *Real* friends help you move bodies."
--A. Walker
------------------------------
From: [EMAIL PROTECTED] (Christopher B. Browne)
Crossposted-To: comp.os.linux.development.system
Subject: Re: Registry in Linux ???
Reply-To: [EMAIL PROTECTED]
Date: Sun, 23 May 1999 05:03:31 GMT
On 22 May 1999 09:30:52 +0100, Nix <$}xinix{[email protected]> posted:
>"Selious" <[EMAIL PROTECTED]> writes:
>
>> But can be the difference between linux and LINUX !!
>
>Er, no, the only difference between linux and LINUX is capitalisation.
...And that can be taken at least two ways...
--
"There are two types of hackers working on Linux: those who can spell,
and those who can't. There is a constant, pitched battle between the
two camps." --Russ Nelson (Linux Kernel Summary, Ver. 1.1.75 -> 1.1.76)
[EMAIL PROTECTED] - "What have you contributed to free software today?..."
------------------------------
From: [EMAIL PROTECTED] (Frank Miles)
Crossposted-To: comp.os.linux.setup,alt.pc.hardware.misc,redhat.x.general
Subject: Re: Conner tape drive and Linux?
Date: 23 May 1999 05:34:05 GMT
In article <7i7skv$i11$[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>Does someone know how to use a Conner minicartridge tape drive under
>Linux? Right now, I'm stumbling on even the most basic questions, such
>as: How do I mount that thing? How do I write to it and read from it?
>And is there any software for tape drives other than tar?
You can't mount it like a disk drive; these are streamers. You can
use afio, tob, afbackup, amanda,... and many others of varying levels
of sophistication and complexity. And then there are the non-free
packages...
-frank
--
------------------------------
From: Michael McConnell <[EMAIL PROTECTED]>
Subject: Re: Rebuilding SRPMs
Date: Mon, 24 May 1999 02:12:26 +0100
On 22 May 1999, Thomas Svenson wrote:
> I am trying to figure out how to write the best rtc/rpmrc file for compiling
> SRPMs on my computer.
>
> I have a AMD K6 and have been searching the net for info on what "optflags" I
> shall use to best optimize the binaries for my system.
>
> Anyone that can give me some hints or point me to a place on the net where I
> can find more info about it?
Try pgcc, at http://www.goof.com/pcg/
The compiler flags are: -march=amdl6 -mcpu=amdk6
You may want to hack your /usr/lib/rpmrc ;)
-- Michael "Soruk" McConnell [Red Hat 6.0 Available!]
Eridani Star System -- The Most Up-to-Date Red Hat Linux CDROMs Available
Email: [EMAIL PROTECTED] http://www.amush.cx/linux/ Fax: +44-8701-600807
------------------------------
Date: Sun, 23 May 1999 15:44:45 -1000
From: root <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Linux users in Hawaii
I was wondering if there is anyone here in Oahu that would be interested
in starting some sort of Linux users group. If so let me know.
------------------------------
** 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
******************************