Linux-Misc Digest #94, Volume #27                Mon, 12 Feb 01 10:13:02 EST

Contents:
  Re: Difference between "su" and  "su -" ? (Paul Colquhoun)
  Re: Partition overlapped (Anita Lewis)
  Re: Konqueror speed (AGS)
  Re: MS to Enforce Registration - or Else (Johan Kullstam)
  Re: crash because SCSI device is off?? (Robert Heller)
  Re: A Beginner Asks About Linux (Jean-David Beyer)
  Re: su command while in a program? (Jean-David Beyer)
  Re: Unable to handle kernel NULL pointer (Jean-David Beyer)
  BIND vs MS DNS ("Leigh")
  Re: Red Hat 7 (John Gotts)
  Re: RH7.0: "Unavailable Package" Message When Trying to Install Telnet Server (John 
Gotts)
  Auto Dialup ? (Eric Chow)
  Re: mtrr's or lack of them ??? (os.linux) (Steve Trow)
  Re: Difference between "su" and "su -" ? (-ljl-)
  Re: Auto Dialup ? (Jean-David Beyer)
  Configuring Telnet ("Ian Ellis")
  Re: crash because SCSI device is off?? (Claus Atzenbeck)
  exec hangs from .bash_profile ("Mark Winsor")
  Re: MS to Enforce Registration - or Else (John Hasler)
  Re: /usr/src/linux??? (Stephen Rank)

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

From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: Difference between "su" and  "su -" ?
Reply-To: <[EMAIL PROTECTED]>
Date: Mon, 12 Feb 2001 11:17:53 GMT

On Mon, 12 Feb 2001 04:16:59 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
|Arctic Storm <[EMAIL PROTECTED]> writes:
|> When I change to root super user, I usually issue the command
|> su -
|> And this has worked for me well.
|> What's the difference between "su -" and "su" for root super user?
|
|The difference is that 'su' keeps data about the existing session as
|the previous user, whilst 'su -' tries to provide an environment like
|what would be produced if you had logged in directly as root.
|
|An immediate visible difference would be with PWD.  Supposing you're
|in /usr/src/linux, as your own ID, and then "su" to root.
|
|-> 'su' would leave you in that same directory, with environment
|   variables retaining a whole lot of the values that were set up in
|   your user environment.
|
|-> 'su -' puts you probably in directory /root, with the environment
|   set from root's .bashrc setup and such...


And it works for other users as well.

'su - fred' will get you fred's login environment while 'su fred'
wont.


-- 
Reverend Paul Colquhoun,      [EMAIL PROTECTED]
Universal Life Church    http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
            a leather-clad, New Zealand woman.

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

From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Partition overlapped
Reply-To: [EMAIL PROTECTED]
Date: Mon, 12 Feb 2001 11:27:23 GMT

On Mon, 12 Feb 2001 09:00:41 +0100, Eric Moors wrote:
>>
>> than can be changed by using the partition manager included with XOSL,
>> called Ranish partition manager.... http://www.xosl.org
>
>Any (linux) fdisk can do this too(reshuffle partitions)
>Not a thing for the faint of heart though,as it requires deleting and the
>recreating.
>
>Eric
>
Yes, indeed.  It is not a screw up at all.  All you have to do is delete a
partition and then create another one and the shuffle happens.  You don't
have to do anything wrong, at least not if you intend to change the
partitions.  I haven't found a way with fdisk to keep the numbers from
changing and have to go in and change a couple config files after doing it. 
I have my original partition table on an index card, just in case things get
messy.  Then I can scrap it and just run fdisk again and put in the numbers
I had to start with and all is as it was - except my revised config files of
course.  Not at all for the faint of heart.

Anita

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

From: AGS <[EMAIL PROTECTED]>
Subject: Re: Konqueror speed
Date: Mon, 12 Feb 2001 22:04:52 +1100

Jerry Kreps wrote:

> [EMAIL PROTECTED] wrote:
> 
> > I have exactly the same problem. Konqueror take a lot longer to
> > display pages than Netscape. The platform is IBM's AIX with the
> > recently released  'Linux-Toolbox'. I don't want to go and recompile
> > the stuuf myself, > > but would like to know if I should expect this
> > or if something is wrong.
> > 
> > Markus
> 
> 
> Konqueror runs very quickly for me.  Faster than NS.  I am running a
> P166 with 64MB and using SuSE 7.0
> 
> I stripped all of KDE1 and KDE2 and QT-1.4.x  and Qt-2.x off,
> reinstalled Qt-2.2.3 with all graphics compiled in, and then installed
> KDE2 only.  Runs very fast and only rarely does any Kapps crash
> on me.  Konquer has never crashed. Neither has KMail or KNews (KNode).
> JLK
> 
> 
OPERA is much quicker than both. The latest beta is fantastic! And it does 
not have a time limit like previous betas - it has an ad that can be 
removed by paying the rego.


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

Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Mon, 12 Feb 2001 11:19:47 GMT

[EMAIL PROTECTED] (Stefan Ohlsson) writes:

> On Sat, 10 Feb 2001 13:52:31 GMT, John Hasler wrote:
> >Stefan Ohlsson writes:
> >>I know the atheists have a theory that man will develop to a super-man
> >>that can travel back in time and will create it all. That's the simple
> >>version anyway. I know, sounds weird.
> >Who are "the" atheists?
> >
> Are you complaining about "grammar"? I'm sorry, but I'm not a native
> speaker of this language.

no we are not complaining about grammar.  we are complaining about
what seems to be your implicit assumption that atheists share some
beliefs beyond simply not believing in an active god or gods.

> >>No, I heard it on a lecture about religion. Did I get it wrong? Then
> >>please correct me.
> >Looks to me like you read it in a science-fiction novel.
> >
> That's what I thought it was when I heard it. But I'm not stubbornly locked to
> my opinions/beliefs, so please explain to me what atheism is all about then.
> How do they explain the universe? Or don't they?

some explain the universe; some don't.  it depends upon which atheist
you ask.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

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

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: crash because SCSI device is off??
Date: 12 Feb 2001 05:53:29 -0600

  Claus Atzenbeck <[EMAIL PROTECTED]>,
  In a message on Mon, 12 Feb 2001 07:17:39 +0100, wrote :

CA> Paul Lew wrote on Mon, 12 Feb 2001 02:33:10 GMT:
CA> 
CA> > Very unlikely as I have my scsi tape, cdwriter and scanner turned off
CA> > until
CA> > needed.  Perhaps something in your OS wants to access the harddrive for
CA> > whatever reason?
CA> 
CA> Not that I know. The hard drive is unmounted anyway, also my ZIP.
CA> My crash might be caused by something else. No idea what. :-(

If you have an external SCSI ZIP drive and it is the last thing in the
chain (it houses the SCSI termination) and you power off the ZIP drive,
you SCSI chain will become unterminated (the scsi ZIP drive uses
*active* termination).  This will 'crash' Linux if the system disk is on
the same SCSI chain -- I know: been there, done that.

CA> 
CA> Claus.
CA>                         






                                                                                       
       
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

Posted Via Nuthinbutnews Premium Usenet Newsgroup Services
==========================================================
          ** SPEED ** RETENTION ** COMPLETION **
==========================================================        
             http://www.nuthinbutnews.com

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: A Beginner Asks About Linux
Date: Mon, 12 Feb 2001 07:09:44 -0500

Mark Bratcher wrote (in part):
> 
> In article <[EMAIL PROTECTED]>, Noah Roberts wrote:
> >Mark Bratcher wrote:
> >
> >> In article <3a84aefe$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> >> >
> >> >>2.  Mandrake or Redhat?  Which to get?
> >> >
> >> >Niether!  Get Slackware or SuSE....Slackware preferably, but SuSE
> >> >has rpm....both of the above mentioned distros are garbage (esp RH)
> >> >
> >>
> >> Could you elaborate on why you believe RedHat is garbage?
> >> I'm not being critical, I really do want to know why you have that
> >> opinion.
> >
> >Well, just for an example of tipical RedHat.....
> >
> >In the Unix Admin class at the college we split into two groups, one got to choose
> >between SCO and RedHat, the other got stuck with whatever was left.  Now SCO takes
> >hours to install, for some reason disk access seems incredibly slow during the
> >procedure.  So when the other team got to choose the decided on RH.....
> >
> >I am not sure if the ever DID get it installed....we got SCO installed in a day,
> >had the user environment all configured and everything within 2.....they where
> >still trying to get it to complete the install a week later, kept freezing.
> 
> I've installed RH (a few different versions) on several machines (x86 PCs
> of various types) without any problems. Had them installed within an hour or two.
> I don't know why yours froze up, or whether it is unusual or rare, but hasn't
> happened to me. I'm not sure I would judge it on the basis of this one
> particular class.
> 
I cannot compare the relative merits of the various Linux distributions,
since I have used only Red Hat Linux distributions, or their extremely
close relatives, the VA Linux Systems distributions.

I have installed Red Hat Linux 5.0 on a 586 machine and the first time I
did it, I had to try several times over a period of two days, but then
it ran just fine. When it came time to upgrade to RHL 6.0, it took only
about an hour to do the install.

On this dual-686 machine, it came with VA Linux Systems version of RHL
6.0 already installed, but I did not like how it was partitioned, and,
since I wanted to change even the root partition, I just did a
re-install. That, too, took about an hour. Much of the time was spent
error-checking the two 9.1 GByte hard drives and formatting them. The
rest of the procedure took about 15 minutes. A few weeks ago, I upgraded
this system to VA Linux's version of RHL 6.2. VAL calls it 6.2.3. That,
too, took about an hour.

One of the time consuming things with any installation for me is getting
everything configured just as I want it, and that generally takes me
about a week (not full time), though it works right away after the
install. Since those things are things only I know about (my ISP's
telephone number, the structure of my LAN, just what daemons I want at
startup (some, such as IBM's DB2 UDB dbms, do not come with the
distribution, so it does not know to ask me about them), what I want in
my /etc/crontab, how I want sendmail configured, what I want in
/etc/inetd.conf, /etc/hosts, /etc/hosts.deny (I think they could do that
one automatically), /etc/hosts/allow, etc), I do those manually later.
It is not clear to me how another distro could read my mind and figure
those things out by itself.
[snip]

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:50am up 14 days, 15:18, 3 users, load average: 2.26, 2.15, 2.10

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: su command while in a program?
Date: Mon, 12 Feb 2001 07:19:16 -0500

Richard James Panturis Giuly wrote:
> 
> Is there some way to change to a different user (like su) so that you
> suddenly gain that users access priveledges while you are still in a
> program. I mean you try to access a file in a program, and it fails, so
> you just change users and you have access, without exiting the program.
> 
You can use the setuid(2) function. But, to oversimplify, it will work
only if you are running as root.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 7:15am up 14 days, 15:43, 3 users, load average: 2.22, 2.13, 2.09

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Unable to handle kernel NULL pointer
Date: Mon, 12 Feb 2001 07:20:56 -0500

Carsten Huettl wrote:
> 
> Hello,
> 
> from time to time my rh6.2 maschine hangs While trying to login it
> says:
> Unable to handle kernel NULL pointer dereference at virtual adress
> 00000762
> current -> tss.cr3 = 00101000, %cr3 = 00101000
> ...
> What is wrong here?
> How do I fix this problem?
> 
> TIA
> C.

I would guess memory problems, at least as the first thing to check. If
that is not it, possibly hard drive or hard drive controller problems.
You are sure you have not been cracked, right?

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 7:15am up 14 days, 15:43, 3 users, load average: 2.22, 2.13, 2.09

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

From: "Leigh" <[EMAIL PROTECTED]>
Subject: BIND vs MS DNS
Date: Mon, 12 Feb 2001 12:23:06 GMT

I am investigating replacing MS DNS at a customer's site with BIND on Redhat
and have discovered a benefit that I wasn't realliy expecting - that is the
BIND box massively outperforms the MS DNS on DNS lookups.

Without the obvious MS slagging, does anyone have any hard evidence to
explain and prove that this is the case. The customer is open to suggestions
about changing OS but I need to back this up with solid evidence.

Thanks

Leigh





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

From: [EMAIL PROTECTED] (John Gotts)
Subject: Re: Red Hat 7
Reply-To: [EMAIL PROTECTED]
Date: Mon, 12 Feb 2001 12:29:18 GMT

On Fri, 2 Feb 2001 20:53:37 +0000, MH <[EMAIL PROTECTED]> wrote:

>I've been using RH 7.0 for some time on my workstation and am very happy 
>with it.  I also have a test server running RH 7.0 which I recently updated 
>to kernel 2.4.1.  No problems compiling, but I am having a problem with the 
>NFS client (RH 7.0) not wanting to speak to my older NFS server (RH 
>6.0/2.2.17).

Red Hat 7.0 + 2.4.0 or 2.4.1 works fine as a client to a libc 5.x server I have
running 2.2.18 and nfs-utils 0.2.1 with occasional very heavy use.  (Don't ask
why I have things set up this way.)  I'm thinking you have a configuration
glitch.  Either that or it is actually a fault with Red Hat 6.2 and not 7.0!

John

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

From: [EMAIL PROTECTED] (John Gotts)
Crossposted-To: 
alt.os.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,cern.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.setup,thenet.support.linux
Subject: Re: RH7.0: "Unavailable Package" Message When Trying to Install Telnet Server
Reply-To: [EMAIL PROTECTED]
Date: Mon, 12 Feb 2001 12:33:34 GMT

On Sun, 4 Feb 2001 22:03:58 +0200, Meron Lavie <[EMAIL PROTECTED]> wrote:
>Yet another comment: Using the rpm line command (instead of doing it through
>KDE or the pseudo-graphic linuxconf utility) succeeds. What's the story?

File a bug report with bugzilla.

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

From: Eric Chow <[EMAIL PROTECTED]>
Subject: Auto Dialup ?
Date: Mon, 12 Feb 2001 12:55:02 GMT

Hello,

Would you please to teach me how can my Linux automatic dialup to ISP
when Linux startup ?

Bes regards,
Eric


Sent via Deja.com
http://www.deja.com/

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

From: Steve Trow <[EMAIL PROTECTED]>
Subject: Re: mtrr's or lack of them ??? (os.linux)
Date: Mon, 12 Feb 2001 13:04:50 GMT

In article <7EBg6.190$[EMAIL PROTECTED]>,
  "Eric en Jolanda" <[EMAIL PROTECTED]> wrote:
> > I posted this to fa.linux.kernel as well, but that seems to be the
> > wrong place..................................
>
> Multiposting is always wrong.
> No matter where you post it.
> Answers in col.setup
>
> Eric
>
>
It was not a multipost, mistakes do happen, as I said before....it was
the wrong place because that forum appears to be for bleeding edge
(2.4) questions.


Sent via Deja.com
http://www.deja.com/

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

From: -ljl- <[EMAIL PROTECTED]>
Subject: Re: Difference between "su" and "su -" ?
Date: Mon, 12 Feb 2001 13:54:17 GMT

In article <r3Jh6.8831$[EMAIL PROTECTED]>,
  Arctic Storm <[EMAIL PROTECTED]> wrote:
> When I change to root super user, I usually issue the command
> su -
> And this has worked for me well.
> What's the difference between "su -" and "su" for root super user?

Logon using "su -" then type "pwd; echo $PATH".  Then logon using
"su" and repeat the two command sequence.

--
Louis-ljl-{ Louis J. LaBash, Jr. }


Sent via Deja.com
http://www.deja.com/

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Auto Dialup ?
Date: Mon, 12 Feb 2001 09:28:53 -0500

Eric Chow wrote:
> 
> Hello,
> 
> Would you please to teach me how can my Linux automatic dialup to ISP
> when Linux startup ?

Just make sure there is a line like this:

ONBOOT=yes

in /etc/sysconfig/network-scripts/ifcfg-ppp0.

If you leave your machine on at all times, and your ISP has a similar
policy to mine, they will not like this and will either cut you off, or
bill you more, for holding up the line 24/7. I have mine say ONBOOT=no,
so I connect only when I need to.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 9:25am up 14 days, 17:53, 4 users, load average: 2.18, 2.20, 2.13

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

From: "Ian Ellis" <[EMAIL PROTECTED]>
Subject: Configuring Telnet
Date: Mon, 12 Feb 2001 14:32:17 -0000

Hi,

I use my Linux box to access an ICL mainframe, via a VAX box, using telnet.

ICL mainframes use 25 line. My telnet connection squashes the screen to 24
lines. The 25 lines are still available, I just have to move the cursor out
of the window, but this is a faff.

Does anyone know how I can setup my telnet connection to use 25 lines (e.g.
by setting TERM, altering termcap etc.)?

Much appreciated.

Thanks

Ian



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

From: Claus Atzenbeck <[EMAIL PROTECTED]>
Subject: Re: crash because SCSI device is off??
Date: Mon, 12 Feb 2001 15:36:47 +0100

Robert Heller wrote on 12 Feb 2001 05:53:29 -0600:

> If you have an external SCSI ZIP drive and it is the last thing in the
> chain (it houses the SCSI termination) and you power off the ZIP drive,
> you SCSI chain will become unterminated (the scsi ZIP drive uses
> *active* termination).  This will 'crash' Linux if the system disk is on
> the same SCSI chain -- I know: been there, done that.

I have the following SCSI chain:

internal: CD-ROM writer
external: ZIP -> hard drive -| termination

So the last device in the chain is my hard drive. It has an active (?) 
termination on it. There is a LED lamp on the terminator and it even is on 
when the hard drive and the ZIP is turned off.

Would this be the same situation of an unterminated SCSI chain, although 
the terminator seems to get power?
Meaning: could this be the reason for freezing the system?

Thanks for your help!
Claus.

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

From: "Mark Winsor" <[EMAIL PROTECTED]>
Subject: exec hangs from .bash_profile
Date: Mon, 12 Feb 2001 09:56:45 -0500

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}

This is on RH 6.2. Anybody know of a reason for this behavior?



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

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Mon, 12 Feb 2001 13:47:37 GMT

Stefan Ohlsson writes:
> Are you complaining about "grammar"? 

I'm complaining about the implication that "the" atheists are an organized
group with a set of agreed upon theories and such: a church.

> But I'm not stubbornly locked to my opinions/beliefs, so please explain
> to me what atheism is all about then.

It's about the absence of belief in God.

> How do they explain the universe?

How do theists explain God?
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

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

From: Stephen Rank <[EMAIL PROTECTED]>
Subject: Re: /usr/src/linux???
Date: 12 Feb 2001 14:54:30 +0000

"count_zero" <[EMAIL PROTECTED]> writes:

> [...] I believe there should be a /usr/src/linux directory.  I don't see
> one; there is a 'redhat' directory.  Where are the kernel source files?  I
> get an error when I try to run make config.

You need to download the source yourself.  I'm not sure what the
RedHat Way is, but you can get the tar.{gz,bz2} from kernel.org
(or preferably a mirror networkalogically near to you) and extract it
in the relevant directory.  

HTH,

Stephen

-- 
email: [EMAIL PROTECTED] --- http://www.dur.ac.uk/stephen.rank/
smail: Research Institute for Software Evolution,
       Department of Computer Science, University of Durham, U.K.
 icbm: 1 deg 34' 8'' West, 54 deg 46' 3'' North

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


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