Linux-Misc Digest #116, Volume #27               Thu, 15 Feb 01 10:13:03 EST

Contents:
  Re: Unable to handle kernel NULL pointer (M. Buchenrieder)
  Re: .htaccess (Carl Fink)
  Samba 2.0.7/RH7.0 and W2K ("Meron Lavie")
  Re: Booting Linux on  Windows Computer. (Terence Hoosen)
  Re: Java Port ("Nils O. Sel�sdal")
  Re: Software RAID on ReiserFS (?) (Ernst Sexauer)
  Re: DPT SmartRAID VI on BIG server ("Doug Forbush")
  Re: How to get Users to create files with another group as owner?? (Mark Bratcher)
  Re: need a app to erase a cdrw
  Re: Mail Server Newbie ("James Horvath")
  Re: exec hangs from .bash_profile ("Mark Winsor")
  Re: need a app to erase a cdrw (Steve Gage)
  Re: ksh script problem: pwd works differently for ksh then linux binary file (Dan 
Mercer)

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

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: Unable to handle kernel NULL pointer
Date: Thu, 15 Feb 2001 07:28:08 GMT

[EMAIL PROTECTED] (Carsten Huettl) writes:

[...]

>Memory seems to be OK.

Oh, really.

>I have tested RAM with AMI DIAG 4.51

Then it must be true, of course.

>Found no Problems.
>C.

Use memtest instead. Or try to build a kernel. If it barfs
out with a "sig 11" error, then either your RAM is damaged,
the processor overclocked or the cooler fan not working.

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

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

From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: .htaccess
Date: 15 Feb 2001 12:12:28 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 15 Feb 2001 08:37:46 +0100 JJ <[EMAIL PROTECTED]> wrote:
>
>If a have password protected site with htaccess, can I get the user id in
>pages which are protected (I am using JSP) for logging?

That is not a Linux question.  You might ask in
comp.infosystems.www.servers.unix.
-- 
Carl Fink               [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>

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

From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup,comp.protocols.smb
Subject: Samba 2.0.7/RH7.0 and W2K
Date: Mon, 12 Feb 2001 07:37:24 +0200

I have Samba 2.0.7 running on RH7.0.

I have a dual-boot (W2K/WinMe) PC on the same LAN. I gave each OS its own
computer name and IP. Both OS's and the Linux have both IPs and host names
appearing in their HOSTS file.

Both W2K and WinMe can see and access shared directories on the Linux via
Samba wioth no problem (I enabled un-encrypted passwords on both).

However, only the WinMe can succesfully logon to the domain.

I get the following error messages: "Failed due to process number out of
range" or "credentials already exist".

What am I doing wrong?

--
Meron Lavie
www.redmatch.com - World's Largest Hi-Tech Salary Site
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!







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

From: Terence Hoosen <[EMAIL PROTECTED]>
Subject: Re: Booting Linux on  Windows Computer.
Date: Thu, 15 Feb 2001 13:09:18 +0000

Harsh Strider wrote:
 >

> The installation of Linux went fine and then the computer rebooted,
> however I never get to boot into any OS. This is the line that I get:
> 
> Low Level BASH line editor Initiated:
> 
> and then I get this prompt
> 
> grub>
>

Did you try anything at the grub prompt?
If it's anything like lilo (not that it should or shouldn't be - I've 
never used grub myself), you type in the OS name or kernel name you want 
booted up.

-Tez


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

Reply-To: "Nils O. Sel�sdal" <[EMAIL PROTECTED]>
From: "Nils O. Sel�sdal" <[EMAIL PROTECTED]>
Subject: Re: Java Port
Date: Thu, 15 Feb 2001 14:13:52 +0100


"Jan Schaumann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> * olliecat wrote:
> > Cam someone tell me what the most recent golden release of the java sdk
> > for Linux is, if there is one?
>
> http://java.sun.com
> http://www.google.com
>
> The latest Java SDK from Sun is SDK 1.3, which also is named j2sdk1.3,
> as sun made so many changes since the 1.2 release that they now call it
> "Java 2", even though the /SDK/ is 1.3.
>
> All this is not very well hidden on the obscure websites I named above,
> that, miraculously, are available to everybody.
And i can recomend www.blackdown.org, that got a 1.3 sdk based on the
1.3_001 sources from
Sun.




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

From: Ernst Sexauer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Software RAID on ReiserFS (?)
Date: Thu, 15 Feb 2001 14:04:46 +0100



Donovan Rebbechi schrieb:

> I'm wondering if anyone's tried configuring a software RAID on ReiserFS.
>
> We're currently using software RAID (5) with 4 IDE drives. The problem
> with putting the RAID on ext2 is that it takes forever to boot up
> if there's a power outage (it causes about 2 hours of downtime)
>
> I'd be interested to know if anyone's done this.
>

To my knowledge (dec-2000) you can configer Reiserfs with Sw-raid. It may
work, but may produce spurious errors. If you have valuable data (otherwise
you would not want raid) be cautious...

Best regards

E.R. Sexauer


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

From: "Doug Forbush" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: DPT SmartRAID VI on BIG server
Date: 15 Feb 2001 13:30:35 GMT

: That is very strange. At what point does initialization fail, as you put it ? 
: Do you
: actually see 'DPT RAIDx' ( where x is the raid number ) on the DPT
:  banner  ( in place of the brand name and model number of the
: your SCSI drives )  when you boot the machine ? How did you build the array ?

During the linux boot..  BIOS sees it just fine, I can go into the DPT
bios and see all the drive specs, etc..  No hardware setup problems..
When the i2o driver tries to initialize, it can't see the raid..  I can
get 2G with no raid, or 960M (or less) WITH the raid, so I'm positive
it's a conflict..  The hardware is set up fine, because it works under
lower ram conditions..  There's 10 18G drives that show up in the os as
1 giant ~140G drive..  It's all HW raid, so the os doesn't even know the
difference.. It just thinks there's one big scsi drive there..  When I
put the 
        append="mem=2048M"
(or anything higher than 960) line in lilo.conf and run lilo, I get a non
descriptive 'i2o init failure' msg, then since there's no drive/fs's, I
get the 'fix your fs's' prompt and it stops the rest of the startup
scripts & dumps me to the prompt..

I've been looking around, and found stuff about old linux versions and a
960M limit on ram..  I wonder if this driver was made before the limit
was broken, so the driver assumes that 960M would be a good place to put
itself in ram, then 2G of ram comes along and blows it up.. I dunno..

doug

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

From: [EMAIL PROTECTED] (Mark Bratcher)
Subject: Re: How to get Users to create files with another group as owner??
Date: Thu, 15 Feb 2001 13:57:36 GMT

Dan,

The manual page for chmod explains it, but very tersely.

Basically, if you have a directory called "foo" you would do:

chmod g+s foo

Then the permissions on foo would look something like:

drwxrwsr-x ...

(assuming the other permissions were already set up as you liked).
Note the 's' in the group field. In octal, these permissions
are 2775 (the suid bits are in the highest order octal digit).

Now, any time a file is created under "foo", it will get the same
group assigned regardless of the user's default group.

To ensure that files and subdirectories have the correct permissions,
then you need to make sure the users have a proper umask (if doing
operations under Linux), or that Samba config is set up with the
permissions you want (if accessing from Windows clients).

Mark

In article <[EMAIL PROTECTED]>, Dan Smith wrote:
>No, I think that might do the trick...  How do I learn more about the 
>SUID bit?  I don't understand what's going on...
>
>I'll give it a try... Thanks!
>
>--Dan
>
>
>In article <[EMAIL PROTECTED]>, 
>[EMAIL PROTECTED] says...
>> In article <[EMAIL PROTECTED]>, Dan Smith wrote:
>> >Hi,
>> >
>> >I need to make it so that when a user (member of group A) creates a 
>> >file, the ownership is: user.groupB.  I need to make the group owner NOT 
>> >their group, but another one (so a group of semi-admins can access their 
>> >stuff)..
>> >
>> >How do I do this???
>> >
>> >Thanks!
>> >
>> >(I would prefer an email to ds37577!@!appstate!.!edu <remove ! chars>)
>> 
>> Dan,
>> 
>> There is one way that I'm familiar with (not that other ways don't exist)...
>> 
>> If the files under a particular directory are to be of the same group,
>> you can cause those files to always take on the group of the parent directory
>> by setting the SUID group bit in the directory. In other words,
>> 
>> chmod g+s directory_name
>> 
>> This might be too narrow a scope to solve your problem...
>> 
>> 


-- 
Mark Bratcher
To reply, remove both underscores (_) from my email name
===========================================================
Escape from Microsoft's proprietary tentacles: use Linux!

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

From: <[EMAIL PROTECTED]>
Subject: Re: need a app to erase a cdrw
Date: Thu, 15 Feb 2001 09:01:25 -0500

X cdroast should work as a front end to cdrecord to erase a cdrw.

Glitch <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Any apps available to erase CDRW discs?  I got xcdroast and cdrdao but
> neither let me erase a disc....anything else I can try?
>
> thanks
> brandon
>



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

From: "James Horvath" <[EMAIL PROTECTED]>
Subject: Re: Mail Server Newbie
Date: Thu, 15 Feb 2001 08:39:20 -0600


"Rod Smith" <[EMAIL PROTECTED]> wrote in message
news:IhIi6.5785$[EMAIL PROTECTED]...
> [Posted and mailed]
>
> In article <[EMAIL PROTECTED]>,
> "James Horvath" <[EMAIL PROTECTED]> writes:
> > Thank you all for the responses. To clarify a couple issues and keep you
all
> > up to date (if you care):
> >
> > 1). Mandrake 7.2 minimal install did in fact install sendmail, not
postfix.
> > This may have been a recent change to Mandrake?
>
> My Mandrake 7.2 system installed Postfix but not sendmail. I don't
> believe I did a minimal install, though; I believe I chose a custom
> install. The CD-ROM has RPMs for both. It sounds like Mandrake does
> sendmail for a minimal install and Postfix for others, for some reason
> I can't fathom. I believe they've been doing Postfix by default, at
> least on the installation methods I've used, since Mandrake version 6.1
> or 6.2.

Interesting.
>
> > 2). At the behest of the original responder, and after reviewing
countless
> > web pages on the differences between qmail and sendmail, I yanked
sendmail
> > off the system and installed qmail 1.03 from source. The installation
has
> > apparently gone smoothly as all of the tests proposed fire without a
hitch.
> > I did pick up the O'Reilly Sendmail book (a.k.a. the bat book) but
haven't
> > put much time into reading it yet. It is my intention to switch over to
the
> > more universal standard (sendmail) at some point in the distant future.
>
> My advice is that if you get *ANY* MTA working to your satisfaction,
> switch only if you've got a compelling reason to do so. This can be
> because you want to learn another, because you've found a problem with
> whatever you're using, because another server supports features you
> want to investigate, or various other reasons, but not because one
> program is more or less "standard" than another. (Sometimes installing
> an alternative server on a spare test system makes sense; you don't
> want to interrupt regular mail delivery just to experiment, for
> instance.) All SMTP MTAs are supposed to conform to various RFCs
> defining e-mail transmission, and AFAIK all of the major ones we've
> been discussing do a good enough job of this that they can talk to each
> other and exchange mail quite reliably. Switching MTAs can be a pain --
> it's a whole new configuration system to learn, and there are sometimes
> subtle or not-so-subtle incompatibilities with local software, so the
> effort just isn't worth it if the thing's working to your satisfaction,
> unless you've got a compelling reason to change.
>
Point well made.  This is a home project though, not a serious production
environment.  As such, I figured it would be to my advantage to learn
sendmail administration somewhere along the line given the ubiquity of that
setup.  It's just too common to ignore, and at some point, I will be asked
to set up a production mail server at work.  Maybe it'll be qmail, maybe
not.

> > Which leaves me a little in the dark. I still need a way to connect to
the
> > mail directories with Microsoft Outlook (for both sending and
receiving).
> > Many of you have mentioned Qpopper (which I'll download in a little
bit),
> > but I'd like to make sure I'm not overlapping or running more than I
need
> > to. Presently I have Fetchmail, Qmail, and (soon) Qpopper running (in
> > addition to some recommended toolsets like qmail daemontools). Is this
the
> > best combination of ease and efficiency?
>
> I'm not familiar with Qpopper, but to access the Linux mail server's
> mail queues with mail clients on other systems, you need to run a pull
> mail server. The most common protocols for this are POP and IMAP.
> Qpopper is, if I'm not mistaken, one of several POP servers. I believe
> it's designed for use with qmail, but I don't know that for sure.
>
>From other responses I'd have to say I prefer IMAP.  A little more on this
in a minute.

> > Outlook sends messages to Qmail smtp which sends the mail to my ISP.
> > Messages from the ISP are grabbed by Fetchmail, stored on the Linux
server,
> > and delivered to Outlook by Qpopper/imapd/ipop3d. This is more or less
my
> > understanding of the process.
>
> Correct, although qmail may or may not forward outgoing mail via your
> ISP; it could send it directly to the addressee system.
>
I see.  Provided I haven't hosed DNS and the addressee system is on the
local network, and has an account.  Yes?

> > Can Qmail act as the pop3/imap server to
> > replace Qpopper/imapd/ipop3d? If so, how?
>
> I'm pretty sure that qmail doesn't support POP or IMAP directly; that's
> what Qpopper is for. I've never configured a qmail-based system for POP
> or IMAP, though, so I can't give any advice from experience on this.
>
This is correct.  I did however download Life with Qmail and it makes
mention of qmail-pop3d, which is a fledgling qmail pop server.  It's a
seperate download and doesn't seem to have the support that others do.  And
it's POP, not IMAP.

It is the POP/IMAP that's giving me trouble.  Or maybe I just have DNS
screwed up?  I can retrieve and send mail to/from the Linux box via these
utilities, but I cannot get Outlook from my Windows machines to connect to
the IMAP devices.

I have tried both IMAPd and Qpopper.  Both run fine, but still Outlook
errors.  I can ping the Linux box from Windows.  I can telnet to the Linux
box from Windows.  But I can't collect mail.  I have now downloaded Univ. of
Washington IMAP and all appropriate qmail patches, and installed that last
evening.  Maybe this will do the trick?

James

> --
> Rod Smith, [EMAIL PROTECTED]
> http://www.rodsbooks.com
> Author of books on Linux & multi-OS configuration



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

From: "Mark Winsor" <[EMAIL PROTECTED]>
Subject: Re: exec hangs from .bash_profile
Date: Thu, 15 Feb 2001 09:44:14 -0500

I have it working that way but it does waste a process. It is just that
every other Unix like OS I have used (AIX, Solaris, SVr4, SCO, Unixware,
Xenix, etc) using sh or ksh allowed this and I was wondering why bash  under
Linux doesn't.

"Harlan Grove" <[EMAIL PROTECTED]> wrote in message
news:1Zzi6.10943$[EMAIL PROTECTED]...
> David Efflandt <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> >On Mon, 12 Feb 2001, Mark Winsor <[EMAIL PROTECTED]> wrote:
> >>I have an ncurses program being "execed" from the user's .bash_profile.
> When
> >>execed, it hangs and doesn't allow keyboard input. When it is just run
> from
> >>the profile, it works.
> >>
> >>menu  {works}
> >>exec menu {doesn't work}
> ...
> >exec executes a command and never returns.  Therefore your login
> >terminates there.  Is that really what you want to do?
>
> Looks like the OP wants to use a menu front end rather than a shell.
> Presumably this menu front end can't run scripts, so ~/.bash_profile is
> still needed. If the goal is to use bash as the login shell but replace it
> with the menu system to prevent the user from seeing the shell at all,
> consider using
>
> menu
> exit
>
> rather than exec menu. You may need to supplement this with trap commands
to
> handle user attempts to avoid returning to login after the menu front end
> finishes.
>
>



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

From: Steve Gage <[EMAIL PROTECTED]>
Subject: Re: need a app to erase a cdrw
Date: Thu, 15 Feb 2001 14:52:28 GMT

Glitch wrote:
> 
> Any apps available to erase CDRW discs?  I got xcdroast and cdrdao but
> neither let me erase a disc....anything else I can try?
> 
> thanks
> brandon

cdrecord dev=0,0 (or whatever your cdrw drive is) blank=fast

- Steve

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

From: [EMAIL PROTECTED] (Dan Mercer)
Subject: Re: ksh script problem: pwd works differently for ksh then linux binary file
Date: 15 Feb 2001 14:58:27 GMT

I went to the trouble of installing pdksh (I use ksh93) and
could not reproduce your problem:

      #!/usr/bin/pdksh

      cd
      [[ -d td ]] || ln -s /usr/local/bin td
      cd td
      whence -v pwd
      pwd
      pwd -P
      echo $PWD
      $ tb
      pwd is a shell builtin
      /home/dam/td
      /usr/local/bin
      /home/dam/td

So,  the question is,  what are you doing wrong?  As you can see,
pwd is a builtin.  Now,  it is possible you have ENV set and your
ENV file (.kshrc?) is doing something screwy to cause this.  To
make sure that isn't happening,  change the shebang to

      #!/usr/bin/pdksh -p

You might want to post the script.


-- 
Dan Mercer
[EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Shai Kedem <[EMAIL PROTECTED]> writes:
> 
> Harlan Grove wrote:
>> 
>> 
>> 
>> Shai Kedem <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]...
>> ...
>> >I have a pdksh installed on Linux RedHat 6.2.
>> >From an interactive shell, when I type pwd in a directory which is a 
> link,
>> >I get the directory name (not the one linked to), as I expect.
>> >When /bin/pwd is run, I get the linked directory name !
>> >from a ksh script, it seems it will always run /bin/pwd for pwd rather
>> >then the ksh implementation.
>> >Any one knows how to override this problems in ksh scripts to it will 
> run
>> >the pwd of the ksh command ?
>> 
>> Why bother with running pwd either as an internal command or an external
>> binary? If you're using ksh as your interactive shell _and_ as the shell
>> running your script, wouldn't the PWD environment variable suffice? 
> x=`pwd`
>> is every bit as redundant as uuoc.
>> 
>> I believe pwd is an alias rather than a built-in command like cd, which
>> would explain why it works in interactive shells but not in scripts 
> (though
>> I believe it's possible for the script to trick the shell into thinking 
> it's
>> interactive).
>> 
>> 
> 
> I tested the $PWD but it behaves the same - it will resolve the symbolic 
> link when run from ksh script !
> any idea how to force a command to be interpeted as alias rather then 
> executable name in ksh script ?
> 
> 
> 
> --
> Posted via CNET Help.com
> http://www.help.com/



Opinions expressed herein are my own and may not represent those of my employer.


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


** 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 by posting to comp.os.linux.misc.

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