Subject: Linux-Admin Digest #45
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sat, 10 Sep 94 07:15:42 EDT

Linux-Admin Digest #45, Volume #2                Sat, 10 Sep 94 07:15:42 EDT

Contents:
  Re: DOMM 4 Linux /X is OUT !!! (Michael_Nelson)
  Re: An idea for running dos (jon)
  20 Mb RAM: Linux sees 16Mb (Robert Stockmann)
  Re: Swapon - Swapoff question (Nicola Pedrozzi)
  Re: DOMM 4 Linux /X is OUT !!! (Bill McCarthy)
  Re: [Round #2] How to use rpc.portmap, rpc.mountd, rpc.nfsd? (Chris Radek)
  Re: HP Laserjet 4M Plus on Linux remote printer (Richard Keightley)
  Re: DOMM 4 Linux /X is OUT !!! (Jan Fure)
  Cannot mount cdu31a with Linux 1.1.50 (na8530b00-Rivera)
  Re: [ALERT] Password problem with Linux (Craig Woodward)
  Linux UUCP PPP (Klaus Kaiser)
  Re: Cannot mount cdu31a with Linux 1.1.50 (Kenneth H. Gantz)
  Re: Deleting various spools and logs help please (Daniel Schorr)
  Re: [Q] Substitute for 'mail' (Donald Burr)
  Re: Minicom question (Donald Burr)
  Re: UID 0 Passwd blues (James C. Bowen)
  Re: [ALERT] Password problem with Linux (Reagan Blundell)
  Can't Find bitypes.h (Brian Kramer)

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

From: [email-masked] (Michael_Nelson)
Subject: Re: DOMM 4 Linux /X is OUT !!!
Date: 10 Sep 1994 01:00:07 GMT
Reply-To: [email-masked]

->[email-masked] (Mike Loseke) writes:
->
->Pixel doubling/tripling/etc is producing odd effects on my system, also 
->... and my server is configured right.  Anyone else with this problem?

        Yes, and it's so bad as to make the game unplayable, IMHO.

        This is with the ATI Mach8 server which works perfectly with
        everything else.

                                - Michael -

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

Subject: Re: An idea for running dos
From: [email-masked] (jon)
Date: 8 Sep 94 10:01:35 -0500

In article <[email-masked]>,  <[email-masked]> wrote:
>
> I don't see how you could continue running linux without an emulator. If you
>have also an idea on how to run DOS in a window or in a linux session, let us
>know, a lot of people would be interested in this news group. 
huh? dosemu's been out for about a year now.
get it from tsx-11.mit.edu:/pub/linux/ALPHA/dosemu

or am i missing something?
>Cp++;
jon
-- 
jon madison
oit consultant in training

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

From: [email-masked] (Robert Stockmann)
Subject: 20 Mb RAM: Linux sees 16Mb
Date: Sat, 10 Sep 1994 03:33:23 GMT

Hello,

I just installed installed an extra 8Mb in addition to
the 12 Mb I already had. That makes twenty.
The power_up RAM count gives 20 Mb....
Running the EISA EASY config util also shows 20 Mb RAM.
Booting dos 5.0 gives me 16 Mb ram, but that is known...
DOS has a limit of 16 Mb RAM (16-bit OS?).
Now when I boot Linux (32-bit OS) I still get 'only' 16 Mb RAM 
instead of 20Mb. YES I have disabled the 16 Mb RAM limit in the kernel:

bool 'Limit memory to low 16MB' CONFIG_MAX_16M n

What is happening here???

My Machine:

HP 486 EISA 25MHz, with 20 Mbyte RAM, cache in 486 chip,
memory burstmode accessed by HP-designed onboard chip.
Adaptec Fast SCSI-2 1740 EISA controller
Fujitsu Fast SCSI-2 harddisk M2624F-512
Toshiba Fast SCSI-2 CDROM drive XM-3401TA
ESDI harddisk controller with 150MB Micropolis drive
ATI Graphics Ultra PRO EISA (Mach 32)
Soundblaster PRO sound card 

My OS:
Linux SLackware PRO 2.0 (kernel 1.0.9) XFree 2.1.1

kernel boot-up messages:

Console: colour EGA+ 80x25, 8 virtual consoles
Serial driver version 3.99a with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
lp_init: lp1 exists, using polling driver
snd2 <SoundBlaster Pro 3.2> at 0x220 irq 5 drq 1
snd1 <Yamaha OPL-3 FM> at 0x388 irq 0 drq 0
Calibrating delay loop.. ok - 12.42 BogoMips
Configuring Adaptec at IO:4c80, IRQ 11
scsi0 : Adaptec 1740
scsi : 1 hosts.
  Vendor: FUJITSU   Model: M2624F-512        Rev: 0405
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, id 0, lun 0
  Vendor: TOSHIBA   Model: CD-ROM XM-3401TA  Rev: 0283
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, id 4, lun 0
scsi : detected 1 SCSI disk 0 tapes 1 CD-ROM drive total.
Scd sectorsize = 2048 bytes
Memory: 15108k/16384k available (560k kernel code, 384k reserved, 332k data)
This processor honours the WP bit even when in supervisor mode. Good.
Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M
Swansea University Computer Society Net2Debugged [1.30]
IP Protocols: ICMP, UDP, TCP
SLIP: version 0.7.5 (4 channels)
CSLIP: code copyright 1989 Regents of the University of California
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Linux version 1.0.9 (root@mymachine) #4 Fri Sep 9 21:29:34 MET DST 1994
Partition check:
  sda: sda1 sda2 sda3
  hda: hda1
VFS: Mounted root (ext2 filesystem).
Adding Swap: 10236k swap-space

Thanks in advance.

Robert Stockmann
[email-masked]

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

From: [email-masked] (Nicola Pedrozzi)
Subject: Re: Swapon - Swapoff question
Date: Fri, 9 Sep 1994 12:55:29 GMT

In article <[email-masked]>, [email-masked] (Dan Wold) writes:
|> I've got 8 meg RAM on my 486dx with a 8meg swap-partition. Lately I get busy
|> with xapps and decided I need some more swap-space so I made a 4meg
|> swapfile. I wasn't sure where to "swapon swapfile" at boot-time so I put
|> "/sbin/swapon /sda1/swap" at the bottom of my rc.local. Is this the best
|> place to put it?

Usually you would place your devices into fstab and then /sbin/swapon -a 
will enable all swap devices (partitions or files).
This is true also for swapoff.

Hope to help,
Ciao Nicky

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

From: [email-masked] (Bill McCarthy)
Subject: Re: DOMM 4 Linux /X is OUT !!!
Date: 9 Sep 1994 19:48:34 -0400

In article <[email-masked]> [email-masked] (Christopher Wiles) writes:
>[email-masked] (Mike Loseke) writes:
>
>: I tried it out earlier this morning on my work box which has
>: 8meg RAM (486/66) and it ran pretty smoothly in the tiny
>: window. My Xserver is still a little goofy so the larger windows
>: looked a bit off. Other than that, it's great!
>
>Hold a mo ...
>
>Pixel doubling/tripling/etc is producing odd effects on my system, also 
>.. and my server is configured right.  Anyone else with this problem?
>
>-- Chris
>
I just finished ftp-ing it and it ran fine, but small window! when I tried
-2 -3 -4 the picture still ran, but it was terrible. My Xserver is fine -
well could use more ram - so I figure that running small is about it. Runs
smoothly and quick. I'd hafta say it runs a tad better under linux than dos,
heh, heh. I have a feeling that perhaps comp.os.linux.doom is not far off.
Oh, well, who needs to do any work :). Congrats to the porters. Kinda neat
what linux can do, huh? 

Bill McCarthy
[email-masked]

"Isn't it pretty to think so."
TTTTTTTTTTTTTTTTTTTTTTTTTTTT\__Jake Barnes___________________________
LinuX + i486dx2/66 
usual disclaimer 

   

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

From: [email-masked] (Chris Radek)
Crossposted-To: comp.os.linux.help
Subject: Re: [Round #2] How to use rpc.portmap, rpc.mountd, rpc.nfsd?
Date: 8 Sep 1994 21:35:56 GMT

[email-masked] (Salem Reyen) writes:

>Let's say I have machines A and B which both of them can telnet and ftp to each
>other.  In other words, they are properly connected.  Now, this is how I did.
>I add three statements at the begninning of the rc.inet2 at machine A:

>/usr/sbin/rpc.portmap
>/usr/sbin/rpc.mountd
>/usr/sbin/rpc.nfsd
>/bin/mount -t nfs B:/home /mnt

rpc.portmap, rpc.mountd, and rpc.nfsd need to be running on the machine
whose drives you want to NFS mount.  If I follow your explanation, you
need them running on machine B.  Then, from machine A, issue the
mount -t nfs B:/home /mnt 
command.  Also, you need the line:
/home      A(rw)
in B's /etc/exports file.

'perfmeter' is an X program that resembles 'xload'.  If you wish to use
perfmeter, you need to also run 'rpc.rstatd'.

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

From: [email-masked] (Richard Keightley)
Subject: Re: HP Laserjet 4M Plus on Linux remote printer
Date: Fri, 09 Sep 1994 21:41:32 -0800

In article <[email-masked]>,
[email-masked] (Hendrik Klompmaker) wrote:

> Can anybody help me on this one. I have a Laserjet 4M Plus on ethernet (mio) 
>
> - - - - -    I'm having problems sending ASCII file to the printer. 
> Postscript files are fine with the entry I made in the printcap file but 
> ASCII files won't print. Looks like I have to implment some kind of filter 
> but I've got no idea how to do that. Anybody who can help me ???

Try the apsfilter by Andreas Klemm   [email-masked]

It has a great auto-configuration shell script to install an enhanced
aps-2 filter with automatic file type recognition for ascii, post-script
and dvi.
There is command-line disabling of the "two pages on one" feature.

I use version 2.3 that comes with Slackware 2.0 with an Apple LaserWriter NTR
and find it very useful - even on a postscript printer. Aps-301 is now
available from ftp.Germany.EU.Net:/pub/comp/i386/Linux/Incoming.EUnet/

-- 
Richard Keightley                 [email-masked]
Scottsdale, AZ                    fax (602) 443-8196

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

From: [email-masked] (Jan Fure)
Subject: Re: DOMM 4 Linux /X is OUT !!!
Date: 10 Sep 1994 03:02:40 GMT

Hi Everybody:

I'm getting the error message:

gunzip: linxdoom.tgz: invalid compressed data--format violated

when I try to uncompress DOOM, any advice, is this a pkzip file
named like a gzip file?

Please mail or post any helpful information, as I can't wait
to play.

Jan Fure

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

From: [email-masked] (na8530b00-Rivera)
Subject: Cannot mount cdu31a with Linux 1.1.50
Date: Fri, 9 Sep 1994 13:07:39 GMT

Hi everybody,

I upgrade my kernel from Linux 1.1.18 to Linux 1.1.50. The only thing
that does not work is my CD-ROM. I get the following message when
I try to mount it.

# mount -tiso9660 /dev/cdu31a /cdrom
mount: Read-only file system

Does anybody have any idea why this is happening???

Thank you,
Miguel A. Rivera
[email-masked]

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

From: [email-masked] (Craig Woodward)
Subject: Re: [ALERT] Password problem with Linux
Date: Thu, 8 Sep 1994 21:09:58 GMT

In article <[email-masked]>,
Tracy R. Reed <[email-masked]> wrote:
>James Beckwith ([email-masked]) wrote:
>: Any suggestions about using a cracker to check out new passwords before 
>: saving them?
>
>There are a couple of utilities on sunsite that do this. One is called 
>Crack, I don't remember what the other is called.

        Using Crack in this manner is kind of akin to killing ants with
a hammer.  Look for programs like uva.passwd.  It may take a little patching
to work but it should be happy.   I *think* I put my linux-patched version
of patch on ftp.csh.rit.edu:/pub/linux/system/?  But it's not that big of a
switch.  It checks for simple user info and scans for dictionary (and partial
match) passwords.  IT takes a few seconds longer to change a password, but
it's happy. :)
                                                                -Woody

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

From: [email-masked] (Klaus Kaiser)
Crossposted-To: comp.mail.uucp,comp.os.linux.help,de.comp.os.linux
Subject: Linux UUCP PPP
Date: 9 Sep 1994 06:05:51 GMT

Hallo netters,

I am new to linux and the adminsitration of unix systems. I have allready
configured my system with netconfig.

How can I no make a UUCP connection via modem to my internet provider
to download mail and news? Exspecially ho do I dial out?

How do I make a connection via PPP.

As more detailed your answer is, as bigger is the gain for my!
Thanx for any help anyway.

Please do not refer to any HOW-TO document, I have no access to them,
just send me the document.

Greets,
Klaus, fan of the german hockey champion '94
--
    _/_/_/  _/      _/  _/  Siemens Nixdorf AG
   _/      _/_/    _/  _/   Klaus Kaiser        Phone:  +49-89-4144-7106
  _/_/_/  _/  _/  _/  _/    BU BA NM 211        FAX:    +49-89-4144-7772 
     _/  _/    _/_/  _/     81730 Munich        e-mail: [email-masked] 
_/_/_/  _/      _/  _/      Germany

Disclaimer: All of the above are just opinions, and they are my own.
                        I do not speak for SNI, or anybody else.

Fidonet:  2:2480/25.29

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

From: [email-masked] (Kenneth H. Gantz)
Subject: Re: Cannot mount cdu31a with Linux 1.1.50
Date: Fri, 9 Sep 1994 16:57:44 GMT

[email-masked] (na8530b00-Rivera) writes:

>Hi everybody,

>I upgrade my kernel from Linux 1.1.18 to Linux 1.1.50. The only thing
>that does not work is my CD-ROM. I get the following message when
>I try to mount it.

># mount -tiso9660 /dev/cdu31a /cdrom
>mount: Read-only file system

>Does anybody have any idea why this is happening???

>Thank you,
>Miguel A. Rivera
>[email-masked]

Supposedly you have to specify that you're mounting the CD as read only
with the newer kernels. I say supposedly because I don't have a newer
kernel.

-- 
Ken Gantz
[email-masked]
Work - 502.329.3724         IT IS NOT A PROBLEM OF WHETHER MACHINES THINK,
FAX - 502.329.6199          BUT WHETHER MEN DO. - B.F. Skinner

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

From: [email-masked] (Daniel Schorr)
Subject: Re: Deleting various spools and logs help please
Date: Thu, 8 Sep 1994 18:29:38 GMT

[email-masked] wrote:
[...]
: I have all kinds of spools that fill up like the wtmp file, audit_local
: file etc. Is there a list of files that I need to periodically delete
: before they fill up my hard drive ? How do I do this if it needs to 
: be done ?
: Thanks in advance.  : Regards, : Vikram.

just to give an idea, here are a few examples from my crontab
(lines broken down for readability only)

54 3 * * * find /usr/spool/smail/log -name logfile -size +50k -ls /
 -exec mv {} {}.o \;
58 1 * * * find /tmp -name "log_mg.ttyS?" -size +5k -exec mv {} {}.o \;
17 2 * * * find /var/adm -name sulog -size +9k -exec mv {} {}.o \;
18 2 * * * find /var/adm -name getty.log -size +5k -exec mv {} {}.o \;
19 2 * * * find /var/adm -name syslog -size +30k -exec /
 mv {} {}.o \; -exec touch {} \; -exec kill -1 `cat /etc/syslog.pid` \;
20 2 * * * find /var/adm
 -name wtmp -size +50k -exec mv {} {}.o \; -exec touch {} \;

hope it helps, Daniel
=========================================================================
Daniel B. Schorr                        Mail:   [email-masked]
Bodenacherstr. 16, CH-8121 Benglen      Tel+Fax: +41 - (0)1 - 825 52 11

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

From: [email-masked] (Donald Burr)
Subject: Re: [Q] Substitute for 'mail'
Date: Fri, 9 Sep 1994 23:49:04 GMT

[email-masked] (Kai Petzke) writes:

>[email-masked] (Jonathan Bradshaw) writes:

>>Yes, I know about deliver and procmail -- and am using procmail myself for
>>the MDA from sendmail but I just installed INN and it uses 'mail' to send
>>status messages. There must be something I can install that will make this
>>work.

>Several people have reported success by linking /bin/mail to elm.  If
>elm is called from a pipe, not from a terminal, it pretty much behaves
>like mail.

Most of the newer distributions (Slackware 2.00 and whatever the latest 
SLS is) include the Berkeley mail program (otherwise known as mailx, 
Mail, etc.)  I know for a fact that the latest Slackware (2.0.0) version 
of mailx works as a replacement for /bin/mail -- just make a symbolic 
link:  ln -s /usr/bin/Mail /bin/mail

-- 
Donald Burr, ROCKWELL NETWORK SYSTEMS
7402 Hollister Avenue, Goleta, CA 93117  (805)968-4262 x154
EMAIL: [email-masked]  //  PAGER: 897-2809; type your phone number, then [#]
                  Makers of the NETHOPPER router/modem -- email for more info!

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

From: [email-masked] (Donald Burr)
Subject: Re: Minicom question
Date: Fri, 9 Sep 1994 23:53:01 GMT

[email-masked] (Mark A. Horton KA4YBR) writes:

>Brian Curti Harvell ([email-masked]) wrote:

>: Hi I have a quick question about minicom. I have Slackware 2.0 dist and when
>: trying to use minicom as non root it says that I don't have access to the 
>: config file. Now the man page says you can have a file minicom.users with
>: who is allowed to use it but I can't seem to get it right or not in the
>: right place. Could someone help me.
>: Brian

>From the man page:

> [...]

>From my file /etc/minicom.users:  
># Sample of "minicom.users" (should be in /etc)
># Format :  User name line [line..]
>
> [...]

One should note that, in the Slackware 2.0.0 distribution, the 
minicom.users file is in /var/lib/minicom/minicom.users, of all places.

-- 
Donald Burr, ROCKWELL NETWORK SYSTEMS
7402 Hollister Avenue, Goleta, CA 93117  (805)968-4262 x154
EMAIL: [email-masked]  //  PAGER: 897-2809; type your phone number, then [#]
                  Makers of the NETHOPPER router/modem -- email for more info!

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

From: [email-masked] (James C. Bowen)
Subject: Re: UID 0 Passwd blues
Date: Thu, 8 Sep 1994 18:56:39 GMT

In <[email-masked]> [email-masked] (Johan Myreen) writes:

>In article <[email-masked]> [email-masked] (Rick) writes:

>>Recommended where?  Take it from me - the fewer people who have access
>>to root privs, the better.  I would go as far as to say that you should
>>NOT use a root account to do ANYTHING unless it is ABSOLUTELY essential
>>that it be done by the superuser.

>This is beside the point. What if it is ABSOLUTELEY essential that
>several people have root privileges?  You can't run a medium sized
>site without having more than one person with root access. I'm not
>saying every user should be doing work with uid = 0 all the time, but
>what do you do when your administrator decides to go hitch-hiking in
>the Gobi desert for a week or two?

>>If your users need high privs to do system maintenance work, use su
>>or sudo.

>So how is this less dangerous? Using su means several people have to
>know root's password -- not a nice situation. I think this is what the
>original poster was also trying to avoid.

>>The bottom line is that UID means User Ident - meaning that it
>>identifies a user.  If you assign multiple interactive logins to a
>>single UID, then confusion will reign.

>Several people have complained that confusion will reign or that you
>will run into serious trouble if several users have the same ID. So
>far NO ONE has pointed out a real problem, except for the bug (IMHO)
>in the passwd program. What IS the problem?

The problem is (IMHO) that one entry in passwd per UID is a basic assumption
in unix operating systems.  What in your view is a bug is, rather, the fact
that the operating system treats an anomaly differently from the way you
personally would like to have it treated.  Even if the login aspect were
corrected to your satisfaction, the fact remains that after login the OS
remembers that you are UID 0, not root, Sid, or Nancy.  There is no way to
predict absolutely how this will affect later actions in every possible
situation.  Consequently, the confusion others mention does not merely
refer to your password problem but to other unknown possibilities as well.

Other versions of unix may be written slightly differently so as not to
produce the specific problem mentioned, but all that I know of can produce
unexpected results with multiple users with the same UID.  So, my question
is why use a non-standard, uncertain means of granting super-user privs to
several people when a standard system (one root account with su privs given
to those who need it) already exists?

The one disadvantage I see for the single root account is the possibility of
a screw-up in changing the password, so that no one knows what it is.
However, I would humbly suggest that anyone who does not thoroughly know and
believe in the necessity of testing a new root password before logging out of
the root shell, has no business exercising root priveleges.

--
  ***   Jim Bowen                      **   University of Minnesota      ***
  ***   [email-masked]              **   Computer Science Dept.       ***
  ***   612-625-0876                   **   Systems Staff                ***

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

From: [email-masked] (Reagan Blundell)
Subject: Re: [ALERT] Password problem with Linux
Date: 10 Sep 1994 10:10:27 +1000

James Beckwith ([email-masked]) wrote:
> In article <[email-masked]> , [email-masked] writes:
> >flame, but lets not shoot ourselves in the foot...

> I hope this isn't TOO inappropriate a spot, but liked the *patience* with 
> newbie note. I am newbie enough that often the sarcasm is lost on me, but 
> appreciate the answers that go with it. BTW, 30 years at least can't 
> really be that long. By my calc, U*IX passwords can't be over 22 years
> old.

> Any suggestions about using a cracker to check out new passwords before 
> saving them?

There are a couple of alternative passwd programs, one called npasswd and the
other passwd+ (there may be more that I dont know about)  which check to
see if the password is a 'safe' one before allowing the user to change it.

-- 
Reagan Blundell                 The bats have left the bell tower
[email-masked]       The victims have been bled
                                Red velvet lines the black box
                                Bela Lugosi's dead         -- Bauhaus

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

From: [email-masked] (Brian Kramer)
Subject: Can't Find bitypes.h
Date: 9 Sep 1994 18:31:33 -0400

I seemed to have lost my bitypes.h from my sys include directory.
Can someone mail me a copy?

-- 
Brian Kramer - Owner/Systems Administrator - [email-masked]
New Jersey Computer Connection - Public Access Unix Site - pluto.njcc.com
Voice: 609-896-2799 - Fax: 609-896-2994 - Dialups: 609-896-3191
Dialup or Telnet to pluto.njcc.com and log in as guest for more information.

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

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

You can send mail to the entire list (and comp.os.linux.admin) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Admin Digest
******************************