Subject: Linux-Admin Digest #120
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Thu, 29 Sep 94 17:14:31 EDT

Linux-Admin Digest #120, Volume #2               Thu, 29 Sep 94 17:14:31 EDT

Contents:
  Re: Bug in Linux 'mv'? (Craig Woodward)
  Re: FIPS or UMSDOS - WHICH ONE??? (Michael van Hartskamp)
  Re: Sound Blaster dev (Greg Cisko)
  Linux 1.1.51 & GNU Finger 1.1.37 (Robert Sink)
  Rlogin security and .rhosts (Gregory Trubetskoy)
  rlogin problem (Lance Holmes)
  LaserJet 4M setup
  X11-QMR QWK Mail Reader (Ross Linder)
  Re: How to make Linux see my Dos partition (David Fox)
  Re: Time Zone (H. Peter Anvin)
  Minicom Administration (Riku Saikkonen)
  Re: Enabling Dial-In to my Linux system. (Gert Doering)
  Safer method of anon ftp with group access (Srini Seetharam)
  Re: Help: ftape 1.13b with kernel 1.1.49 (FranzJosef Knelangen)
  Re: 80x50 screen (Erik Mouw)
  XView/Openwin rather old... (Christian Kuehnke)
  Muti-Media Modem with Linux (DOUGLAS ENEFAA GEO)
  Re: Rlogin security and .rhosts (Ian McCloghrie)
  Re: WANTED: linux powerd sources (laboratorium dydaktyczne)

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

From: [email-masked] (Craig Woodward)
Subject: Re: Bug in Linux 'mv'?
Date: Tue, 27 Sep 1994 18:47:19 GMT

In article <[email-masked]>,
>
>TYpically UNIX mv does not work across volumes.  I'm suprised it doesnt 
>error out on you.  The standard way to move things across volumes is to 
>use tar to copy it, and then rm -r the original.

        What about `cp -arp * /splat`?  Much simpler then tar.

                                                        -Woody
-- 
--- 
I represent my own ideas.  Yes, I DO think, all on my own, without the
collective.  Sure, you may think "NT's just putting him up to this", and
you my be right, but thats only what I say, not why I say it. :)

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

From: [email-masked] (Michael van Hartskamp)
Subject: Re: FIPS or UMSDOS - WHICH ONE???
Date: Thu, 29 Sep 1994 13:02:45 GMT

In articles was written that FIPS is easy to use. That's true. But I had a small
problem with FIPS, maybe that can be changed easily (?) I didn't bother to find out 
(up to now).

This is it:I repartitioned my 340 MB drive. Making it 145. This however was not that 
clever since I only had  COMMAND.COM and systemfiles on it. The decreasing of the
partitionsize did NOT change the sectorsize (seems rahter inevitable) and therefore
my sectorsize is 8K. This means that a file of 1 byte needs 8K harddisk-space.

MS-DOS needs this large sectors enabling to access larger-MB-drives with the same clusters.
So when decreasing below 128 MB or 256 MB (I think these are the limits) the sectorsize
stays bigger than necessary causing the space-loss mentioned.

My advice is: When harddisc is almost empty use FDISK when filled use FIPS first. Copy data to
new partition use FDISK remove partition and recreate then you'll have correct sectorsize, copy 
data back from new-partition. The copying between partitions is at least faster than backup on 
diskettes. Or use FIPS and don't cross the boundary's. 

Good Luck, 

Michael,

PS: If you have a better idea please tell me. (I'm still stuck with the 8K-sizes since my disk
is already filled in both partitions..)
===========================================================================================
EMail : [email-masked]

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

From: [email-masked] (Greg Cisko)
Subject: Re: Sound Blaster dev
Date: 29 Sep 1994 13:49:25 GMT
Reply-To: [email-masked]

In article [email-masked], [email-masked] () writes:
> I have a Sound Blaster 16 ASP in my system.  How do I set up Linux to
> use it?  I have kernal 1.1.18
> 
> Thanks
> 

Re-compile the kernel with sound support.

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

From: [email-masked] (Robert Sink)
Subject: Linux 1.1.51 & GNU Finger 1.1.37
Date: 27 Sep 1994 18:34:30 -0400

I have been battling with the GNU Finger v1.1.37 for about 2 months now --
on and off to no avail.  I've reconfigured my settings, recompiled, checked
the system and all sorts of other little details that I care not to dwell
on at this point.

I have applied the Debian patch to no avail, and I'm just plain baffled.

Here's what I'm getting when I try to do a general finger on the machine:

[skEErEd.infi.net]
No one logged in on client machines.

I have checked my clients files, reconfigured using hostnames only,
hostnames and domain names, IP addresses, port #'s; you name it.

Here's what I get when I finger a user:

System Administrator (root)
Home: /root
Shell: /bin/tcsh
Mail forwarded to root.
Last login on tty3 on Tue Sep 27 18:09:06 1994

System Administrator has never logged on.
Plan:

As you can see, it says my last login above and from where, then it
comes down and says that I have never logged on.  I find this to be
bizarre.  I seem to think that this could be part of the problem.

Anyone w/ experience and/or any ideas: I would be GREATLY appreciative
if you would reply to this message and/or the below email address!

--

 -------------------------------------------------------------------------
|:| Robert Sink              | "I don't want  to start  any blasphemous |:|
|:| [email-masked] |  rumors, but I think that GOD has a sick |:|
|:|--------------------------|  sense of humor and when I die  I expect |:|
|:| (c) 1994 Gurkware, Inc.  |  to find him laughing."  -- Depeche Mode |:|
 -------------------------------------------------------------------------
         *PGP 2.6 Public Key Available By Fingering This Account*
           *or via the PGP Server: [email-masked]*

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

From: [email-masked] (Gregory Trubetskoy)
Subject: Rlogin security and .rhosts
Date: 26 Sep 1994 23:54:59 GMT

A user can make a /bin/.rlogin file with the following line:

localhost username

Then the user "username" can do rlogin -l bin localhost.

This, I was told, gives the user root access through the at command, as 
/var/spool/at* is owned by bin

I'm sort of new to unix administration, so I'd like some comments on this -
is this a big security hole? How powerful bin is? What can be done to fix
this? 

I'd appreciate e-mail, as I am going away for a week and may not be able to 
catch this thread when I get back...

Cheers!

--
================================================================
Gregory Trubetskoy                   [email-masked]
================================================================

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

From: [email-masked] (Lance Holmes)
Subject: rlogin problem
Date: 29 Sep 1994 13:27:36 GMT
Reply-To: [email-masked] (Lance Holmes)

I've installed the Yggdrasil Linux Fall 94 software.  And I think either
this was working and I screwed up something or it never did work.
I can rlogin to my Sun workstation if I am logged in as root on my PC
but if I log in as any other user I get the following message.

rcmd: socket: Permission denied    

I have a .rhost file in both my root home dir and my user dir but in the
root dir I didn't modify it in any way and so my sun workstation is not
mentioned in it which leads me to beleive that its not being used.  In
the user dir I tried adding the names of other sites that I wanted to 
log into but it still didn't change any thing.  It seems like my root
has permission to some file some where and the world or groups don't and
need to.

Thanks 

Lance Holmes   

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

From: [email-masked] ()
Subject: LaserJet 4M setup
Date: Thu, 29 Sep 1994 09:48:27 GMT

I have a HP LaserJet 4M and I want to use it with Linux.  How do I set
it up.  It's a 600dpi printer with postcript.

Thanks 

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

From: [email-masked] (Ross Linder)
Subject: X11-QMR QWK Mail Reader
Date: 29 Sep 1994 15:52:49 GMT

Hi all

X11-QMR Ver 1.2 is finnaly ready, get it from iaccess.za in the
/pub/unix/x11-qmr directory, or from sunsite.unc.edu in /pub/Linux/Incoming

Get the README.FIRST from iaccess.za before you waste time downloading
wasted data, or look at X11-QMR.lsm

For status of all my Linux projects, use finger to [email-masked]

Thanks Ross Linder      [email-masked]

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

From: [email-masked] (David Fox)
Subject: Re: How to make Linux see my Dos partition
Date: 29 Sep 1994 04:19:22 GMT

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

] Awful thing happen to me the other day.  I was trying to see something
] from my dos partition (hda2) and I ended up destroying my file allocation
] table on dos.  Does anyone know how to safely retrieve files from a 
] dos partition?

# mount -t msdos /dev/hda2 /mnt
# cp /mnt/file ~
--
David Fox                                               xoF divaD
NYU Media Research Lab                     baL hcraeseR aideM UYN

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

Crossposted-To: comp.os.linux.development,comp.os.linux.help
From: [email-masked] (H. Peter Anvin)
Subject: Re: Time Zone
Reply-To: [email-masked] (H. Peter Anvin)
Date: Tue, 27 Sep 1994 23:24:21 GMT

Followup to:  <[email-masked]>
By author:    [email-masked] (Nikos Massios)
In newsgroup: comp.os.linux.admin
>
> I think EET stands for Eastern European Time and it is GMT+02. Well
> if my previous statement is right then Slackware 1.2.0 is wrong
> because it thinks that EET is GMT+03. Anybody knows what EET is?
> 
EET is GMT+2 in the winter and GMT+3 in the summer.

        /hpa
-- 
INTERNET: [email-masked]             --- Allah'u'abha ---
IBM MAIL: I0050052 at IBMMAIL     HAM RADIO:   N9ITP or SM4TKN
FIDONET:  1:115/511 or 1:115/512  STORMNET:    181:294/1 or 181:294/101
"This conversation made more sense this time around."  -- Bill & Ted

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

Subject: Minicom Administration
From: [email-masked] (Riku Saikkonen)
Date: Thu, 29 Sep 94 17:18:00 +0200

> 1. Where are the Minicom configuration files stored.
>  e.g. minicom.dfl, etc.

Depends on how your version of minicom was compiled... Try (as root,
of course, since a non-root can't seem to access the file) find / -name
'minicom.dfl'.

> 2. Can a user access Minicom without root access?
>  NOTE: he can run the program but it says that he
>        does not have sufficient rights to run the
>        minicom.dlf file.

chmod a+r /where_ever_it_is/minicom.dfl

And edit the file...

-=- Rjs -=- [email-masked] - IRC: Rjs
"For still there are so many things / that I have never seen: /
in every wood in every spring / there is a different green." - Tolkien

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

From: [email-masked] (Gert Doering)
Subject: Re: Enabling Dial-In to my Linux system.
Date: Thu, 29 Sep 1994 14:29:06 GMT

[email-masked] writes:

>In article <[email-masked]>, [email-masked] (Kurt Schafer) says:
>>
>>I am trying to enable dial in access to my linux box here at home. I printed
>>out the README for getty_ps and as per the file I changed my inittab and
>>gettydefs as I felt appropriate.
>>
>>The verdict ? I try calling from my other line and it doesn't pick up.

>Aha - an easy one :)

>Set the modem to Auto Answer using DIP switch 5.

Noooooooo. After all, Linux machines crash every now and then... wanna
have the modem pick up then? Yes? Ok, set it to autoanswer...

gert
-- 
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert
Gert Doering - Munich, Germany                             [email-masked]
fax: +49-89-3243328                         [email-masked]

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

From: [email-masked] (Srini Seetharam)
Subject: Safer method of anon ftp with group access
Date: 27 Sep 1994 00:19:58 GMT

I would like to setup an anon ftp site with group access
priveleges. 

In linux, one way of doing this is by using the 'private'
entry and the groupaccess file.
The groupaccess file has the entry format:

name:encrypted_pass:real_name

The disadvantage is that this file is kept open during the operation of
the ftp server.

The other way is to use the 'guestgroup' entry and putting the 
entry in the passwd file. and group file.

A third way is to use the ACCT option in the ftp deamon.
I have not quite figured out how to set this up.

Which one is safer ?
Are there any special precautions that must be take ?
Where can I read more about this ? (at RTFM.MIT.EDU ?)
Any other advantages of one over the other ?

--
srini seetharam
[email-masked]

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

From: [email-masked] (FranzJosef Knelangen)
Subject: Re: Help: ftape 1.13b with kernel 1.1.49
Date: 27 Sep 1994 21:04:15 GMT

Andreas Weigand ([email-masked]) wrote:

: Hello all !

: Two weeks ago i send the following message, but i get no responce.
: So I post it again and hope someone can answer me:

: Can someone help me ? I want to use my Colorado streamer DJ-10 with
: controller card FC-10 on my Linux system ! I get the patched ftape-driver
: from sunsite and compiled it successfully. The modules were compiled same
: and I'am using kernel version 1.1.49.

: Now when I give the command "mt -f /dev/ftape reten " the tape go's from the
: beginning to the end and return. That is it what the tape should do, but
: when I want to read from the tape with:

: mt -f /dev/ftape erase

what is this link pointing to? /dev/rft0? /dev/rft1?
Try BOTH, for me only the latter works (dunno why).
BTW: in another xterm or VT you should do a "tail -f /var/adm/messages" and
see what happens. Wird schon werden! FJK

: or 

: mt -f /dev/ftape status

: the tape moves and I get the message: I/O error !

: Can someone help me about this problem ?

: You can reach me via Internet at the adress:

: [email-masked]

: or you can post an articel at this place !

: Thank you !

: Andreas Weigand

: ----
: [email-masked]

--
Franz-Josef Knelangen | Deutsches Seminar II | email: [email-masked]
Karlstr. 42, 79104 FR | Univers. FR 79085 FR | finger: [email-masked][...]
Voicenet: 0761-39479  | Voice: 0761-203-3241 | Lektuere: Carlos Fuentes,
FAX: +49 761-39479    | FAX: +49761-203-3355 | Terra Nostra (1200 S., dtv)

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

From: [email-masked] (Erik Mouw)
Subject: Re: 80x50 screen
Date: 29 Sep 94 16:43:19 +0100

In article <[email-masked]>, [email-masked] (Andries Brouwer) writes:
> [email-masked] () writes:
> 
>>Is there a way to use 80x50 text mode in Linux?  I have a ATI mach32
>>card, and I know it is capable of this.
> 
> Last Sunday evening I made console resizing as an application
> of dynamic virtual console allocation. Hope to put kbd-0.88
> on funet tomorrow or so.
> It works like this: (i) get svgalib, compile and put the program
> restoretextmode in your path. (ii) get (by whatever means, e.g.
> by rebooting linux with vga=ask in the lilo config file, or by
> using something under dosemu) the console video in the desired
> state(s), and say "restoretextmode -w file" to store the state
> of the video hardware. (iii) After this preparation you can at
> any moment change the console size by saying something like
> "resize 50x80". The program resize will reallocate console
> screen memory for all virtual consoles, send a SIGWINCH to
> all programs involved, call "restoretextmode -r file" to set
> the video hardware, and call "setfont font" to get reasonable
> characters. For me it works beautifully.
> 
> So, it seems that this replaces the question "Can I get 50x80
> text mode under Linux?" by "Can I get the video hardware into
> 50x80 text mode?".

I think you mean 80x50 instead of 50x80. 50x80 isn't a very funny 
mode to use... But apart from that, sounds interresting.

Erik

==================================================
Erik Mouw, Department of Electrical Engineering,
Delft University of Technology, The Netherlands
email : [email-masked]

        D  O  N  '  T     P  A  N  I  C  !

==================================================

Bypasses are devices that allow some people to dash from point A
to point B very fast while other people dash from point B to
point A very fast. People living at point C, being a point
directly in between, are often given to wonder what's so great
about point A that so many people from point B are so keen to
get there and what's so great about point B that so many people
from point B are so keen to get THERE. They often wish that
people would just once and for all work out where the hell they
wanted to be. -- Douglas Adams

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

From: [email-masked] (Christian Kuehnke)
Subject: XView/Openwin rather old...
Date: Thu, 29 Sep 1994 15:46:20 GMT

Hi,
I have to setup a linux machine here for one of the professors
to work at home with - he would really like to have the open-
windows/xview as user interface, just as he is so used to it.

I took my self-grown linux installation and wanted to add one of
the openwin/xview packages from SLS or LST, but I found that all
they had to offer was the old package dating from Oct. '93, with
all the ugly sideeffects (need symlinks from /lib for the shared
libs or LD_LIBRARY_PATH, spurious complains about "(tty) is not
a typewriter", cmdtool not working well).

So I am wondering if there is any newer port of xview to linux?
Are the patched sources available, even to generate new shared
lib images?

Otherwise I will just fall back to plain X11 and trim fvwm and
xterm/rxvt so that it will yield a xview-look-a-like... 

Thanks for any pointers in advance,
Christian
-- 
[email-masked] ** Phone: +49 (0)441 592 652
Christian Kuehnke/Hartenscher Damm 65/26129 Oldenburg/Fed. Rep. of Germany
"Wer auf dem Kopf geht, der hat den Himmel als Abgrund unter sich" (Celan)

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

From: [email-masked] (DOUGLAS ENEFAA GEO)
Subject: Muti-Media Modem with Linux
Date: Thu, 29 Sep 1994 14:18:08 GMT

Keywords: ACE 5000, Multi-Media Modem, Linux

Has anybody tried using the ACE 5000 from Best Data Products with Linux.  I can't
get it to dial.  It only dials with Quick Link; not even with Terminal (bundled
software with Windows).  I only need the Modem part of it under Linux and that is
where I need the help.

Thanks in advance ..

Please post here or email to [email-masked] ....

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

From: [email-masked] (Ian McCloghrie)
Subject: Re: Rlogin security and .rhosts
Date: 26 Sep 1994 17:48:47 -0700

[email-masked] (Gregory Trubetskoy) writes:
>A user can make a /bin/.rlogin file with the following line:

Some rloginds refuse to use a .rhosts file unless it's owned by
the owner of the home directory.  I *think* the standard linux
in.rlogind has this feature.  Thus, even if /bin were
world-writable (which it should not be) users cannot use
this method to gain access to bin.

--

Ian McCloghrie    work: [email-masked]     home: [email-masked]
  ____   GCS d-- H s+:+ !g p? au a- w+ v- C++$ UL++++ US++$ P+>++
  \bi/   L+++ 3 E+ N++ K--- W--- M-- V-- -po+ Y+ t+ 5+++ jx R G'''
   \/    tv- b+++ D- B-- e- u* h- f+ r n- y*

The above represents my personal opinions and not necessarily those
of my employer, Qualcomm Inc.

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

From: [email-masked] (laboratorium dydaktyczne)
Subject: Re: WANTED: linux powerd sources
Date: 29 Sep 1994 14:25:27 GMT

John Norris ([email-masked]) wrote:

: I am searching for powerd sources for linux (You know, the daemon that
: looks a serial port for a signal from UPS, then shuts down etc.)

: I have a powerd from old SLS distribution, but i need to modify it to
: my needs (eq, need to make it to broadcast a network shutdown signal.)

: Could someone point me to relevant address?? i have searched sunsite
: and tsx with no avail..

Get sysvinit-2.5 - powerd is part of this package (with source code and
a man page).  Or get BUPS-HOWTO - how to connect APC Back-UPS to a Linux
box (and it is possible to shut down the UPS after the system is halted,
to save the UPS battery).  I think you should be able to find sysvinit
and BUPS-HOWTO on sunsite.unc.edu, tsx-11.mit.edu or ftp.funet.fi.

: //[email-masked]
: --

: *******************************************************************************
: Work tel : +358-0-663 200
: Beeper   : 9200-866260 (inside finland, answering service+beeper 24h/day)
: Snailmail: merimiehenkatu 20 a 14, Helsinki 15, Finland
: email    : [email-masked]
: fax      : +358-0-6121255 Attn: John Norris.

: *******************************************************************************

Regards,

Marek Michalkiewicz
[email-masked] || [email-masked]

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

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