Linux-Setup Digest #320, Volume #20               Mon, 1 Jan 01 07:13:04 EST

Contents:
  su, login.defs, environment variables (Ollie Acheson)
  Re: kernel panic (Anita Lewis)
  Re: another question with xcdroast, previous problem solved ("Gene Heskett")
  Re: su, login.defs, environment variables (David)
  Re: make: *** No rule to make target 'mrproper'... (Guy Parry)
  Whatever happened to catman? (Phil Edwards)
  Re: Problem with SiS630 (integrated) sound card (Raymond Li)
  Hard disk problem with Red Hat 7.0 install ("Chris")
  Re: How to set PATH? (Wayne Pollock)
  RH 6.2  Screen freezes a few mins. after gimp is loaded (Ronald Allen)
  UDMA hard disk ("Liu Wu")
  Re: Help with partitioning (HP Staber)
  Support Maxtor G450 ("Harald Adams")
  Re: Suse 7.0 evaluation ("Bart Declercq")
  HELP!! Installing RedHat 7, using a Sound Blaster CD-ROM
  Problem with useradd ("Andy Chessum")
  Re: Problem with useradd (Michael Heiming)

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

From: [EMAIL PROTECTED] (Ollie Acheson)
Subject: su, login.defs, environment variables
Date: 1 Jan 2001 02:32:48 GMT
Reply-To: [EMAIL PROTECTED]

When I su into root, I got a root with minimal path. I was able to fix this
with ENV_SUPATH in login.defs.

Now I would like to set some other environment variables. man login.defs says I
can define a filename in ENVIRON_FILE that contains environment variables to
set, but I can't get it to work. Any pointers?

Also, /root/.bashrc doesn't seem to execute when entering root via su. Why not?

Thanks for the help.

Ollie



-- 
|---------------------------|
| Ollie Acheson             |
| Morristown, NJ            |
|---------------------------|


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

From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: redhat.config,linux.redhat
Subject: Re: kernel panic
Reply-To: [EMAIL PROTECTED]
Date: Mon, 01 Jan 2001 03:34:03 GMT

On Mon, 01 Jan 2001 01:43:54 GMT, Anita Lewis wrote:
>Do you know what partition / is in?  If so you can use the floppy and when
>it says boot, type 'init=/dev/hdxy' where x is the drive letter and y is the
>partition number and without the quotes.  It may have to be 
>'linux init=hdxy'  I'm not sure on that.  You should be able to pass it with
>LILO doing the same thing, only there I'm sure you need the linux.

I messed that up.  You would want to give the location of init here so it
is:
'linux init=/dev/hdxy/sbin/init'  where x is the disk letter and y is the
partition number.  

Anita



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

Date: 31 Dec 2000 13:8:52 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: another question with xcdroast, previous problem solved

Gene Heskett sends Greetings to Bernard ;

> Hi there,

> I did find the reason of my late error message : "The TOC of this CD
> reports an impossible track size...". There is, in xcdroast, a
> feature that is somewhat confusing. If you press the "verify burnt
> CD" right after a simulation, it does not reckognize the CD and
> speaks out said error message. Once this has happened, the CD is
> wasted and you have to throw it out.

> I then made a test in not making use of the verify button after
> simulation ; I did physically burn the cd and verified only
> afterwards. this time, it worked... but not as I would have
> expected. The verify function says :

> "verify failed !    Files differ on block 17 !"

> However, the burnt cd is readable in either one of my two cdrom
> drives ; I can find the copied files, open them etc... There must be
> some wrong files somewhere, but I haven't discovered them yet.

> I understand that the reason of such failure may be on the burning
> speed
> (X2), but, what I would like to know is how to carry a check on the
> simulated burnt image rather than on the burnt cd, when it is too
> late. As previously said, the "verify burnt image" on a simulated
> burnt image fails and wastes the CD.

Excuse me?  If you were doing a dummy burn, the laser is turned off, and
the cd itself is untouched, so it should not be wasted.  If thats not
the case, and you did have the dummy turned on, then something is
drasticly wrong with either your driver or the burner itself.
The compare is of course going to fail since the cd wasn't burnt, just
all the other stuff was done, checking for things like buffer underuns
etc.

That said, I did use xcdroast for a while, but its incorporation of
internal versions of mkisofs and cdrecord can be both a blessing and a
prisoners ball and chain.  The blessing is that its dead stable.  I
first recompiled it to use the newer versions, but the gui itself only
knows about what the older versions can do, so thats a waste of time and
effort.

I've been using GToaster (aka Gnome Toaster) because that allows one to
update cdrecord etc, 95% of the time without breaking anything.  Its
also being developed at a higher pace than xcdroast with at least 4
releases in the last half of '00 to date, 12 hours to go here.

Cheers, Gene
-- 
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040, Linux @ 400mhz 
        email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
# <http://www.thirdwave.net/~jimlucia/amigahomeauto> #
ISP's please take note: My spam control policy is explicit!
#Any Class C address# involved in spamming me is added to my killfile
never to be seen again.  Message will be summarily deleted without dl.
This messages reply content, but not any previously quoted material, is
© 2000 by Gene Heskett, all rights reserved.
-- 


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

From: David <[EMAIL PROTECTED]>
Subject: Re: su, login.defs, environment variables
Date: Mon, 01 Jan 2001 03:55:59 GMT

Ollie Acheson wrote:
> 
> When I su into root, I got a root with minimal path. I was able to fix this
> with ENV_SUPATH in login.defs.
> 
> Now I would like to set some other environment variables. man login.defs says I
> can define a filename in ENVIRON_FILE that contains environment variables to
> set, but I can't get it to work. Any pointers?
> 
> Also, /root/.bashrc doesn't seem to execute when entering root via su. Why not?


Are you using "su -" when you su to root?

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.969% of seti users. +/- 0.01%

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

From: Guy Parry <[EMAIL PROTECTED]>
Subject: Re: make: *** No rule to make target 'mrproper'...
Date: Mon, 01 Jan 2001 14:58:54 +1100
Reply-To: [EMAIL PROTECTED]

<nods>  Yep, figured it was something like that :)

On Sun, 31 Dec 2000 07:02:18 +0100, Markus Kossmann
<[EMAIL PROTECTED]> wrote:

>Guy Parry wrote:
>> 
>>      I've been playing with Mandrake 7.2 for the past couple of weeks
>> and would like to check the kernel to see if I've got the SCSI module
>> installed, plus a few other things.  But I can't get past Step 1.
>> Same thing if I bypass mrproper and try 'make xconfig'.
>>      Am I missing a package?  Yes, I'm root.  Yes, I'm in
>> /usr/src/linux.
>Probabaly you did install only the "kernel includes" package and not the
>full kernel sources .


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

From: [EMAIL PROTECTED] (Phil Edwards)
Subject: Whatever happened to catman?
Date: 31 Dec 2000 23:44:10 -0500


Did the "preformat all man pages into cat pages" tool get renamed to
something else while I wasn't looking?  If so, what?

Or is it just plain gone from Linux these days?  If so, /why/?


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

From: Raymond Li <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: Problem with SiS630 (integrated) sound card
Date: Mon, 01 Jan 2001 12:35:20 +0800

Hello,
   I suspect that my notebook failed to allocate the irq 0 for the sound 
card because both the sound card and network card, (which are both part 
of the sis630 chipset) conflict on irq 11.

   I looked up in the bios and could not found a place to 
re-arrange/assign the irq allocation. How could I resolve the irq conflict?

   I hard coded the module drivers/sound/trident.c, changed all 
card->irq to decimal 11. Now, I got my trident load into kernel (not 
module), but now the notebook sounds like motor-cycle (beep repeatedly), 
just like what the "Documentation"' troubleshooting part say. The 
troubleshooting part says this is due to irq-conflict. But I unloaded 
the network card (sis900), and the motor-cycle sound continue.

   By the way, the irq readings are found by booting Windows 2000.

   Yours,
   Raymond
Raymond Li wrote:

> Hello,
>   I have posted question asking about the setting of X windows with my 
> SiS630 based notebook. Now I am tackling with the sound card.
> 
>   Following the instruction at 
> http://www.in.tum.de/~clemens/ipc-topnote-h.html, I have made the X 
> worked. But I also followed the instruction on setting up sound and 
> failed.
> 
>   If I compile the "(Trident) SiS 7018 PCI Audio" into the kernel 
> (2.2.18, Red Hat 7), then the booting will report that Trident is 
> found but it can't allocate irq 0. How could I specify the irq when 
> the sound support is compiled into kernel? I tired to specify it as 
> "options trident irq=11 io=0x310" in /etc/modules.conf, but it doesn't 
> work.
> 
>   If I make the "(Trident) SiS 7018 PCI Audio" support as module, then 
> itwon't be loaded automatically, even adding the line |alias 
> char-major-14 trident" to /etc/modules.conf.  And "modprobe trident" 
> will load it as unused, where /dev/dsp and /dev/sndstat still can't be 
> "cat"
> 
>   Thanks for your attention!
> 
>   Yours,
>   Raymond
> 



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

From: "Chris" <[EMAIL PROTECTED]>
Subject: Hard disk problem with Red Hat 7.0 install
Date: Mon, 1 Jan 2001 16:22:47 +1100

Ok I have a problem trying to install Red hat 7.0 on a linux partition using
lilo as
a boot manager. I think it may have something to do with the way the 2 ATA66
hard disks
are detect (not through the bios, the bios trents them like SCSI or EXTRA
devices).

The message that appears after I go through any of the install options
either workstation, custom or server is:

"An error has occured - no valid devices were found on which to create new
filesystems.
Please check your hardware for the cause of this problem."

Then you push "OK" and it restarts the PC.

Please help me I really would like to run linux without rebuilding my
system, I have already
created the Linux partition using Partition Magic so I don't think that is
the problem. I
don't wnat to format the disk because I don't think that is the problem. Is
there some
incompatabilities with ATA 66 controller cards or motherboard's that have
them onboard like
mine (it is a ABIT BE6) which has four onboard IDE controllers 2 for the old
ATA33 and 2 for
ATA66.

PS. Sorry for the long post.


System Specs:

Pentium III 450
ABIT BE6 Mainboard
256MB RAM
HardDisk 1:Quantum 18GB ATA66 (not detected in bios, detected using ATA66
controller bios)
HardDisk 2:IBM 20GB ATA66 (not detected in bios, detected using ATA66
controller bios)

Partition Info:

HardDisk1/Quantum

Label  Type  Size  Status  Primary/Logical

BOOT  Linux ext2 298.1MB  None  Primary
C:WIN98  FAT32X  12,260.5MB Active  Primary
LinuxNative Linux ext2 5,059.5MB None  Primary

HardDisk2/IBM

D:LOTSOFSTUFF FAT32X  19,571.3MB None  Primary




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

From: Wayne Pollock <[EMAIL PROTECTED]>
Subject: Re: How to set PATH?
Date: Tue, 26 Dec 2000 15:33:58 -0500

tszeto wrote:
> 
> Thanks for the reply.
> 
> Do you mean to add export PATH to /etc/profile file? Because it's already in
> there.
> 
> I've tried executing export PATH after I modified the /etc/profile file but
> I get the following:
> bash: export:
> '~/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/local/bin': not a
> valid identifier

Did you say "export PATH" or "export $PATH"?  Don't put a dollar sign
in the export line.

-Wayne Pollock

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

From: [EMAIL PROTECTED] (Ronald Allen)
Subject: RH 6.2  Screen freezes a few mins. after gimp is loaded
Date: Mon, 01 Jan 2001 07:04:27 GMT

Runs OK in Command Line mode but when a desktop program is loaded,
screen and mouse freeze iafter a few minutes.
Any suggestions please?

[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] ("Liu Wu")
Subject: UDMA hard disk
Date: 1 Jan 2001 10:21:15 +0100

I have a UDMA hard disk. I do the steps according to linux howto.
but I input the command line when installation

"linux ide2=0xd800,0xdc02"

it alawys give me the messages

"Unknown option 'ide2=0xd800, 0sdc02'"

it seems that it does not know this option yet. I don't know what's wrong. I
just did what I am told by the linux howto. it doesn't work. the result is
the installation cannot find my hard disk at all.

Thanks a lot!

Regards,
Liu

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
Posted from [129.128.238.59] by way of f301.law10.hotmail.com [64.4.14.176] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

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

From: HP Staber <[EMAIL PROTECTED]>
Subject: Re: Help with partitioning
Date: Mon, 1 Jan 2001 11:05:43  +0100

Nigel Fitchard wrote:
> OK, I admit it - I fell at the first hurdle.
> 
> I wanted to learn Linux, so I went and bought a book which includes a
> Caldera OpenLinux 2.3 CD.  I took my son's Windows 98 PC (he got a
> replacement for Christmas) and fdisked the HDD into oblivion.
> 
> Ran fips from the Linux CD and it errored with "No primary partition". =
 Oops
> !
> 
> So, would some kind soul please advise how I set up my paritions from
> scratch ?  Is there another utility I need to get hold of ?

Been there done that and have the following summary of what I did
regarding partitioning. You might change the sizes of your partitioning
to fit your total disk space.

=10     tools/disc's to be kept at hand :
            Win Rescue Disk
            Drive Partition Disk including (keep a hardcopy of the
            doc's of these programs at hand) :
             FDISK, EDIT, FORMAT, FIPS
             a partition manager such as Rhenisch PART.EXE,
             a rescue program such as MBRWORK.EXE
=10     boot into DOS mode and start FDISK or PART to create primary and
      extended partitions :
      My recommendation is to  have 3 primary drives and one (big)
      extended partion on which you should create your drives which you
      will use with windows.
      The reason for this is that drive letters in the (Win)DOS world
      are assigned according the following rules :
       A:, B: are always floppy drives
       C: is always the active, bootable primary disk
       D:, E:, F: ... N: are the so called "logical" drives created on 
        the extended partition
       (N+1):, (N+2): are the remaining primary drives. The maximum
        total number of primary drives is 4 - if you have an extended
        partition you would have max 3 primary partitions plus one
        extended partition (which within itself may contain "logical"
        drives from D: to max Z:)
      (N+3): is the CD-ROM
      NOTE: drive letters for other primary disk's and CD-ROM's are
      automatically pushed backwards, whenever you add a "logical"
      drive to your extended partition.
      
     THEREFORE my advice is to set/have :
     C: FAT32 active primary partition for Windows -              ~ 1- =
2GigB
     (N): FAT16 primary partition -                               ~    =
1GigB
          you may create a bootable DOS partition on this drive - you 
          never know <:-)
     (N+1): FAT32 primary partition for WIN which should not go beyond
          cylinder # 1984 (which is the end of ~8GigB) -          ~ 5- =
6GigB
          you may later use this to create a LINUX instalation. The
          boot section of LINUX MUST remain below cylinder # 1984 which
          is why I recommend the limit above
          here is where I keep my backup data as it is irrelevant if
          you have a dynamic path (=3Dchanging drive letters) for
          backup's
     an extended partion with the remaining memory available. It should
     be the biggest part of your total diskspace and have at least one
     "logical" drive for all your software installations - I recommend
     to have additional drives for data, games, musik, etc. The advantage =
of
     doing this is that you never loose the correct path statements for
     your software installations and your data files.
     : assign "Z:" as drive letter for your CD-ROM 
     
My personal setup of a 30GigByte harddisk with WinME as main OS is :
                                                                         
=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=
=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=
=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D  =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D
=2D C:WinME=2DG:DOS=2DH:backup/Linux=2D D:data=2DE:software=2DF:reserve =2D=
  =2DZ:CD-ROM=2D
=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=
=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=
=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D  =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D
   1Gig   1Gig    6Gig                22 Gig
   3 PRIMARY PARTITIONS               EXTENDED PARTITION


HP Staber/Salzburg


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

From: "Harald Adams" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Support Maxtor G450
Date: Sun, 31 Dec 2000 13:40:04 +0100

Hi,
does anybody out there know, how I can setup which X server to support the
new maxtor G450 graphic board under Suse 7.0.
Thanx
Harry



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

From: "Bart Declercq" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Suse 7.0 evaluation
Date: Mon, 01 Jan 2001 11:25:02 GMT


KK <[EMAIL PROTECTED]> wrote in message
news:92o9ha$b5f$[EMAIL PROTECTED]...
> Does this mean that SuSE is not GPL?
>

GPL only means they have to provide the source code, they're not required to
make their stuff available on the 'net. Also, on the full version a number
of apps are under non-free licenses.

Bart



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

From: <[EMAIL PROTECTED]>
Subject: HELP!! Installing RedHat 7, using a Sound Blaster CD-ROM
Date: Mon, 01 Jan 2001 11:30:04 -0000

Hi

I am trying to install RedHat 7 on a computer that has an old Sound 
Blaster 16 CD-ROM. (the cdrom that attaches to the SB16 Card).

I can not manage to find a way to install from it. Please Help!

Thanks
David

--
Posted via CNET Help.com
http://www.help.com/

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

From: "Andy Chessum" <[EMAIL PROTECTED]>
Subject: Problem with useradd
Date: Sun, 31 Dec 2000 16:54:47 -0000

Hi,

I'm using SuSE 7.0 on a webserver.

My problem is this:  I want to be able to allow a specific user to run
/usr/sbin/useradd.  I've succeeded in doing this by setting the permissions
to -rwsr-s---.   If I run the command as root with the -m option all is
well, but if I run the command as the user it creates a new user for me but
only partially copies the contents of /etc/skel.

I've tried to set up a new skeleton directory under the directory of the
user invoking useradd but again this only produces part of the directory
tree.

Any ideas?



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

Date: Mon, 01 Jan 2001 12:52:37 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Problem with useradd

Andy Chessum wrote:

> Hi,
>
> I'm using SuSE 7.0 on a webserver.
>
> My problem is this:  I want to be able to allow a specific user to run
> /usr/sbin/useradd.  I've succeeded in doing this by setting the permissions
> to -rwsr-s---.   If I run the command as root with the -m option all is
> well, but if I run the command as the user it creates a new user for me but
> only partially copies the contents of /etc/skel.
>
> I've tried to set up a new skeleton directory under the directory of the
> user invoking useradd but again this only produces part of the directory
> tree.
>
> Any ideas?

Hello,

it's much easier to create or delete user with Yast, of course you only root
can start yast.

I don't know how much you trust this user, as you could give him sudo, that he
can start Yast.

read the manpages that apropos sudo shows you, if you want to use it...

Good luck

Michael Heiming




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


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

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

Reply via email to