Subject: Linux-Admin Digest #53
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Mon, 12 Sep 94 09:15:56 EDT

Linux-Admin Digest #53, Volume #2                Mon, 12 Sep 94 09:15:56 EDT

Contents:
  Re: WARNING about shadow-mk package (John F. Haugh II)
  Re: Everyone's MOUNT - WARNING! (Robert J. Adams)
  fvwm startup problems (Srini Seetharam)
  ftp question (Srini Seetharam)
  XDMCP question (Srini Seetharam)
  Re: How to use 14400bps with modem? (Jan Vilhuber)
  Re: xlock-shadow source ? (Alan B. Evans)
  ISO Pine 3.90? (Ted Okada)
  Re: fvwm startup problems (Patrick Reijnen)
  A couple of Linux problems... (Kurt Schafer)
  Re: How to use 14400bps with modem? (Richard L. Goerwitz)
  Re: How to use 14400bps with modem? (Michael Martin)
  Problem with device installer package "module" (K Webb/Lab Acct)
  Re: A couple of Linux problems... (Michael Martin)
  Re: Slow curses - is there a better/faster curses? (NightHawk)
  Re: Curses help (Kai Petzke)
  SEARCH: Clock setting Programm for 24X ([email-masked])
  Re: Everyone's MOUNT - WARNING! (Kai Petzke)

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

Crossposted-To: comp.os.linux.misc,comp.os.linux.development,comp.os.linux.help
From: jfh@rpp386 (John F. Haugh II)
Subject: Re: WARNING about shadow-mk package
Reply-To: [email-masked] (John F. Haugh II)
Date: Sun, 11 Sep 1994 23:07:45 GMT

In article <im14u2c.778889543@cegt201> [email-masked] (Joe Zbiciak) writes:
>The original /bin/login will deny any logged in user from using
>the -f (username) option if they lack sufficient privledge.  Period.
>Indeed, the only reason -froot was a problem was that /bin/login
>determined that the "active user" calling /bin/login was indeed root
>and therefore had permission to use the -f switch.  Any user, once
>logged in, cannot use the -f option unless that user is indeed root.
>
>For those persons interested in verifying this statement, log in
>as a regular user and type "/bin/login -f root" or "/bin/login -froot"
>and see what happens.  You'll not become root.  The problem was in
>rlogin and console logins, where /bin/login was being invoked by
>root itself, rather than being invoked as suid-root.  Apparently, the 
>old /bin/login uses getuid() instead of geteuid() to determine the 
>real user id of the user executing the program.

The easiest solution is to use the patch I posted several months
ago and apply that to lmain.c.  It closes the hole correctly and
doesn't require any extra wrapper commands.

Just to echo my disdain for binary-only distributions, I had a friend
who recently was forced to buy a Linux CD pretty much because the
spare CD I have was binary-only.  So far the only people making money
off of Linux are the CD shops.
-- 
John F. Haugh II  [ NRA-ILA ] [ Kill Barney ] !'s: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 251-2151 [GOP][DoF #17][PADI][ENTJ]   @'s: [email-masked]
 There are three documents that run my life: The King James Bible, the United
 States Constitution, and the UNIX System V Release 4 Programmer's Reference.

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

From: [email-masked] (Robert J. Adams)
Subject: Re: Everyone's MOUNT - WARNING!
Date: 12 Sep 1994 00:41:41 GMT

Jeff Kesselman ([email-masked]) wrote:
: In article <[email-masked]> [email-masked] writes:
: >/dev/fd0        /dos-a      msdos       user,noauto

actually you can also specify the nosuid ooption too, which does as it says.

Robert

--
/****************************************************************************
* Robert Adams    *         The University Of North Carolina at Greensboro  *
* [email-masked]         computer science /  general music          *
* [email-masked] who wants dos/windows/os2? when one has UNIX   *
****************************************************************************/ 

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

From: [email-masked] (Srini Seetharam)
Subject: fvwm startup problems
Date: 12 Sep 1994 00:54:04 GMT

I am trying to setup fvwm on my linux machine.
I have looked through the man pages and tried modifying
the xinitrc and the fvwmrc files.

What I want it to do is start some programs such as an
xterm and xbiff and a clock after I log into the
X console.

Is this possible with fvwm ? 
I know twm can do this but I have had other problems trying
to set it up. fvwm is great  but I need to figure out
how to autostart some programs.

---
[email-masked]

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

From: [email-masked] (Srini Seetharam)
Subject: ftp question
Date: 12 Sep 1994 00:57:10 GMT

I just setup ftp on my machine. I set the permissions of the
anon ftp directory structure according to the man pages of
ftp and ftpd.

The problem I am having is that whenever any user tries to ftp
into my machine, everything works except the ls command.
The ls binary is in the right place I checked.

I can even do a 

ls * filename

and the file will then contain the list of files. It just wont 
display it to stdout !

Can anyone help me ?

--
[email-masked] 

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

From: [email-masked] (Srini Seetharam)
Subject: XDMCP question
Date: 12 Sep 1994 01:01:07 GMT

I am setting up some Xterminals. The linux box will be the
server. The X terms run under MS Windog and hence are
capable of managing their own windows.

The only problem is that the linux box insists on managing
the windows, so I have to run the Xserver in a virtual root
window.

Teh xterminals connect to the linx box initially by an XDMCP
broadcats. The linux box replies with (willing to manage)
message. 

I had previously set this system up in a SUN os environment
and the suns would let the Xclient manage its own windows.

Can linux let the client manage its own windows ?
Do I have to create an entry in the Xaccess or Xservers file ?

please help...

[email-masked]

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

From: [email-masked] (Jan Vilhuber)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: How to use 14400bps with modem?
Date: 12 Sep 1994 01:04:23 GMT

In article <[email-masked]>,
Steven M. Gallo <[email-masked]> wrote:
>In article <[email-masked]>,
>Kristian Mowinckel <[email-masked]> wrote:
>>Today my USRobotics Sportster 14400 FAX MODEM arrived.
>>Now I use it at 9600 bps since 14400 is not an option offrered.
>>(I use Seyon by the way.)
>>How can I use 14400 bps?
>>
>Use the 19200 baud speed for your serial port.  That way the
>serial port sends to the modem at 19200 baud, the modem then
>compresses and sends the data over the phone lines at 14400.
>

(I *SHOULD* say RTFM, since *MY* sportser manual tells me the answer...)

Reeally what you should do is set the port speed to the highest possible
rate the the chip will support. If you have a UART 16550, then go ahead
and set it to 38400 (or even 56700??) Remember that a 14400 modem will do
compression and the such, and I have HEARD (never seen) that on good
days, when the moon is right, and so on, you _might_ get a throughput rate
of 56kB.

I run mine at 38400 with a UART 16550, and it works just fine.

Jan
[email-masked]

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

From: [email-masked] (Alan B. Evans)
Subject: Re: xlock-shadow source ?
Date: 11 Sep 1994 19:29:33 -0700

Srini Seetharam ([email-masked]) wrote:
: I recently installed the shadow suite for my linux box.
: It runs great. except when  I locked the screen.

: bzzzzt !  forgot to install xlock-shadow.

: I have been going nuts lookin for the source and/or binaries of
: xlock-shadow.

: please help...

: srini

: [email-masked]

I thought I saw this somewhere on sunsite but I can't remember
where. You might want to re-compile your vlock (if you have it),
as well as your ftp daemon. These were the things that tripped
me up when I installed the shadow package on my machine.

--Alan

-- 
You can reach me at @ :
Internet : [email-masked], [email-masked]
ICBM     :   33 39'     North   Cruise  :   33 39' 37"  North
         :  117 59'     West            :  117 59' 54"  West

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

From: [email-masked] (Ted Okada)
Subject: ISO Pine 3.90?
Date: 12 Sep 1994 02:40:37 GMT

--
---              \ o /  _ o        __|    \ /     |__        o _  \ o /   o
Ted Okada          |     /\   __\o   \o    |    o/    o/__   /\     |    /|\
<[email-masked]> ../.\...|.\../).|....(.\../o\../.)....|..(\../.|.../.\.../.\.
---
finger [email-masked] for PGP2.3 public key
---
ftp://ftp.clark.net/pub/ted/ for latest files
---
Today, why not commit a random act of senseless kindness.
---

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

From: [email-masked] (Patrick Reijnen)
Subject: Re: fvwm startup problems
Date: Mon, 12 Sep 1994 06:27:43 GMT

In <[email-masked]> [email-masked] (Srini Seetharam) writes:

>I am trying to setup fvwm on my linux machine.
>I have looked through the man pages and tried modifying
>the xinitrc and the fvwmrc files.

>What I want it to do is start some programs such as an
>xterm and xbiff and a clock after I log into the
>X console.

>Is this possible with fvwm ? 

Of course: just put them in your .xinitrc together with all the command
line parameters they need. First execute these x-apps and then as last line in
your .xinitrc state 'exec fvwm'

>I know twm can do this but I have had other problems trying
>to set it up. fvwm is great  but I need to figure out
>how to autostart some programs.

>---
>[email-masked]

Patrick Reijnen

--
************************* Patrick Reijnen *************************
* Department of Computer Science, Catholic University of Nijmegen * 
* Email:  patrickr@{sci,cs}.kun.nl                                *
* WWW:    http://{atlas,zeus}.cs.kun.nl:4080/homepage.html        *

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

From: [email-masked] (Kurt Schafer)
Subject: A couple of Linux problems...
Date: 11 Sep 1994 23:07:24 -0400

I have Linux installed on my system in addition to the latest OS/2 Warp-II
beta and of course DOS/Windows using OS/2's boot manager.

Whenever I shutdown OS/2 and boot linux, I always get a 'HPFS Drive Improperly
CLosed Flag Set' (or something like that) and my HPFS partition never gets
mounted. (I always do a proper shutdown though so I should not be getting this
error)

Also, when I boot from floppy (linux) there is a section where it says
'Calibrating Delay loop' 25.04 Bogomips...

When I boot from hard drive though, immediately after the Bogomips count I get
a 'Failed' message on the next line...

What is failing ? ANd how can I fix it ?
. 
Thanks for any advice.

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

Crossposted-To: comp.os.linux.help,comp.os.linux.misc
From: [email-masked] (Richard L. Goerwitz)
Subject: Re: How to use 14400bps with modem?
Reply-To: [email-masked]
Date: Mon, 12 Sep 1994 03:15:33 GMT

[email-masked] (Jan Vilhuber) writes:
>
>Reeally what you should do is set the port speed to the highest possible
>rate the the chip will support. If you have a UART 16550, then go ahead
>and set it to 38400 (or even 56700??) Remember that a 14400 modem will do
>compression and the such...
>
>I run mine at 38400 with a UART 16550, and it works just fine.

It appears to me that the 38400 mark is just a convention.  You can
have the serial driver reinterpret it as 57600 by using the spd_hi
option with the setserial command.  What you are doing, in this case,
is sending data at 57600 bits per second to the modem, which compres-
ses it, then sends it at 9600(+?) baud over the phone to another modem
that decompresses it.  V.42bis compression can achive a 4:1 ratio, so
57600 is an ideal rate.  You must enable rts/cts flowcontrol, though,
I believe, since otherwise you can overflow the modem's buffers (if,
say, it can't quite reach 4:1 compression, but is getting stuff in
at the maximum rate of 57600).

I might remind everyone reading this that I'm no guru (if that's not
obvious).  I just had this incredible brainstorm that maybe the FAQs,
HOWTOs, and man pages might have something useful to say.  I'm always
the first to encourage old hands to be nice.  But the crabby netters
who go around screaming RTFM do have a point.

-- 

   -Richard L. Goerwitz              [email-masked]
   [email-masked]          rutgers!oddjob!ellis!goer

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

From: [email-masked] (Michael Martin)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: How to use 14400bps with modem?
Date: 12 Sep 1994 03:44:13 GMT

Steven M. Gallo ([email-masked]) wrote:
: In article <[email-masked]>,
: Kristian Mowinckel <[email-masked]> wrote:
: >Today my USRobotics Sportster 14400 FAX MODEM arrived.
: >
: >Now I use it at 9600 bps since 14400 is not an option offrered.
: >(I use Seyon by the way.)
: >How can I use 14400 bps?
: >

--

Tell Linux that the modem is 38400. This should work fine with a Sportster.
The line speed is still 14400, but the serial port speed (computer to modem)
is higher. This has to be in order to get any use out of compression. If you
use minicom, be sure to set auto baud detect off, and ALWAYS use hardware
flow control at these (relatively) high speeds.

One word of caution - be SURE to power the sportster off before plugging/
unplugging the power supply - I have had THREE of these modems fry this way.
And I had one power supply decide to send a bunch more volts than usual one
day - also fried the modem. IMHO, these cheap modems are just that - cheap.

*---------------------------------------------------------------------------*
*Michael L. Martin            | A Law is not Just, just because it's a law. *
[email-masked]   |                                             *
*---------------------------------------------------------------------------*

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

From: [email-masked] (K Webb/Lab Acct)
Crossposted-To: comp.os.linux.help
Subject: Problem with device installer package "module"
Date: 12 Sep 1994 03:38:56 GMT

Hello all.

I am trying to install the ftape package onto my 486 and I
can't seem to get the "modules" package to compile.

I've got the modules.tar.gz package from sunsite
under /pub/Linux/kernel.  I am using GCC 2.5.8 running
under Slackware Linux 1.0.  Apparently, the compiler returns
an error that "struct symbol_table" is undefined.  I can't find
it anywhere in the #include files.  Was the declaration left out?
Am I missing a .h file?  (There were none included in the
modules archive!)  Help!  

I'd love to get my tape drive (a Colorado 250 Jumbo) up and
running!  I need desperately to do a backup!

Thanks in advance for any help!!

Peace,
Bill

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

From: [email-masked] (Michael Martin)
Subject: Re: A couple of Linux problems...
Date: 12 Sep 1994 03:47:41 GMT

Kurt Schafer ([email-masked]) wrote:
: I have Linux installed on my system in addition to the latest OS/2 Warp-II
: beta and of course DOS/Windows using OS/2's boot manager.

...

: What is failing ? ANd how can I fix it ?

Apparently, Warp-II is failing? I've heard there is a CSD already for this,
but I can't find it anywhere. Linux may also be making false assumptions 
about the OS/2 HPFS 'dirty' bit - I think I read something about that here
once before.

--

*---------------------------------------------------------------------------*
*Michael L. Martin            | A Law is not Just, just because it's a law. *
[email-masked]   |                                             *
*---------------------------------------------------------------------------*

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

From: [email-masked] (NightHawk)
Crossposted-To: comp.os.linux.development,comp.os.linux.help,comp.os.linux.misc
Subject: Re: Slow curses - is there a better/faster curses?
Date: 12 Sep 1994 07:31:44 -0400

James Deibele ([email-masked]) wrote:
: 48 hours ago I installed Slackware 2.0 and it was just about the easiest 
: install I've ever done in 10 years of mucking around with computers.
: Color me impressed.

: We are using Linux on a box for people to do remote development - we
: want to compile and run apps on the Linux box.  Exciting things like
: accounting and other business tasks.

: elvis is a pretty faithful implementation of vi although it's noticeably
: slower in screen I/O than vi on a SPARC.  And that's when I'm only the
: user on the linux box and there's nothing else happening on it.  And
: with relatively small - 400-line - programs.

I am using nvi 1.34 from BSD 4.4. It is fast and much more compatible
with vi than elvis.

: Console output under Linux was very quick and I'm sure X performance is
: pretty good.  But curses performance is a little sluggish and adding
: lines near the bottom of the screen is a real killer - curses seems to
: clear the screen with blank lines <then> adds the new text.

: I know that curses and terminals are going the way of the dinosaur but
: like the dinosaur they're going to take a long time to die.  We were
: looking at what it would cost to outfit our very small office with a
: PC/Mac/Unix solution that ran under Windows, MacOS, and UNIX and decided
: we could live with a curses interface.

: But it would be nice if it were a little quicker.  Is there a
: replacement curses out there somewhere?  I checked the FAQs, How-Tos,
: and Meta-FAQ and didn't see a word about curses.

There is a new curses from BSD 4.4 in libc 4.6.x. It is under beta testing
now. I like it very much.

NH

: Thanks!

: -- 
: [email-masked]                 "Slowly cursing he deleted the word"
: Full internet (ftp, telnet, irc, ppp) available.   Voice: (503) 223-4245
: Portland: (503) 220-1016 2400, N81.  Login as "new" to setup an account.
: Vancouver: (206) 260-0330   Salem: (503) 364-2028    FAX: (503) 223-4372

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

From: [email-masked] (Kai Petzke)
Subject: Re: Curses help
Date: 12 Sep 94 08:16:58 GMT

[email-masked] (Benjamin B. Rickett) writes:

>I am attempting to add color to many of my ncurses programs, but I'm not 
>sure how to go about it.  Could someone E-mail me a simple example of 
>color in curses or Ncurses.  I would greatly appreciate it.  Thanks.

For example, take a look at the "dialog" program, as found on:

        sunsite.unc.edu:/pub/Linux/utils/shells/dialog-0.3.tar.gz

I have not checked, though, whether 0.3 is still the latest version
of it.

Kai
-- 
Kai Petzke                      | How fast can computers get?
Technical University of Berlin  |
Berlin, Germany                 | Sol 9, of course, on Star Trek.
[email-masked]   |

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

Date: 12 Sep 1994 12:14:00 +0200
From: [email-masked]
Subject: SEARCH: Clock setting Programm for 24X

Hello...

I'am searching for an Program named: CLOCK !
This tool is designed, to change the clock settings of an Speedstar 24X  
Graphicsadapter.

A few day's ago, some men post his Xconfig for an Speedstar 24X in this  
group. He also had the Clock program...

Where can i get this ???

---Kai
###
## CrossPoint v3.0 ##

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

From: [email-masked] (Kai Petzke)
Subject: Re: Everyone's MOUNT - WARNING!
Date: 12 Sep 94 08:25:53 GMT

[email-masked] (Robert J. Adams) writes:

>Jeff Kesselman ([email-masked]) wrote:
>: In article <[email-masked]> [email-masked] writes:
>: >/dev/fd0        /dos-a      msdos       user,noauto

>actually you can also specify the nosuid ooption too, which does as it says.

The "user" option automatically turns on the nosuid, the nodev
and the noexec options.  The nodev option is obviously necessary
to plug another security hole: otherwise users could bring in
their floppy disk, which contains a user-writable copy of the
/dev/hda (or /dev/sda) device special file ...

Kai
-- 
Kai Petzke                      | How fast can computers get?
Technical University of Berlin  |
Berlin, Germany                 | Sol 9, of course, on Star Trek.
[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
******************************