Linux-Misc Digest #676, Volume #20               Thu, 17 Jun 99 18:13:09 EDT

Contents:
  Re: NT cross compiler for Linux (Rod Roark)
  Re: Linux time - human readable form? (Glenn)
  Re: SUID programs: are they normal? (Mike Khalili)
  Re: Block error question (Scott Lanning)
  Re: NT the best web platform? (Anthony Ord)
  Re: Finding historically the number of seconds a user was logged in (Marc Mutz)
  Re: Using .htaccsess and .htpasswd (Chris Menzel)
  Re: kernel 2.2.9 and 2.2.10 can cause massive ext2-corruption ? (Marc Mutz)
  kernel booting woes ([EMAIL PROTECTED])
  Re: A Capitalists view of freedom (Matthias Warkus)
  Re: Default Raid Setup (Marc Mutz)
  Re: Commercially speaking....? (John Winters)
  Re: ftape fails on SuSE 6.1 (2.2.7 kernel) (Rob Komar)
  Apache =! resolv.conf, HOSTNAME  (gordo)
  Re: Auto Login and start app (ZioBudda)
  Re: NT cross compiler for Linux ([EMAIL PROTECTED])
  Re: Problem : gmake LICQ 0.61 gives : undefined reference to ........ (9wands)

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

From: Rod Roark <[EMAIL PROTECTED]>
Crossposted-To: gnu.gcc.help,gnu.g++.help,alt.linux
Subject: Re: NT cross compiler for Linux
Date: 17 Jun 1999 21:21:09 GMT

[EMAIL PROTECTED] wrote:
>I am looking for a version of g++ that runs on Windows NT but is able to
>produce executables for Linux on an x386.  That is, I am looking for a
>Windows NT cross compiler for Linux.  Does anyone know if one
>already exists?  Has anyone done this before?

I can't see much demand for this.  Seems like it would be cheaper / 
easier / faster / more flexible to get a separate Linux box.  You can 
use Telnet and Samba to get everything done from the NT workstation, 
with an extra CPU for improved productivity.

-- Rod
======================================================================
Sunset Systems                           Preconfigured Linux Computers
http://www.sunsetsystems.com/                      and Custom Software
======================================================================

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

From: Glenn <[EMAIL PROTECTED]>
Subject: Re: Linux time - human readable form?
Date: Thu, 17 Jun 1999 12:58:01 -0400

Great, exactly what I was looking for.

Thanks guys,
Glenn
=======



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

From: [EMAIL PROTECTED] (Mike Khalili)
Crossposted-To: comp.os.linux.security
Subject: Re: SUID programs: are they normal?
Date: 17 Jun 1999 18:13:38 GMT
Reply-To: [EMAIL PROTECTED]

On 17 Jun 1999 17:27:27 GMT, Ben Slusky <[EMAIL PROTECTED]> wrote:
>Ben Armstrong ([EMAIL PROTECTED]) wrote:
>: Without specific examples of why suidperl/sperl are good or bad, it is
>: hard to make an informed decision based on just these comments.
>
>Ok...
>
>suidperl/sperl (they're the same thing; on my RedHat machine they're
>hardlinks) is invoked when you run a setuid or setgid Perl script. It
>automatically enables taint-checking, as well as /dev/fd checks (in the
>process making sure you're running an actual script, not just giving
>it stuff on the command line). 'man perlsec' for more details.
>
>This is one of the things Perl is good for: situations when you want
>a setuid program that would be clumsy to write in C and dangerous to
>write in shell. Unless you're sure that you're never going to use a
>setuid Perl script (and I wouldn't be too sure), don't delete
>these.

I'd take the opposite approach.  Don't run them until you have a good reason
to.  If you have a suid perl script that you can't live with out, then sperl
is a necessary evil.  If you don't, don't install it.  

Personally, I am pretty sure I won;t have any suid perl scripts since I
don't know perl, and probably would just use C for everything anyways.  Many
users of linux nowadays are either not programmers, or not perl people, so
expecting that the majority of people will want to run suid perl scripts is
a bit strange to me.

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

From: [EMAIL PROTECTED] (Scott Lanning)
Subject: Re: Block error question
Date: 17 Jun 1999 21:31:18 GMT

Walter L. Williams ([EMAIL PROTECTED]) wrote:
: accidentaly. I am now having a problem with block errors during
: boot up on hda1, which is my root partition.
:
: It will state during boot up that I have a bad block and that I
: should run "fsck" manually. Which I do. It says that block 40893
: has an error but wants to know if it should ignore it. If I tell
: it no it will quit and do nothing further. If I tell it yes, it
: will skip that problem and go to other items if they exist. This
: happens about every other boot up.

Weird. First, you're shutting down properly, yes? (just checking..)
May I ask what you mean by running fsck manually? In particular,
is it something like:

fsck -V / ; echo == $? ==

That says verbose mode, check root filesystem; then echo a
number between pairs of equals signs. That number gives the
outcome of fsck. If less than 4, all should be okay. In particular,
1 means the errors were corrected, 2 means you should reboot,
4 means errors weren't correct.

There are some other options besides reinstalling root partition.
Hopefully someone more knowledgeable about this responds, though.

--
Scott Lanning: [EMAIL PROTECTED], http://physics.bu.edu/~slanning
"If lightning is the anger of the gods, the gods are concerned mostly
with trees." --Lao Tse

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

From: [EMAIL PROTECTED] (Anthony Ord)
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: Thu, 17 Jun 1999 17:13:02 GMT

On Thu, 10 Jun 1999 18:25:23 -0700, "Chad Mulligan"
<[EMAIL PROTECTED]> wrote:

>
>Chewbury Gubbins wrote in message <[EMAIL PROTECTED]>...
<snip>
>>How many servers are required to dual boot?
>
>Some in testing environments (low budget variety)

You have a test machine with real data that you wish to keep
on? Brave...

Regards

Anthony

>>
>>CG
>>
>>--
>>Sir Chewbury Gubbins, Knight of the Wholly Gnarly Widget
>>MOC#7 BOG#1 etc etc
>>http://www.nelefa.org
>

-- 
=========================================
| And when our worlds                   |
| They fall apart                       |
| When the walls come tumbling in       |
| Though we may deserve it              |
| It will be worth it  - Depeche Mode   |
=========================================

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

Date: Thu, 17 Jun 1999 22:41:47 +0200
From: Marc Mutz <[EMAIL PROTECTED]>
Subject: Re: Finding historically the number of seconds a user was logged in

Paul Wickham wrote:
> 
> Hi
> 
> Does anyone know if the number of seconds that a login session lasted is
> recorded anywhere. We want to be able to produce a monthly report which
> shows every session that a user started and the number of seconds that the
> session lasted. Similar to the last command, but unfortunately last only
> records the number of minutes, which is a bit too imprecise for our purposes.
> Incidentally the sessions we are trying to record
> Can anyone give me some suggestions?
> 
> Regards
> 
> Paul Wickham
last (a command :-)

Marc

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

From: [EMAIL PROTECTED] (Chris Menzel)
Subject: Re: Using .htaccsess and .htpasswd
Date: 17 Jun 1999 15:31:45 -0500
Reply-To: [EMAIL PROTECTED]

On Tue, 15 Jun 1999 20:51:35 GMT, R.Joseph <[EMAIL PROTECTED]> said:
> I write CGI for a web design firm, and I know that and .htaccsess file
> or and .htpasswd file can be placed in a directory to block accsess to
> it to only thoose with a password, but I don't know how I would go
> about setting up one of these files, and I don't know which file to
> use!  Any help is greatly appreciated!

$ man htpasswd

DESCRIPTION
       htpasswd  is used to create and update the flat-files used
       to store usernames and password for  basic  authentication
       of  HTTP users.  Resources available from the httpd Apache
       web server can be restricted to just the users  listed  in
       the  files  created by htpasswd.  This program can only be
       used when the usernames are stored in a flat-file. To  use
       a DBM database see dbmmanage.

       This  manual  page  only lists the command line arguments.
       For details of the directives necessary to configure  user
       authentication  in  httpd  see the Apache manual, which is
       part of  the  Apache  distribution  or  can  be  found  at
       http://www.apache.org/.
OPTIONS
       -c     Create   the   passwdfile.  If  passwdfile  already
              exists, it is deleted first.

       passwdfile
              Name of the file to contain the user name and pass-
              word.  If  -c  is given, this file is created if it
              does not already exist, or deleted and recreated if
              it does exist.

       username
              The  username to create or update in passwdfile. If
              username does not exist is this file, an  entry  is
              added. If it does exist, the password is changed.

SEE ALSO
       httpd(8)

                          February 1997                         1



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

Date: Thu, 17 Jun 1999 22:46:24 +0200
From: Marc Mutz <[EMAIL PROTECTED]>
Subject: Re: kernel 2.2.9 and 2.2.10 can cause massive ext2-corruption ?

peter wrote:
> 
> I just received a warningmessage about this topic ?
> someone knows something about this topic ?
> 
> I personally experienced massive ext2-troubles in the last weeks but I
> thought it is due to murphys law that two harddisks will failure within
> one week ...
> 
2.2.8 had a problem if you ran update/bdflush daemons. According to
kernelnotes.org, kernel newsflash and KernelTraffic this problem is
fixed in 2.2.9.

Marc

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: kernel booting woes
Date: Thu, 17 Jun 1999 21:35:55 GMT

hi there

        i cant get a new kernel to boot , any obvious (to you) errors here in
this configuration??





first my machine

asus p2b  motherboard
pentium 2 @ 450 mhz
matrox millineum 2 pci 4 meg video card
western digital caviar umda 6.4 gig hd 
nec 40x crdom  udma
adaptec 2940 uw scsi card   card    id 0
yamaha 4416s cdrw  scsi    only scsi device  id 1 
conner 800 qic80 tape drive 
sblaster vibra16x pnp sound card   
usr sportster model 5685  v evertyhing voice modem 
64 meg pc100 ram
zip 100  parallel port zipdrive
epson stylus color 640
plustec optic pro 600p parallel port flatbed scanner
nec floppy drive



i want to set it up as a stand alone machine with dialup ppp access to
the web






the kernel config:          *=selected   m=module ,        if not here
i didnt use it  


LANGUAGE FOR KERNEL CONFIGURATION----->  english

CODE MATURITY LEVELS-----> * 

PROCESSOR TYPE AND FEATURES----->
   pentium/k6/tsc  processor family  
* kernel math emulation
* mtrr control and configuration

LOADABLE MODULE SUPPORT----->
* enable loadable module support
* set version info on all symbols for modules
* kernel module loader support

GENERAL SETUP----->
* network support
* pci support
(any) pci access mode
* pci quirks
* backwards-compatible /proc/pci
* system V ipc
* bsd process accounting
* sysctl support
M kernel support for   a.out binaries
M "    "   "   "    "   "   elf  binaries
M "  "   "   "   "          misc
M "   "   "    "    "       java
M  parallel - port  support
M  pc-style hardware


PLUG AND PLAY SUPPORT ------>
* plug and play support
M auto-probe for parallel devices


BLOCK DEVICES------>
M normal pc floppy disk support
M enhanced ide/mf/rll  disk/cdrom/tape/floppy   support
M include ide/ata-2 disk support
M include ide/atapi cdrom support
M include ide/atapi tape support
M include ide/atapi floppy support
M scsi emulation support
* cmd640 chipset  bugfix/support
* cmd640 enhanced support
* rz1000 chipset bugfix/support
* generic pci ide chipset support
* generic pci busmaster dma support
M loop  device support
M parallel port ide device support
M parallel port ide disks
M parallel port atapi cd-roms
M parallel port atapi disks
M parallel port atapi tapes
M parallel port generic atapi devices


NETWORKING OPTIONS----->
* packet socket
* kernel /user network link driver
* routing messages
* netlink device emulation
* unix domain sockets
* tcp/ip networking
* syn flood protection
* ip! allow large windows ( not recommended if < 16 mb of memory)
* the IPv6 protocol


SCSI SUPPORT---->
M scsi support
M scsi disk support
M scsi cdrom support
M scsi generic support
* probe all luns on each scsi device
* verbose scsi error reporting (kernel size+=12k)
SCSI LOW LEVEL DRIVERS---->
M aadaptec aic78xxx chipset scsi controller support
M iomega parallel port (ppa-older drivers)


NETWORK DEVICE SUPPORT------>
* network device support
M dummy net driver support
M ppp (point-to-point) support
M slip (serial line) support


CHARACTER DEVICES----->
M standard/generic serial support
M parallel-printer support
* support IEEE1284 status readback
* mouse support (not serial mice)
MICE---->
* ps/2 mouse (aka "auxillary pointing device) support
* enhanced real time clock support
FTAPE, the floppy tape device driver---->
M floppy tape drive (qic-80/40/3010/3020/tr-1/tr-2/tr-3) support
M the filesystem interface ftape
* procfs entry for ftape


FILESYSTEMS---->
* quota support
M kernel automounter support
M fat fs support
M msdos fs support
M umsdos !  unix like fs ontop of msdos fs
M vfat fs support
M iso9660 fs support
* microsoft joliet cdrom extensions
M minix fs support
M os/2 hpfs fs support
* /proc fs support
M second extended fs support


NETWORK FILESYSTEMS----->
M coda fs support
* nfs fs support
M smb fs support
* smb win95 bug workaround


PARTITION TYPES---->
* bsd disklabel (freebsd partition table) support
* smd  "   "   (sun  partition table) support
* solaris "   " (x86  "    "    "   ) support

NATIVE LANGUAGE SUPPORT---->
* nls codepage 437
* nls codepage 850


SOUND----->
M soundcard support
M oss sound modules
M 100% soundblaster compatible (sb16/32/64,ess,jazz16) support



then
make dep
make clean
make zImage
make modules
make modules_install
make zlilo



seemed to compile ok

vmlinuz.out current>zImage
root device is (3,5)
boot sector 512 bytes
setup is 1272 bytes
system is 376 kbytes
make[1]:leaving directory '/usr/src/linux-2.2.7.SuSe/arch/i386/boot'



but won't boot


tried a bunch of other stuff also
wont boot


any ideas???
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Matthias Warkus)
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: A Capitalists view of freedom
Date: Thu, 17 Jun 1999 21:03:53 +0200
Reply-To: [EMAIL PROTECTED]

It was the Thu, 17 Jun 1999 09:27:08 -0700...
..and [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Thu, 17 Jun 1999 13:45:48 +0200, Matthias Warkus <[EMAIL PROTECTED]> wrote:
> >It was the Wed, 16 Jun 1999 13:36:21 -0700...
> >...and [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >>    Obviously, since you don't seem to have any problem
> >>    with the fundementally anti-democratic notion that
> >>    the general population can't be trusted.
> >> 
> >>    Today the gun, tomorrow the ballot box.
> >
> >Yesterday the nuke. The big bad guvmint has got nuclear weapons! Why
> >don't they let us have them? You need to draw the border somewhere.
> 
>       Shrinking borders simply aren't acceptable.

This border doesn't work like the border around a country. Try again.

(BTW, sometimes even shrinking national borders do good. Look at the
contracts Germany made in 1970, forever abandoning the chance to get
the Eastern Territories back. They helped prevent nuclear war like
anything that causes a detente.)

-- 
Think!

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

Date: Thu, 17 Jun 1999 22:43:27 +0200
From: Marc Mutz <[EMAIL PROTECTED]>
Subject: Re: Default Raid Setup

eddycheung wrote:
> 
> It seems that RAID5 will be included by default where I install Redhat
> 6.0 . How can I do to remove it and install as RAID1 ?
> 
compile new kernel and disable unneeded raid levels. No easy way to
convert raid5 to raid1 :-(

Marc

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

From: [EMAIL PROTECTED] (John Winters)
Crossposted-To: comp.os.linux.advocacy,comp.os.msdos.misc,uk.comp.os.linux
Subject: Re: Commercially speaking....?
Date: 17 Jun 1999 22:32:54 +0100

In article <[EMAIL PROTECTED]>, 9wands  <[EMAIL PROTECTED]> wrote:
[snip]
>The truth of the matter is that Win9x/NT is a GUI layered on top of a
>highly complex OS, much like Linux and X.

Not quite - there are three different cases here:

Win9x: A GUI layered on top of a primitive OS-alike, the two together
       making something which closely approximates an OS.

NT:    A GUI lashed into what would otherwise be quite a nice
       full-featured OS.  Unfortunately layering is something which
       is conspicuously absent, meaning that the GUI significantly
       detracts from the usefulness of the OS.

X:     A GUI genuinely layered on top of a fully functional OS.

John
-- 
John Winters.  Wallingford, Oxon, England.

The Linux Emporium - a source for Linux CDs in the UK
See <http://www.polo.demon.co.uk/emporium.html>

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

From: [EMAIL PROTECTED] (Rob Komar)
Subject: Re: ftape fails on SuSE 6.1 (2.2.7 kernel)
Date: 17 Jun 1999 18:29:29 GMT

Allen Ashley ([EMAIL PROTECTED]) wrote:
: I recompiled the kernel enabling ftape QIC-80 support and
: my system does not recognize any mt commands or direct operations
: on /dev/rft0. The boot messages indicate that ftape is installed
: and initialized, but I get the error message "Operation not
: supported by device" when I try to access /dev/rft0.
: 
: I tried compiling the kernel with and without zftape and
: the results were not changed.
: 

Try using /dev/qft0 instead of /dev/rft0.  /dev/rft0 is only
for reading tapes written with the old ftape drivers now.

Cheers,
Rob Komar

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

From: [EMAIL PROTECTED] (gordo)
Crossposted-To: comp.os.linux.setupcomp.os.linux.m68k,comp.os.linux.questions
Subject: Apache =! resolv.conf, HOSTNAME 
Date: Thu, 17 Jun 1999 17:30:29 GMT

 I'm getting comfused over the way the OS +
Apache use the resolv.conf file.

I've used the linuxconfig utility for this and i'd like to stop using
it at this point. What conf files for the OS need to be edited? 

I can get the web server running but when I request a page from
Netscape, it claims it's "busy". The web server claims it needs a
SERVERNAME to work. I gave it that in the httpd.conf (contrary to what
the apache doc said)

All I want is to run the web server as stand-alone.  should this be
blank?

Please help. i really want to be a stronger linux user and become
independent of windows.


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

From: ZioBudda <[EMAIL PROTECTED]>
Subject: Re: Auto Login and start app
Date: Thu, 17 Jun 1999 15:25:11 +0200
Reply-To: [EMAIL PROTECTED]

On Wed, 16 Jun 1999, James Crawford wrote:

> I'm fairly new to Linux, running Red Hat 6.0, how do you autologin a
> workstation and start an x app to boot?  I have a certian application for a
> pc and that is all it will be used for.

You can not to autologin in a workstation but you can load all apllication
that you want if you insert the exact path+name_program in the file
$HOME/.xsession

ciaoz

Ho sentito urla di sudore... che schifo...
--
Michel <ZioBudda> Morelli                 [EMAIL PROTECTED]
                                        http://ziobudda.enter.it
Italian Linux FAQ                  http://ziobudda.enter.it/FAQ/


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

From: [EMAIL PROTECTED]
Crossposted-To: gnu.gcc.help,gnu.g++.help,alt.linux
Subject: Re: NT cross compiler for Linux
Date: Thu, 17 Jun 1999 20:47:31 GMT



I am using gcc from the Cygwin B20.1 release.  I posted another message
entitled "Problems buildling cross compiler" in this same group
detailing what I've tried so far...  I'll just refer everyone to that
post so that I don't repeat everything here.

Thanks again,
Curt


In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> What are you using to compile the cross compiler?
>
> It might help to use an NT compatible gcc for the compile of the cross
> compiler.  Go to the DJGPP project site at: www.delorie.com and
> download the DJGPP port of 32bit gcc.  It runs in 32bit mode and
> produces 32bit executables.  It may be that your WinNT C compiler is
> just not robust enough to compile GCC!
>
> Art S. Kagel


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: 9wands <[EMAIL PROTECTED]>
Subject: Re: Problem : gmake LICQ 0.61 gives : undefined reference to ........
Date: Thu, 17 Jun 1999 16:19:10 -0500

hihihi wrote:
> 
> I am trying to install Licq 0.61
> 
> After gmake, i get this :
> 
> licqgui.o: In function `CMainWindow::resizeEvent(QResizeEvent *)':
> /home/user/effe/1/licq-0.61/src/licqgui.cpp:486: undefined reference
> to `QWidget::setMask(QBitmap)'
> 
> And a same error in lsrc/mledit.cpp:652
> 
> Does any one know what the problem is.. ???
> 
> --
> Een paar praktische LINUX Red Hat 5.1 antwoorden
> http://www.casema.net/~hihihi/linux.htm

It appears you may not have the Qt library (required by licq) installed
or your version of Qt is not compatible with the one licq was written
to.

Regards,

-- 
Beware the fury of a patient man.

                - John Dryden

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


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