Linux-Misc Digest #466, Volume #20                Wed, 2 Jun 99 19:13:12 EDT

Contents:
  samba question ("Charles Wilkins")
  Re: SuSE vs Red Hat? ("John G. Sandell")
  log a user's inbound/outbound mail? (Joe Robertson)
  Re: AfterStep or KDE or ...? Which one? (Larry)
  Re: RH 6.0: pam_rhosts_auth -> rlogind: Out of ptys ("David Means")
  0.6 Rewrite Under Way -- Want to Help? ([EMAIL PROTECTED])
  Re: Basic setup? What do I need ? ("Lee Sharp")
  Some Questions about Dropping Existing Features ([EMAIL PROTECTED])
  Can't login after enabling shadow passwords (D C)
  Re: Is This Illegal? (brian moore)
  Re: Reinstall LILO (Paul Rowland)
  Dumped Redhat like a stale girlfriend...SuSE is for me (Paul)
  Re: Performance tuning of FreeBSD and Linux: pointers requested (Peter Mutsaers)
  Re: What are the differences between mySQL and mSQL? (Philip Brown)
  Re: What are the differences between mySQL and mSQL? (Paul D. Smith)

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

From: "Charles Wilkins" <[EMAIL PROTECTED]>
Subject: samba question
Date: 2 Jun 1999 12:52:53 GMT

Is there any way connect to the linux box using the samba service as root?
Currently, I am connecting with my user account, but I did not want to
extend root priveleges to this account.


Thanks to all who reply!
Charles Wilkins
[EMAIL PROTECTED]


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

From: "John G. Sandell" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.portable
Subject: Re: SuSE vs Red Hat?
Date: Wed, 02 Jun 1999 18:06:15 -0700
Reply-To: [EMAIL PROTECTED]

I like SuSe but with both 5.2 and 6.1, can't get printing to work
through setting it up with Yast. ANy suggestions?

John Sandell


"Robert C. Paulsen, Jr." wrote:
> 
> Keith Phillips wrote:
> 
> >
> > Now, if SuSE would only add printer support to their shipped kernel... :-)
> 
> I don't understand. I have SuSE 6.1, and had 6.0 and 5.3, all supported
> printing just fine. I imagine there would be quite an uproar if SuSE
> shipped something that didn't support printing.
> 
> ____________________________________________________________________
> Robert Paulsen                         http://paulsen.home.texas.net
> If my return address contains "ZAP." please remove it. Sorry for the
> inconvenience but the unsolicited email is getting out of control.

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

From: Joe Robertson <[EMAIL PROTECTED]>
Subject: log a user's inbound/outbound mail?
Date: Wed, 2 Jun 1999 17:14:43 -0500

Hello fellow Linux users.. I managing a linux server that a lot of users
use, and we have a certain user we suspect is doing illicit activity
through e-mail. However, he promptly cleans his sent-mail and incoming
mailbox, so we do not have any proof but the audit trails /etc/maillog
leaves(which don't tell us the contents of the message). I am wondering,
for this and for future reference, is there a way to save a copy of a
user's inbound and/or outbound mail to a file without his/her knowledge?
We're running RedHat 6.0 with kernel 2.2.5.

Thanks a bunch,
Joe


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

From: [EMAIL PROTECTED] (Larry)
Subject: Re: AfterStep or KDE or ...? Which one?
Reply-To: [EMAIL PROTECTED]
Date: 2 Jun 1999 16:26:11 -0600

On Wed, 02 Jun 1999 12:04:18 -0400, Yibing Fan <[EMAIL PROTECTED]> wrote:
>Hi Everyone,
>
>I just started to use linux a month ago.  Slowly, I am getting
>everything running my way.  I just switched to AfterStep and then I
>heard about KDE.  I read about it, and now I am confused about so many
>choices of desktop environment.  Which one do you recommend?
>
>I need a good file manager, I tried mc, xfm came with RedHat5.2 and
>later dfm.  mc still need a lot improvement to be in the same league as
>its windows counterpart.  I can't stand xfm.  dfm is OK but still fall
>short.  KDE's file manager must be great, as I read. But is that the KDE
>a resource monster?


I loaded kde some time ago and it is really a great window manager
but it is a bit of a resource hog. SO I got Windowmaker and installed 
it and am really happy with it. It has all kinds of little extra added 
attractions that you can get for it that makes it real handy. It runs in a
whole lot less memory and you can run any of kde's programs. In other words
you can run kde's file manager under Windowmaker and it works fine.

I know it sounds ridiculous to have the two window managers on the drives
but I can swap between the two any time I want to and use all of kde's 
progs under Windowmaker. When I really want to impress someone I fire up KDE 
to let them see that Linux really is as good or better than any windows 
piece of software.

But for the nicest window manager that uses the smallest amount of resources
and gets the biggest bang for the buck, try Windowmaker.

Kde apps under Windowmaker is really great if you don't mind spending the 
time and disk space getting it setup.  

My best advice is to get ALL the window managers (like I did) and try them
all. What the hell, disk space is cheap these days.   (:

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

From: "David Means" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: RH 6.0: pam_rhosts_auth -> rlogind: Out of ptys
Date: Wed, 2 Jun 1999 15:21:23 -0700


<[EMAIL PROTECTED]> wrote in message news:7irpa9$vji$[EMAIL PROTECTED]...
>
>
> RH 6.0 has some really nifty security features, which prevent me from
> logging into my machine from a remote site.
>
> The remote user gets
> rlogind: Out of ptys
> or telnetd: All network ports in use
>
> but the /var/log/message log tells me
>
> linux pam_rhosts_auth[#]: denied to username@remotemachine for user
> localuser
>
> How come the messages from pam are so informative in telling me the
> reason why a user has been denied?  (E.g., denied because user "xyz"
> does not appear in file /etc/somewhere.dot.)
>
> Now, I know about /etc/hosts.allow, and I do not think this is it.
> Could anyone please enlighten me?
>
  A friend of mine had exactly this problem, and we busted our heads for
a couple of days on it.  Go back and review the installation log, checking
for brokenness in the neighborhood of your X installation.  In our case, the
problem was that the initial fault then caused the installation to fail to
declare
any PTYs (I think), and so they sure weren't available when we tried to use
them.




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

From: [EMAIL PROTECTED]
Crossposted-To: gnu.announce,gnu.utils.bug,alt.sources.d,comp.lang.fortran
Subject: 0.6 Rewrite Under Way -- Want to Help?
Date: 2 June 1999 11:01:22 -0000

I've started the long-awaited 0.6 rewrite of GNU Fortran (g77).
This is the rewrite needed to properly support things like
intrinsics in PARAMETER statements, a `-r8' compile-time option,
and so on.

The rewrite involves pretty much all the lexing and parsing
components of the front end, but isn't expected to affect code
generation (the part of the front end that talks to the gcc back
end) much.

Even if you don't think of yourself as a compiler expert,
there are plenty of ways to help out, by researching issues,
or perhaps writing (in C) one of the few small utility programs
planned to accompany g77 0.6 (which is targeted for release with
GCC 3.0).

The following information comes from my g77 web page, which is at:

  <http://world.std.com/~burley/g77.html>

I created a CVS branch on the EGCS repository for the 0.6
rewrite of g77. The branch tag is named g77-0_6-branch, and the
branchpoint tag is named g77-0_6-branchpoint. I've already done
some sketching of the new architecture in egcs/gcc/f/ffe.texi.

To make it easier to watch the g77 0.6 rewrite progress, I'm
temporarily putting the egcs/gcc/f/ffe.texi file, which
contains, in its first section entitled "Overview of
Translation Process", the budding architectural document for
the new front end, on the "mainline" of the development tree.

This automatically causes that version of the file to be used
every 24 hours or so when the online g77 documentation is
regenerated. Currently the "Front End" chapter containing the
section on the new design ends up at this URL, though the
precise location might move if preceding portions of the g77
documentation, or the method used to convert it to HTML,
change, so if that latter link does not work, use the former:

  <http://egcs.cygnus.com/onlinedocs/g77_toc.html>

  <http://egcs.cygnus.com/onlinedocs/g77_26.html#SEC696>

If you have any questions or comments on the materials you read
at the various URLs, please let me know!

        tq vm, (burley)


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

From: "Lee Sharp" <[EMAIL PROTECTED]>
Subject: Re: Basic setup? What do I need ?
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Date: Wed, 02 Jun 1999 22:22:52 GMT

peter <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...

> I need to put together my firewall/gateway/ip masq system, what are
> the mim. requirments that I will need.
 
> I have a 486 dx 66 and a few small harddrives (420, 250, etc).

   If possible, set up two hard drives on seperate channels.  Put your swap
partition, and only your swap partition, on the faster drive and channel.
 
> Will I need to use X-windows?

   No, but install it anyway.  First, you can use it, but more importaint,
you can xhoast it to another machine, and use GUI admin tools remotely.

> Also, I have Redhat 6 and Slackware 3.5

   Try and see.  RedHat 6 has some new tools that have received
questionable reviews, like Pump, and the new libC.  However, it has a lot
of fixes...

> I'll buy another dist. if I have to.

   Shouldn't need to.  But, put in as much memory as you can.  This will
make the biggest difference in performance.

                        Lee

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

From: [EMAIL PROTECTED]
Crossposted-To: gnu.announce,gnu.utils.bug,alt.sources.d,comp.lang.fortran
Subject: Some Questions about Dropping Existing Features
Date: 2 Jun 1999 11:13:42 -0000

Does anyone use the following features when using g77 to compile
production code, or know of reasons they shouldn't be dropped in g77 0.6
(hopefully aka GCC 3.0)?

  1.  The `-fintrin-case-initcap' option, which specifies "initial-cap",
      or mixed, case for intrinsic names.  For example, requires
      "Sin" and "SqRt" to be capitalized just that way in the source code
      to be recognized as references to intrinsics.

  2.  The `-fmatch-case-initcap' option, which specifies "initial-cap"
      case for Fortran keywords.  For example, requires "Continue", "Do",
      "Block Data" to be capitalized just that way.  (Also requires
      `-fsource-case-preserve' to work properly.)

  3.  The `-fsymbol-case-initcap' option, which requires program-defined
      symbols (not Fortran keywords or intrinsics) to use mixed case.

(For any of the above to work, `-fsource-case-preserve' must be in effect.)

The `-fcase-initcap' option is a synonym for the four options mentioned
above (as well as `-fsymbol-case-initcap'), so anyone using it is using
those four as well.

If nobody's using, or planning to use, these features, it probably makes
sense to drop them now, while g77 is still officially in "beta test" mode,
so as to not have to reimplement them during the 0.6 rewrite now underway.

(Programs would still be able to use mixed case, via
`-fsource-case-preserve' -- it's the maintenance of the code and
related tables that allow g77 to *require* mixed-case names in
the source code that not only was non-trivial to design, but has
been non-trivial to support properly.  It's not yet clear whether
trying to provide some or all of these features would overly
complicate the design of the new front end, so it's possible they
could be added later, but probable that they wouldn't.)

        tq vm, (burley)


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

From: D C <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.misc,alt.os.linux,linux.redhat.install
Subject: Can't login after enabling shadow passwords
Date: Wed, 02 Jun 1999 10:52:28 -0400

I'm running Red Hat Linux release 5.0 (Kernel 2.0.32).

After I enable shadow passwords using pwconv, I can't login to the
machine.

I *thought* I no longer needer to recompile login.c, etc. (with shadow
suite) because the post version 4.2 RH Linux releases already had the
updated (shadow-aware) login.c's etc. 

What am I missing here?

TIA, (please reply with an email)

DC
(Remove "REMOVE" from email when replying.)

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

From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Is This Illegal?
Date: 2 Jun 1999 22:35:55 GMT

On 2 Jun 1999 17:51:04 GMT, 
 K Lee <[EMAIL PROTECTED]> wrote:
> Greetings!
> 
> Would making or burning copies of Redhat, Slack, SuSE or other distros CDs
> and selling them for a profit considered illegal?

Depends.  There are two (well, more really, but basically two) versions
of the above: the 'full' set that comes with commercial software, and
the 'GPL' version which is what you can get from places like Cheapbytes
for $2.

> I haven't checked out GPL yet, but I wanted to see if any of you guys knew
> out there.  Any input would be greatly appreciated.

You can sell GPL software all you want, you just have to make the source
available.  The whole point of GPL is to propogate source code.  The
real clincher is not the GPL stuff at all, but the "freebies" that get
included with the distribution (such as demo versions of backup software
and such).

As an advocate, I encourage you to buy a few of the $2 CD's from
Cheapbytes and duplicate them and distribute them until you're rich.

As a realist, though, you're not going to get rich selling GPL'd code:
you'll have to think of another angle.  Cheapbytes and others make their
money selling books and the "official" versions.  The $2 cd's are there
to act as a draw for customers.  RedHat themselves are selling support,
a book, distribution (every bookstore has a stack of RH boxes), and
"brand" ("I can trust this CD because it came from RH, so I know it
will work!").

There's pretty much zero money in just raw duplication of CD's, so
unless you have an angle like RedHat or Cheapbytes, it's not an easy way
to make money.

-- 
Brian Moore                       | "The Zen nature of a spammer resembles
      Sysadmin, C/Perl Hacker     |  a cockroach, except that the cockroach
      Usenet Vandal               |  is higher up on the evolutionary chain."
      Netscum, Bane of Elves.                 Peter Olson, Delphi Postmaster

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

From: Paul Rowland <[EMAIL PROTECTED]>
Subject: Re: Reinstall LILO
Date: Wed, 02 Jun 1999 10:13:21 -0400

David L. Bilbey wrote:
> 
> Can anyone tell me how to reinstall lilo?  I can boot with a boot disk, but
> my lilo configuration is all messed up, and I just want to start over with
> a default.  Thanks.
> 
> David Bilbey
> 
> --
> "One bad thing about Lassie, she was always warning you about something.
> Let me be surprised for a change."  --Jack Handey

This is what default should look like, depending on what device the img
is on:/dev/hd?


boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz
        label=linux
        root=/dev/hda1
        read-only

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

From: [EMAIL PROTECTED] (Paul)
Subject: Dumped Redhat like a stale girlfriend...SuSE is for me
Date: Wed, 02 Jun 1999 14:59:12 GMT

SuSE 6.1...what a deal.  After 2+ years, I finally gave up on
Redhat--paying $70 for the core software then going online for hours
to download the rest of what I wanted just wasn't for me.  SuSE had
everything I needed and about 2 gigs more (5 CDs!!).  Great setup
utility--much better than Redhat's.  Incredible deal at around $40.

The most helpful utility is their online hardware compatiblity page
(http://cdb.suse.de/cdb/english/)--
since I was in the market for a new computer, I was able to sidestep
incompatible hardware.

The 400+ page manual is incredibly informative, and provides
everything you need to get started and even covers some more advanced
topics like faxing, kernel improvement, etc.

I appreciate the publicity Redhat has given Linux, but I refuse to pay
$70 for slick marketing and commercialism.

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

From: Peter Mutsaers <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: Performance tuning of FreeBSD and Linux: pointers requested
Date: 02 Jun 1999 23:44:40 +0200

>> "LT" == Linus Torvalds <[EMAIL PROTECTED]> writes:

>> And if you tune both of them properly (esp. FreeBSD's default settings
>> are very conservative and safe but not fast) FreeBSD wins easily when
>> it comes to disk I/O.
    >> 
    >> Any pointer on the "proper tuning" of FreeBSD disk I/O wise?

    LT> I think the tuning Peter is alluding to is the "make up the
    LT> numbers in your own head" kind of tuning.  The advantage of
    LT> that kind of tuning is that you don't have to bother with the
    LT> boring things like actually validating the results, so you get
    LT> done much more quickly, and the numbers are better too.

OK, I redid my tests I did 6-12 months ago. So to proof that it's not
"make up the numbers in your own head" kind of tuning here are some
numbers. I must say that something has changed in Linux since
2.1.whatever that results in big improvement, and overall there's not
much difference between Linux and FreeBSD anymore.

I suspect it is the IDE-drive write buffer cache that is on by default
now, but when I disable it (hdparm -W0 ...) performance drops to
numbers that I was used to before.

On my 128MB PII-350 machine, with a recent 10Gig Maxtor UDMA drive.
FreeBSD current as of yesterday. Linux Slackware 4.0 with 2.2.7
kernel. All tests were done on a (per test) freshly made filesystem,
each on the same disk partition (slice). FreeBSD's filesystem was
mounted asynchronously.

hdparm setting for Linux: -c1 -m16 -u1 -W1 

FBSD has DMA turned on, and maximum multi-sector I/O set (16), 32 bit
transfers.

So, the IDE related settings for both are equal.

Numbers are the best results out of five tests.

                  FBSD  write  read         Linux write read
iozone 128 512 :        12.1   12.4               11.3  12.1    (MB/s)
       128 8192:        11.8   12.4               11.3  13.1
                                                   4.7  12.0 with -W0!!

bonnie:

             -------Sequential Output-------- ---Sequential Input-- --Random--
             -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine   MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
freebsd  128 12264 68.8 12270 24.9  3654  9.1 12137 73.7 12155 17.1 608.8  8.9
linux-op 128 13189 94.9 17580 23.7  4463 12.2  8666 43.5 11651 11.1 651.5  5.4
linux    128  8034 57.6 12377 15.9  3221  8.6  6612 34.5  8440  7.9 757.0  6.8


'linux-op' is 'optimized' linux (hdparm settings).

'linux' is default linux, thus no DMA, no multi-I/O, -W1 (which is
default) -u0 (in fact I guess -u1 which enables interrupts during disk
I/O doesn't help this benchmark, but is a normal setting to keep your
system responsive during disk I/O).


Note that the Block output on Linux measuring in bonnie is not
good. 17.5 MB/s exceeds the theoretical limit of the disk and also
iozone's performance. Block input seems consistent with Iozone.

In general the characteristics of FreeBSD and Linux match closely,
except FreeBSD's C library apparently handles per-character I/O better
(not really important though). Note that using Slackware-4 I'm using
libc-5, I don't know how glibc2 would do. Linux has (at least for
block input and random access) lower CPU usage.


Apparently, for UDMA drives, both in CPU usage and in performance
there's not much reason anymore to choose for Linux or FreeBSD. Both
get about the maximum performance out of this type of hardware. In
this area Linux has caught up with FreeBSD, compared to 6-12 months
ago.


-- 
Peter Mutsaers |  Abcoude (Utrecht), | Trust me, I know
[EMAIL PROTECTED]  |  the Netherlands    | what I'm doing. 
===============+=====================+==================
Powered by FreeBSD (-current). See http://www.freebsd.org

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

From: [EMAIL PROTECTED] (Philip Brown)
Crossposted-To: 
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.setup,comp.lang.java.databases
Subject: Re: What are the differences between mySQL and mSQL?
Reply-To: [EMAIL PROTECTED]
Date: 02 Jun 1999 22:07:12 GMT

On 02 Jun 1999 10:56:17 -0400, [EMAIL PROTECTED] wrote:
>%% Frank <[EMAIL PROTECTED]> writes:
>
>  f> Ruiming Chen wrote:
>
>  >> The Subject askes its all. Are they the same free database software
>  >> with two names?  Or they are two different free database software?
>  >> Are they both run on Linux?
>
>They are two different databases.  Neither is 100% free.  mSQL is
>_significantly_ less than 100% free.  MySQL is free for the large
>majority of uses.  They both run on Linux (and most other UNIX
>platforms, as well as Windows).

of course, if you have the disk space, sybase for linux is 100% free, last
time I checked.



-- 
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
 --------------------------------------------------
The word of the day is sescaquintillion

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

From: [EMAIL PROTECTED] (Paul D. Smith)
Crossposted-To: 
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.setup,comp.lang.java.databases
Subject: Re: What are the differences between mySQL and mSQL?
Date: 02 Jun 1999 10:56:17 -0400
Reply-To: [EMAIL PROTECTED]

%% Frank <[EMAIL PROTECTED]> writes:

  f> Ruiming Chen wrote:

  >> The Subject askes its all. Are they the same free database software
  >> with two names?  Or they are two different free database software?
  >> Are they both run on Linux?

They are two different databases.  Neither is 100% free.  mSQL is
_significantly_ less than 100% free.  MySQL is free for the large
majority of uses.  They both run on Linux (and most other UNIX
platforms, as well as Windows).

  f> This are two different products:

  f> mSQL: www.hughes.au
  f> mySQL: www.tcx.se

  f> They are pretty similar and it is hard to say, which one is better.
  f> Have a look at there websites, they can tell you why they are
  f> better.

It's not that hard to say, really.  MySQL is without question better
(obviously in some sense this depends on what you need, but certainly
MySQL meets a much wider spectrum of needs than mSQL).

MySQL is a much more complete implementation of SQL, it's easier to
manage, has much better support, even if you don't buy a support
contract, has a much better license (see below), and is faster than
mSQL, often significantly [*].

mSQL isn't free at all.  Although you do get the source code and build
mSQL yourself, the licensing is very strict: unless you are a non-profit
organization or an educational institution, you _must_ buy a license
from Hughes to use mSQL in any capacity.

  
http://support.Hughes.com.au/cgi-bin/hughes?solution&11-970715-0000&130-868988450&14-0&15-3&25-&3-&30-

MySQL, while not free in some senses of the word, is _almost_ free (on
non-Windows platforms, anyway).  The client is GPL'd.  The server
license allows you to do anything you want with the server and use it
any way you like without purchasing a license, _except_ you can't resell
the server in a product.  For example, you are allowed to create
commercial web sites using MySQL, etc., and you don't need a license for
that.  You just can't build a new product around the server and sell
that, without a license.

There's a comprehensive comparison of both features and performance on
the MySQL web site.  They have a nice regression and performance test
suite which is free, so you can easily test for yourself if you like.

[*] The mSQL folks have accused the performance statistics in the test
    suite as being skewed in MySQL's favor, but I've not seen any
    alternate tests or comprehensive benchmarks--I have hoped they'd add
    tests to MySQL's crash-me suite to illustrate this.

-- 
===============================================================================
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
   These are my opinions---Nortel Networks takes no responsibility for them.

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


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