Subject: Linux-Admin Digest #34
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Wed, 7 Sep 94 14:13:44 EDT

Linux-Admin Digest #34, Volume #2                 Wed, 7 Sep 94 14:13:44 EDT

Contents:
  Re: open an x-window with login: prompt (Mario Camou)
  Re: .bashrc does not exec... ([email-masked])
  Re: Xircom under Linux ? (Daniel Poirot)
  Re: Setting ftp server in Linux!!?? ([email-masked])
  Re: An idea for running dos ([email-masked])
  Re: [Q] Where are rpc.portmap, rpc.mountd, rpc.nfsd? (Viktor T. Toth)
  Re: What is my root password???????? (Viktor T. Toth)
  PCI+Pentium+Linux+X? (David J Topper)
  Re: UID 0 Passwd blues (Delemar)
  Re: [ALERT] Password problem with Linux (Jerry Ablan)
  Re: Setting ftp server in Linux!!?? (~{B^=\R"~} Lazy Naughty Boy Brian Law)
  Re: inn or cnews for linux? ([email-masked])
  Telnet... (Andreas Schmidt)
  Re: inn or cnews for linux? (richard)
  fsck during boot (Oz Dror)
  Re: Q: NFS, Linux -> Macintosh (Zack T. Smith)
  [Q] How to create and admin Linux LAN (Joerg Fries)
  Re: middle butt of a mouse (Sarr J. Blumson)

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

From: [email-masked] (Mario Camou)
Subject: Re: open an x-window with login: prompt
Date: 07 Sep 1994 02:07:00 GMT

In article <[email-masked]> XiaoFei Wang <[email-masked]> writes:

> Hello, 
> 
> suppose I startx and then open a window of someone else's 
> login, how should I do it? 
> 
> Thanks.

How about:

  xterm -e /bin/su <username> -

Hope this helps,
-- 
==============================================================================
           Mario Camou                     |          MS-DOS is a bug
EDS Mexico Client-Server Technical Support |   MS-Windows is a bug with a GUI
       [email-masked]             |      Linux: the best debugger
==============================================================================
                    My opinions are only mine, mine, MINE!

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

From: [email-masked]
Subject: Re: .bashrc does not exec...
Date: 7 Sep 1994 04:34:23 GMT

[email-masked] (Greg Cisko) writes:
>Message-ID: <[email-masked]>
>Reply-To: [email-masked]
>NNTP-Posting-Host: slip34.fnal.gov
>Since this works fine on my SUN, I am assuming that this is linux specific.
>Anyone know why my .bashrc does not run when I login??? I thought that if
>you had a .bashrc in your $HOME directory, it would get executed? What file
>is supposed to look to see if there is a .bashrc to run???
>And my alaises are not enabled either. Where does the system get these defaults
>from? There isn't a HOW-TO describing this is there???
 
Well, I read the replys re: reading the bash man page - and I'll reply
anyway :-)  Finding the files bash uses is indeed easy from the man
page because they are near the end "G" in less followed by a few
"b"'s and boom you're there.  But the Bash man page (I've only read it
a dozen times so far - not nearly enough to understand it!) is
decidedly bad for finding out little things.  Like for example, bash
will never source .bashrc if it is invoked as "sh" (via symbolic links
like on my system).  So .bashrc is only used if you type "bash" from
within another shell.  Maybe this is your problem?
 
>Thanks...
--
Christopher J. Fearnley       |   UNIX SIG Leader at PACS
[email-masked]        |   (Philadelphia Area Computer Society)
[email-masked]          |   Design Science Revolutionary
[email-masked]  |   Explorer in Universe
503 S 44th ST                 |   Linux Advocate
Philadelphia PA 1914-3907     |   (215)349-9681

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

From: [email-masked] (Daniel Poirot)
Subject: Re: Xircom under Linux ?
Date: 7 Sep 1994 13:43:06 GMT

In article <[email-masked]>,
Alan Cox <[email-masked]> wrote:
>In article <[email-masked]> [email-masked] (Werder Christian) writes:
>>I've bought a Xircom Ethernet-Adapter, and now I have
>>a big problem !!!!!
>>Is there a chance to install it under Linux ???
>>The matter is that I didn't found any driver for it :-(
>
>Xircom won't tell anyone how to program it. Sell it to a DOS weenie and get
>a supported one is about your only chance unless you can persuade Xircom
>to give out the programming information freely. You may also be able to
>send it back as 'unfit for the purpose it was sold' or similar depending
>upon your consumer rules and whether you told them it was for a Linux box.

This really toasts my shorts!  Read The Fine Manual!  Do not buy
Xircom, Diamond, etc...  Complain to these weenies.  Do not give these
small-minded, greedy pigs your money!
-- 
Daniel Poirot           [email-masked]
NASA JSC                "The mind is a terrible thing."
ER3                     tel: (713)483-8793
Houston, TX 77058       fax: (713)483-3204

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

From: [email-masked]
Crossposted-To: comp.os.linW,elp
Subject: Re: Setting ftp server in Linux!!??
Date: 7 Sep 1994 14:04:23 GMT

 Copy the ls program to ~ftp/bin, then run chmod 555 ~ftp/bin/ls

 I don't know why but I could also use a ls without the program in ~ftp/bin.

Also you need to copy ld.so and libc.so.??? in ~ftp/lib.

Cp++;

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

From: [email-masked]
Subject: Re: An idea for running dos
Date: 7 Sep 1994 14:08:13 GMT

 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. 

 Maybe a multi processor PC could handle this but there is a big work to make
on it...

Cp++;

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

From: [email-masked] (Viktor T. Toth)
Crossposted-To: comp.os.linux.help
Subject: Re: [Q] Where are rpc.portmap, rpc.mountd, rpc.nfsd?
Date: Wed, 7 Sep 1994 08:57:41

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

>A stupid but non FAQ question:
>Where are rpc.portmap, rpc.mountd, rpc.nfsd for NFS mounting?  I am sure these
>are not included in the slackware distribution.  Any help, flame will be well
>accepted.

Flame on ya! Naw... just kidding. My Slackware 1.2.0 put them into /usr/sbin.

Viktor

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

From: [email-masked] (Viktor T. Toth)
Subject: Re: What is my root password????????
Date: Wed, 7 Sep 1994 09:00:23

In article <[email-masked]> [email-masked] (sharpe randall k) writes:

>[email-masked] (Douglas Frank) writes:
>I have been following this thread just out of curiosity. I have one
>question though. You talk about "booting into single user mode". How
>is this done. The only way I know haw to put my machine into single
>user mode is to do a telinit -S or one of it's equivalents.

During boot, at the LILO prompt, you type 'linux S'. If you don't have a 
prompt when the word 'LILO' is displayed, hit the Shift key. If your lilo is 
configured differently (i.e., linux is not called 'linux' but something else) 
use that word.

Viktor

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

From: [email-masked] (David J Topper)
Crossposted-To: comp.os.linux.development,comp.os.linux.help,comp.os.linux.misc
Subject: PCI+Pentium+Linux+X?
Date: 7 Sep 1994 14:12:03 GMT

Newsgroups: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.development,comp.os.linux.misc
Subject: Pentium PCI + Linux X Motiff
Summary: 
Followup-To: 
Distribution: usa
Organization: Columbia University
Keywords: 
Cc: 

Hello,

I could really use some help on the following:

1)  Does Linux support the Pentium?
2)  Does Linux support 32 | 64 bit Video (PCI)?
3)  Would an SCSI HD make life better?
4)  How does one get Linux + a GUI (X Windows / Motiff) + a C++ compiler
    and other utils?
5)  Are there any major brand hardware peices I need to watch out for?
6)  Or, is there a list (are there lists) of Linux / Xfree86 / C++ 
    compatibility and availability w/respect to Pentium / PCI Video. 
    I'd LOVE to know.

I really need to buy a machine and get Unix (Linux) running ASAP.  I do 
some DOS programming so I'd like to go with the Pentium and whatnot, but
perhaps not...  From what I've gathered, I need to watch what I buy if I
go with Linux.

Help would be very greatly appreciated.  My other option is to just buy
the SCO Unix (spelled $$$).  I'd like to avoid that.

Thanks,

DT

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

From: [email-masked] (Delemar )
Subject: Re: UID 0 Passwd blues
Date: 07 Sep 1994 14:20:04 GMT

        Hey, what's the matter with you ?! Only ONE  user should have the 
SUID 0: root ! And only ONE person can be root: the system manager. Your car
has only one lock, right ? You may want to give second key to some friends but
only one person can drive it at a time. Anyway, you do what you want but don't
be surprised if you get problems (you found one of them, and it's just a
begining...) 

        Fortunatly there's something pertinent in this thread:

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

[...]
>In that case, the most viable option would be to get and compile sudo,
>which can be set up in order to give precisely delimited access to different
>people.
[...]

        Good luck,

                                        DELEMAR Olivier

       ******************************************************************
       * DELEMAR Olivier               | Room   : 527                   *
       * ICP/INPG                      | Phone  : 76-57-48-27           *
       * 46 Av. Felix VIALLET          | Fax.   : 76-57-47-10           *
       * 38031 GRENOBLE Cedex - FRANCE | e-mail : [email-masked] *
       ******************************************************************

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

From: [email-masked] (Jerry Ablan)
Subject: Re: [ALERT] Password problem with Linux
Date: 7 Sep 1994 09:39:05 -0500

Once upon a time, [email-masked] wrote:
: Jason Aaron Fager ([email-masked]) wrote:
: : >>Like, oh my god! It's almost like unix passwords have been only been 8 
: : >>characters for like 30 years!....
: : >>You cant be serious. 

: : >I was serious. I thought there was a problem. Sorry.

: : All of you that can't wait for Linux to surpass DOS/Windows, look well upon
: : the kind of questions you're going to get from Unix newbies.  If you respond
: : nastily to their questions, don't expect their affair with Unix to be a long
: : one.

: Well said!  This is supposed to be a community, isn't it?  Part of
: the reason that I'm getting involved in Linux is because I miss the
: spirit of the OS-9 community that I was involved in for so many years.
: We helped the newbies out patiently, and often as not, they went on to
: develop lots of wonderful things once they got the hang of things. I'm
: well known out in the real world for being quite sarcastic & having a
: bit of a caustic wit, but there's no need for that sort of thing in a
: case like this.  Save it for flaming DrOSs/Windoze types if you must
: flame, but lets not shoot ourselves in the foot...

And it (your help) does not go unappreciated. I, in fact, am new to Unix
(about 2 years). But it's all been Linux related. I've never had a password
longer than 8 characters so this, I thought, may be a problem.

--
.----------------------------------------------------------.
| Jerry Ablan               Chicago Board Options Exchange |
| Sr. Systems Developer               LaSalle at Van Buren |
| Distributed Systems Division          Chicago, IL. 60605 |
|----------------------------------------------------------|
| "I have always believed that I was slightly saner than   |
|  most people. Then again, most insane people think       |
|  this."                               -- Truman Capote   |
|----------------------------------------------------------|
| GAT: d--(?) -p+ c++++ l++ u+ c+(*) m+(++) s++/++ !n      |
|      h---(--) f+ g+++ w++ t++ r++ y**(--)                |
`----------------------------------------------------------'

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (~{B^=\R"~} Lazy Naughty Boy Brian Law)
Subject: Re: Setting ftp server in Linux!!??
Date: Wed, 7 Sep 1994 11:00:16 GMT

park hee-joon ([email-masked]) wrote:

: why is it that the contents of the dir. isn't displayed 
: even though the anonymous user issued the 'ls' or 'dir' command??
: what is it that i have to do to fix it???
: so that the files will be displayed properly ????!!!!

I think there is another reason of why the  dir and ls don't work. Maybe
that is due to file protection of the directory of the "ftp home dir". I
have experienced  that after  changing  the  protection  to u+rwx  only,
annoymous user  can't read files! by changing  that a+rx then all works!
Try it!

--
Mail me or any other way to contact me.
**************************************************************************
   *     Someone so called  as Naughty Boy  *        
   *     Someone real name  is Brian Law    *   Anyone have a 2nd hand 
   *     Someone chin name  is ~{B^=\R"~}   *   
   *     Someone username   is ma280308     *   Epson 24 pin printer?
   *     Someone studying   in ama-2        *   Please mail me for info!
   *     Someone do nothing in HKP          *   
**************************************************************************

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

From: [email-masked]
Crossposted-To: news.software.nntp
Subject: Re: inn or cnews for linux?
Date: 7 Sep 1994 08:33:25 -0400
Reply-To: [email-masked]

[email-masked] wrote:
: Hi!

: I'm trying to install a news system on my linux (1.0) which should easily 
: interact with ifmail (or at least any fido gateway software), uucp, nntp 
: and slip.

: For several reasons (mainly the included nntp) I deleted the cnews system 
: (which also was very slow on my computer) and installed the binary 
: distribution of inn for linux. Everything seemed to work fine - no problems 
: like these mentioned in the FAQs concerning innd not starting etc. 
: Everything started - with ps -jax innd is seen to run with -i0 -p4.

: I had no problems in connecting from an OS/2 computer with IBMs TCP/IP 
: installed. Reading the news works, as well as locally with tin. But posting 
: doesn't work, and in debugging with inews -h and looking at the syslog I 
: got several error messages like 'can't connect to server' etc.

: Before going into detailed posting of my configuration and error messages: 
: Can anybody tell me if I should continue with inn? I have no experience as 
: a 'newsmaster' - cnews confused me with it's complex structure and the 
: need for an external nntp package, and inn seemed to work fine first.

Stick with INN, in the long haul it's worth it.  I'm still a bit new to
it myself but would suggest that you go through your config files with a
fine tooth comb.  Look at the syntax of your hosts.nntp, nnrp.access and
hosts since these seem to be the toughest parts.  Have you read the
FAQ's on INN?  They are a must!  
-- 
===================================================================
|Chuck Mattern           | "Not failure, but low aim, is crime."  |
[email-masked] | -James Russell Lowell-                 |
===================================================================

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

From: [email-masked] (Andreas Schmidt)
Subject: Telnet...
Date: 7 Sep 1994 15:01:31 GMT

Hi outside..
maybe this is a FAQ. In case of this ... sorry!
But I can't telnet as root. Pleas give me hints to do so.

Thanx in advance...

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

From: [email-masked] (richard)
Crossposted-To: news.software.nntp
Subject: Re: inn or cnews for linux?
Date: 7 Sep 1994 13:32:38 -0400

[email-masked] wrote:
: Hi!

[inn errors, should i use inn?]

you might want to read news.software.b, including the messages i posted 
there in the last few days and the responses.

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

From: [email-masked] (Oz Dror)
Subject: fsck during boot
Date: Wed, 7 Sep 1994 05:48:53 GMT

Each time that I boot linux. fsck of the linux root partiton is performed.

I tired:

rdev -R /vmlinuz 1

and rdev -R /dev/fd0 1
for the boot floopy.

but it did not make a differece.
Shell I edit /etc/rc.d/rc.S to remove the fsck command?

-Oz
-- 
NAME   Oz Dror, Los Angeles, California
SMAIL  [email-masked]
PHONE  (213) 874-7978  Fax (213) 874-7965

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

From: [email-masked] (Zack T. Smith)
Subject: Re: Q: NFS, Linux -> Macintosh
Date: Wed, 7 Sep 1994 15:48:26 GMT

In article <[email-masked]> [email-masked] (Darko Krizic) writes:
>> Writing a client for the Mac HFS format would be more work, in part
>> because it'd be necessary to figure out what to do with the Mac's Finder
>> information and resource forks.  Probably make 'em appear as a set of
>> AppleDouble directory hierarchies, I'd think (although AppleSingle, CAP,
>> or MacBinary would be equally possible, although not equally easy to
>> implement).

The Mac emulator "Executor" creates two files for each fork when reading/
writing to a non-HFS filesystem, namely filename and %filename. I think
I would go for either the % form or an extension e.g. .rsrc.

I prefer this idea of having separate files in the same directory though
because the user has immediate access to each fork without having to look at 
different directories. Resources become just another file type and there's 
no impact on the file system. At most, "ls" might have to be tinkered with.

>It would be a good job, if somebody who is able to, would port CAP to
>Linux. That would enable the Macintosh to mount Linux-Drives, since Linux
>simulates a AppleShare-Server. As far as I understand it, The Linux-Box
>will be able to mount Macintosh-Drives, when the Macintosh has turned on
>FileSharing.

Someone is already porting CAP to Linux; I asked about this a while
back and got a response from one of the people doing it. If you'd
like I can dig up the email...

>---------------------------------------------------------------------
>Darko Krizic   Langweidenstrasse 37   60488 Frankfurt   49 69 7893687
>[email-masked]   MIME   4e71   "Powered by Motorola"
>---------------------------------------------------------------------

-- 
Zack T. Smith
Creator of MacShell, the C Shell for the Mac
Email me if you'd like a demo copy.

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

From: [email-masked] (Joerg Fries)
Crossposted-To: comp.os.linux.misc
Subject: [Q] How to create and admin Linux LAN
Date: 7 Sep 1994 15:14:03 GMT

I'am looking for some Linux admins which have experiences in installing
and managing a small (private) local network.

This is my equipment:
i486/33 20Mb, i386/25 4Mb, 2 HD (340Mb, 120Mb), 5 1/4 + 3 1/2'' floppies,
2 multisync Monitors, 2 VGA cards, 2 seriell cards, 2 mices, 2 keyboards,
a printer.
I will buy 2 Ethernet cards etc.

These are my goals: Running the i486 as an NFS server and let the
other one boot diskless via NFS (if possible, otherwise boot the kernel
by diskette). Having two X Terminals with WINE emulator running
MS-Windows (argh..). One of the two should work as a spooler/print
server.

Now my questions: Is this possible? Has anyone done this? What do I have
to buy additionaly? What should I buy? And:
        WHERE can I find DOCUMENTATION for that?

I'am happy about any help!

Send email!
Thanx for all, Joerg
--

==============================================================================
Joerg Fries
Department of Computer Science
Technical University of Darmstadt, Germany

email: [email-masked]
==============================================================================

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

From: [email-masked] (Sarr J. Blumson)
Subject: Re: middle butt of a mouse
Date: 7 Sep 1994 15:16:19 GMT
Reply-To: [email-masked]

In article <[email-masked]>, XiaoFei Wang
<[email-masked]> writes:
|> 
|> Hello, I have a true microsoft mouse with only two buttons,
|> left and right. I can use the left to copy and left+right ( emulate the
|> middle butt ) to paste, under x-window. Now my question is how
|> can I config the mouse in such a way that I can use the left
|> butt to copy and right butt to paste? 
|> 
|> I have read the 'man fvwm' and .fvwm, but did not find the answer there
|> and people on irc #linux do not know. 

What a button does in a particular window is under the control of the
program that owns that window.  So to change the button that does "paste" in
an xterm window involves fiddling with xterm resources, etc.

That probably wasn't what you wanted to hear, but I hope it helps anyway.

========
Sarr Blumson                         [email-masked]
voice: +1 313 764 0253               home: +1 313 665 9591
CITI, University of Michigan, 519 W William, Ann Arbor, MI 48103-4943

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

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