Linux-Misc Digest #101, Volume #24               Mon, 10 Apr 00 11:13:02 EDT

Contents:
  Re: kill a zombie process ([EMAIL PROTECTED])
  Re: HP LaserJet 5L Printer Prints Blank Pages ([EMAIL PROTECTED])
  Re: Soundcard 'sharing' possible? ("Catilina")
  Re: How Microsoft inhibits competition & innovation ("Christopher Smith")
  Re: SOLVED! [Was: Re: Unable to change root password.] ("Peter T. Breuer")
  Re: uninstalling stuff ([EMAIL PROTECTED])
  suggestion for laser printer (Richard Fell)
  Problems installing Linux on SGI 320 ([EMAIL PROTECTED])
  Re: How did the hacker get root access to my system? (Rod Smith)
  Re: How Microsoft inhibits competition & innovation (Mats Olsson)
  Re: Programming Languages on Linux (Grant Edwards)
  Re: How Microsoft inhibits competition & innovation (Mats Olsson)
  Re: [Q] Decrypt (Dances With Crows)

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

From: [EMAIL PROTECTED]
Subject: Re: kill a zombie process
Date: Mon, 10 Apr 2000 13:57:33 GMT

In article <[EMAIL PROTECTED]>,
  Andras <[EMAIL PROTECTED]> wrote:

> However this does not mean that there's nothing you can do about
> removing it from the list of processes.
> The only problem is I don't know how do it.
>

As you said, a zombie process is already dead. It takes up no room in
the process table and can essentially be ignored. This process entry
will eventually be removed by init

--
  Andrew


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Re: HP LaserJet 5L Printer Prints Blank Pages
Date: Mon, 10 Apr 2000 13:56:45 GMT

Dear Dowe,

Nope, my laserjet toner cartridge is fine; just replaced it this past
January, in fact ... and, since I "share" this printer i.e., when I'm
not using my Linux pc, I disconnect it, and then re-connect it to my
Windows pc ..., I know that it's printing "just fine", thru my Windows
O/S.  However, thanks for the idea!

Sincerely,

[EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Dowe Keller) wrote:
> On Sun, 26 Mar 2000 20:00:41 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> >Hello.
> >Would very-much appreciate any "straight-up" advice, from any
> >benevolent/generous Linux users, that might bring my subject-printer
to
> >life!
> >Cannot get my HP LaserJet 5L b/w printer locally configured properly.
> >"Goes through the motions", but output pages are completely blank; no
> >printed chars. whatsoever.
> >I am a Linux newbie, with SuSE Linux 6.3 installed on my pc (has an
AMD
> >K6-2 450MHz with 32MB PC100 SDRAM and a 4.3GB UDMA ATA/33 hard
drive).
> >I've attempted configurations via YaST, and apsfilter. I've setup as
a
> >device at /dev/lp0 and /dev/lp1 (... separately; not both active
> >configs., at same time). Printer drivers attempted thusfar, as a
> >'Postcript'-type printer, include ljet4; as an 'Other'-type printer,
> >include (? spelling not necessarily correct on my part. Sorry!):
> >ljet5gray, ljet5mono, ljet4mono, ljet4gray, pxlmono, pxlgray,
> >ljet4Lgray, ljet4Lmono, lj4dith.
> >However, upon command 'tunelp /dev/lp0' (altern. 'tunelp /dev/lp1'),
I
> >get the following stdout: "/dev/lp0 [sic. /dev/lp1] using IRQ -1."
> >When I attempt to data-print directly to my HP LaserJet 5L, via
command
> >'cat /var/log/boot.msg > /dev/lp0 [sic. cat /var/log/boot.msg >
> >/dev/lp1]", my HP LaserJet 5L does process, ...but again, all output
> >pages are blank pages. What am I doing wrong?
> >Sincerely,
> >[EMAIL PROTECTED]
>
> Do you have a full ink cartridge?
>
> Just making sure that it's not one of those oft overlooked 'obvious'
> things.
>
> Dowe Keller [EMAIL PROTECTED]
>


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Catilina" <[EMAIL PROTECTED]>
Subject: Re: Soundcard 'sharing' possible?
Date: Mon, 10 Apr 2000 16:12:58 +0200

> You can use esd if you don't use e/gnome I think, but the window manager
sounds
> will block it.. so you'll have to disable them.
Strange problem with esd though: my sound comes out way too fast, like in
fast forward. What could this be related to?



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

From: "Christopher Smith" <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Tue, 11 Apr 2000 00:16:47 +1000


"Floyd Davidson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Christopher Smith" <[EMAIL PROTECTED]> wrote:
> >"fungus" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]...
> >>
> >>
> >> Christopher Smith wrote:
> >> >
> >> > A cheap OS not tied to a particular hardware seller's machine ?
> >>
> >>
> >> So what the hell is Unix?
> >
> >*Cheap* ?
>
> Inexpensive...  as in *free*.

In the early 80s ?  Which Unix was that ?



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: SOLVED! [Was: Re: Unable to change root password.]
Date: 10 Apr 2000 14:05:30 GMT

Nosediver <[EMAIL PROTECTED]> wrote:

: Thanks a lot for responding to my question. Peter's suggestion of simply
: creating a new user and then editing the /etc/passwd worked. :-) Thanks,
: Peter.

: * Even though I cannot get the system to change my root
:   password, it can change the password of other users! 

: * su, su -, su root and just logging into console as root ... none of them
:   improve the situation. No matter from where i try to change, the root
:   password refuses to change.

: * 'passwd root' does not work either.

Complain to whoever your distributor is, or recompile passwd correctly
yourself. If the utility does not do what it is documented to do, then
it or its documentation is bugged. Either way, a correction is
_required_.


: On 8 Apr 2000, Peter T. Breuer wrote:
:> nothing, then you know that "passwd" is what's wrong. Get yourself a
:> new one. 
: It was working fine all this while... well, ok, senility has got the
: better of my passwd program, I guess...
:> At worst you can create a new user with the password you want, then
:> transfer the passwd field to root in /etc/passwd.
: THIS WORKED! :-)
: Amazed by the vagaries of computer programs,

:-(.


Peter

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

From: [EMAIL PROTECTED]
Subject: Re: uninstalling stuff
Date: 10 Apr 2000 09:28:52 -0400

In article <8cr1sl$eqb$[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter Moore) writes:
>[EMAIL PROTECTED] writes:
>
>>ps. I personally think that the way programs spray themselves all over your
>>system is terrible. One program, one job, ONE directory. Of course there are
>>exceptions and sometimes, yes it does make more sense to spread them out...
>
>I really prefer programs that keep their guts internal to a folder.  When
>does it make sense for a program to spread itself out?  I usually create
>symbolic links to the commonly used binaries for a program in
>/usr/local/bin, just to make it easier to call them with /usr/local/bin in
>the path.

    I guess it makes sense for programs that use graphics libs to stick the
runtime libs with the other ones. For example if I have a shared lib for
GTK/TK/Athena or whatever and I install a program that uses it, then it
doesn't have to install it's own version. (though w/ GTK it probably should
since different versions don't play nice) Or, fonts, if a program has it's own
fonts, but they could be used elsewhere, why not put them with the rest of the
fonts...
                                                                -John


>
>Of course PRM's and the Debian dpkg are really nice solutions too. But you do
>lose so e amount of control for the ease of use.
>
>
>-Peter M.
>


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

From: Richard Fell <[EMAIL PROTECTED]>
Subject: suggestion for laser printer
Date: Mon, 10 Apr 2000 09:58:04 -0400

I am installing Red Hat 6.2 and need to buy a laser printer. Does anyone
have any suggestions as to what printer I should get? The Red Hat
compatibility list suggest many possibilities, but I am looking for an
inexpensive printer that is easy to install and is known to work with
6.2
Thanks for any help


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

From: [EMAIL PROTECTED]
Subject: Problems installing Linux on SGI 320
Date: Mon, 10 Apr 2000 14:35:01 GMT

 Hi all,
  I'm trying to install RedHat Linux 6.0 on my SGI 320
  but I can't go more than the 2nd floppy. I'm following
  the istructions indicated in www.linux.sgi.com.
  Here is the configuration of my 320:

  CPU single PIII 500 Mhz
  RAM 256 MB
  HD SCSI 9.1 GB (the 1st partition is a NTFS,
                  the 2nd is a FAT)
  SCSI Qlogic 1080

  PROM 1.0006

  - FLOPPY BUILDING

  Downloading of rh60.initrd.img and rh60.rescue.img,
  and renaming them in initrd.img and rescue.img. After
  that downloading of the remnant files.

  -> Floppy1 (format -FAT- and copying arclx.exe and larc.exe)
  -> Floppy2 C:> rawrite
             C:> enter disk image source: initrd.img
             C:> enter target diskette drive: A
             C:> Please enter a formatted diskette .....

             C:>
  -> Floppy3 C:> rawrite
             C:> enter disk image source: rescue.img
             C:> enter target diskette drive: A
             C:> Please enter a formatted diskette .....
                 Controller has failed

             C:>
  -> Floppy4 (format -FAT- and copying f4jul28.tgz)

  - LINUX INSTALLATION

  1. creation of two boot settings (one with arclx.exe and one
     with larc.exe); I tried both of them.

     OSLoader: arclx.exe (or larc.exe)
     OSLoadFilename: /la2210.vw
     OSLoadPartition: Floppy1
     SystemPartition: Disk Partition no longer present
     OSLoad Options: root:/dev/fd0 load_ramdisk=1

     I tried also with

       OSLoad Options: root:/dev/fd0 load_ramdisk=1 init=1

     but without positive results.

  2. Insert Floppy 1
  3. Start System

  The system starts to work and begins to load the first
  floppy: everything is recognized (USB keyboard and
  mouse, ql1080, Disk, etc.). In the final part of
  the list that appears (black page with the
  penguin Tux in the upper-left corner) there are these
  messages:

  Partition Check:
    sda: sda1 sda2
  VFS: insert root floppy disk to be loaded into RAM disk and
       press ENTER

  <I insert the floppy 2 and press ENTER>

  RAMDISK: ext2 filesystem found at block 0
  RAMDISK: Loading 2000 blocks [2 disks] into ram disk... done disk #1
  Please insert disk #2 and press ENTER

  <which second floppy???? I tried to insert the other disks (one
   for each attempt) but the result is always the same>

  Loading disk #2... done.
  VFS: Mounted root (ext2 filesystem) readonly.
  Freeing unused kernel memory: 52k freed
  Warning: unable to open an initial console.
  Kernel panic: No init found. Try passing init=option to kernel.

  <at this point I have to reset the SGI 320 because I can't
   go on>

  Who can help me? Thx in advance.


--
Enrico Santori
ITALSOFTWARE BUSINESS


Sent via Deja.com http://www.deja.com/
Before you buy.

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: How did the hacker get root access to my system?
Crossposted-To: alt.2600,alt.linux,comp.os.linux
Date: Mon, 10 Apr 2000 14:40:34 GMT

[Posted and mailed]

In article <8cr7lk$c9h$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> 
> I've nuked every service on this machine I can, but there's no way to
> know if he stole my ssh keys. Perhaps I will just kill ssh entirely,
> even though that really means I have to use telnet (I guess I can
> secure that, though, if I limit it to allow connections from a specific
> IP address?).

I suggest you just generate new ssh keys. (Well, and re-install everything
from scratch. Minor details.... ;-) ) Telnet is inherently insecure.
Suppose that you start using telnet. Anybody on a system between the one
you use to log in and your Linux box can then snoop your password. That's
bad, even if you think your system only accepts connections from a
specific IP address. You might have goofed on the configuration, or the
password might be usable in another way (say, if FTP is running).

As to restricting access to specific addresses, there are several tools
that will help you do this, including:

- TCP Wrappers. Used in conjunction with inetd, TCP Wrappers lets you
  restrict access to specific services to machines that meet specified
  criteria. This is why I said in a previous post that removing inetd
  might not be such a great thing to do. TCP Wrappers is standard on most
  Linux distributions.
- xinetd. xinetd is a replacement for the combination of inetd and TCP
  Wrappers. IMHO, it's better for a host with two or more network
  interfaces, because it lets you bind services to one interface but not
  another. So if you only need to log on from systems on your local
  network, for instance, you can bind ssh or telnet to the local
  interface, and your system just plain won't respond to login requests
  from outside sources, even if they spoof their IP addresses.
- ipchains. You can use ipchains to set up a packet filter firewall to
  block access to certain ports (like ssh or telnet ports) from all but
  specified IP addresses. The firewall site to which I referred you
  earlier (http://linux-firewall-tools.com/linux/) has a tool that will
  generate an ipchains-based firewall script to your specifications.

Personally, I recommend using ipchains AND either xinetd or inetd with TCP
Wrappers. That way, if a security bug exists in one package, you're
protected by the other. Also remember that most of these tools work partly
or completely on IP addresses (and sometimes hostnames), which can be
spoofed, so you shouldn't assume that you're safe from attack just because
you've blocked services. If a service is running, you're vulnerable.
(xinetd can be better in this respect if you can bind a service to an
internal network's network interface only.)

> Also, in /proc, I have a directory that looks something like this:
> 
> [root@server /proc]# ls -al
...
> dr-xr-xr-x   3 root     root            0 Apr 10 00:30 1
> dr-xr-xr-x   3 root     root            0 Apr 10 00:30 11862
d...
> -r--------   1 root     root     268439552 Apr 10 00:30 kcore
> <snip>
> 
> I'm confused by the fact that all these files are zero byte in length,
> yet I can 'cat' them. Also, what's that kcore file at 268MB? The root
> partition is only 152MB in size....how can I possibly have a 268MB file
> called 'kcore' on /proc if /proc is on the root partition?

/proc is a "virtual" filesystem. It represents information on your system.
For instance, /proc/interrupts lists the IRQs in use, and /proc/pci lists
information on PCI devices. Most of these files have 0 length because the
system generates the information dynamically, so it'd be misleading to
give them sizes. /proc/kcore is a representation of your computer's memory
(I bet you have 256MB of RAM, right?).

> Why are all the files dated *tomorrow* ????

I don't know. Mine are dated correctly. Is your system clock correct?

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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

From: [EMAIL PROTECTED] (Mats Olsson)
Crossposted-To: comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: 10 Apr 2000 14:50:30 GMT

In article <[EMAIL PROTECTED]>,
Pjtg0707 <[EMAIL PROTECTED]> wrote:
>It turned out the reason the 
>PCs and macs were always crashing was because people who were  using 
>the machines were constantly altering the system configurations to do
>what they wanted to do and installing/deinstalling their softwares.

    Which you have to do if you want to install/deinstall any software
on a PC/Mac. Sort of an inherent assumption when using a PC/Mac.

>Under conditions like that, it's no wonder macs and pcs, whose file 
> systems that do not have sophisticated access controls, were always 
> crashing. I hardly think it's the fault of the OS to fail under 
> conditions like that.

    You do have a point. Assuming that it's well known that Win9x and Macs
are are _PERSONAL_ computers and never should be used in multi-user 
settings, it would be unfair to blame the OS for not being what it never 
claimed to be.

    /Mats

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

From: grant@nowhere. (Grant Edwards)
Subject: Re: Programming Languages on Linux
Date: Mon, 10 Apr 2000 14:52:39 GMT

In article <38f17bdf$0$[EMAIL PROTECTED]>, Peet Grobler wrote:

>What programming languages are there on linux? 

All of them.

>I know about C++, Fortran and Pascal. But anything else? 

What did you have in mind?  Off the top of my head, I know
about:

  Python
  Modula-3
  Scheme
  Lisp
  BASIC
  Smalltalk
  Java
  Ada
  Logo
  Tcl
  C
  Objective-C
  Eifel
  Haskell
  COBOL
  Logo
  APL
  Rebol
  bash
  Perl
  Awk
  
  [and many, many more]
  
I've only used about half of those, but the last time I looked
the rest are available for Linux.  Some of those languages are
available in several different implimentations.

> Anything that's "own" to Linux?

Not really

-- 
Grant Edwards                   grante             Yow!  Pardon me, but do you
                                  at               know what it means to be
                               visi.com            TRULY ONE with your BOOTH!

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

From: [EMAIL PROTECTED] (Mats Olsson)
Crossposted-To: comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: 10 Apr 2000 14:59:14 GMT

In article <#nwhR9mo$GA.303@cpmsnbbsa04>,  <btolder> wrote:
>
>Mats Olsson <[EMAIL PROTECTED]> wrote in message
>news:8cqt0p$s6g$[EMAIL PROTECTED]...
>> In article <eIsDuemo$GA.304@cpmsnbbsa04>,  <btolder> wrote:
>> >I can find a long list of articles stating Windows has a lower cost of
>> >ownership (even compared to Mac),
>>
>>     Cool. Mind posting an URL?
>
>A URL?  Hah. There's more than that. Go the MS sight and search on TCO. Then
>get a cup of coffee and start browsing the links. I didn't post them because
>it tends to make folks dwell on the problems with each study rather than
>letting me make up my own mind.

    Really? You go to MS own page to get the word on low TCO? You don't
think that there might a bit of spin put on those reports?

    /Mats, "lies, damn lies and statistics"

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: [Q] Decrypt
Date: 10 Apr 2000 11:06:48 EDT
Reply-To: [EMAIL PROTECTED]

On 10 Apr 2000 11:32:16 +0200, JF Bosc 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>
>I'm using SuSE Linux 6.3, and I have to decrypt a file which was encrypted
>with the "standard" UNIX "crypt" command. However this command is not provided
>in the SuSE distribution. Is there a replacement, or can I download the
>command somewhere ?

http://mcrypt.hellug.gr/ 

The encryption that "crypt" performed was fairly easily crackable, as
well...

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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


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