Re: [expert] advice please postfix ect.

2003-07-28 Thread Richard Bown
Thanks Guys ,
all fixed :))

removing lines 
myhostname =
masq

worked.
So next step is attack my sons machine as he has the same probs with the
same ISP, but this time add a pop server so his windows machine can get
the mail.

Thanks again
Richard


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread stefmit
Three machines running MDK 9.1: one of them prompts me with the existence of a 
new kernel, the other two don't (via MCC -- Software Management -- Mandrake 
Update). Is there a setup I may have missed on two machines, to enable kernel 
updates to show up?

TIA,
Stef

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] PCTEL HSP56 on LMR741/748 Mother board

2003-07-28 Thread charlie
On Mon, 28 Jul 2003 12:42 pm, Luis Duran wholly or partly mentioned :-
  i am
 using a very old DOS modem wit jumpers, man, it can be so slow.

Luis,
Have you checked that this modem will work on the Internet?
It might be good to post the name and specifications that you know on the 
list. It sounds like a winmodem? 

Always send as much information with any question. There is no such thing as 
too much specific information. Everything you have might not be enough to get 
a reply even.

Charlie

-- 
The simplest questions are the hardest to answer.

Northrop Frye

This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and
OpenOffice.org1.1Beta


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Sound problem after MB upgrade

2003-07-28 Thread Thomas K. Gamble
I recently upgraded my MB to a Tyan Thunder K7X Pro and now I'm having 
problems with sound in MDK 9.1.  I'm using the same sound card as 
before (SB live) and same MDK version (stock kernel).  Here's a 
description of what happens:

After a reboot sound players like xmms will lock up when attempting to 
play a sound file.  I can get sound to work by killing the app and 
kmix, restarting alsad and soundd, then restarting kmix.  Strangely, 
kmix has the master and PCM controls muted when I restart it at this 
point.  Unmute and sound works with one glitch:  If I try to adjust the 
volume from xmms, the sound stops.  Twiddle the PCM control in kmix and 
sound comes back.

Any clues as to what might cause this strange behavior?  Would a kernel 
upgrade fix this?

-- 
Thomas K. Gamble
Los Alamos National Laboratory
Advanced Diagnostics  Instrumentation (C-ADI)
p:505-665-4323 f:505-665-4267
MS-E543


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Charles A Edwards
On Mon, 28 Jul 2003 07:19:21 -0500
stefmit [EMAIL PROTECTED] wrote:

 Three machines running MDK 9.1: one of them prompts me with the
 existence of a new kernel, the other two don't (via MCC -- Software
 Management -- Mandrake Update). Is there a setup I may have missed on
 two machines, to enable kernel updates to show up?


1)Are you sure that it is showing you an update for the kernel or is it
  showing you an update for kernel-source and kernel-doc?

2)On the 2 systems which do not show the update do you have anything
  listed in /etc/urpmi/skip.list?
  No pkg ion the skip.list will appear in MandrakeUpdate or rpmdrake.


Charles

-- 
Linux!  Guerrilla UNIX Development Venimus, Vidimus, Dolavimus.
(By [EMAIL PROTECTED], Mark A. Horton KA4YBR)
-
Mandrake Linux 9.2 on PurpleDragon
Kernel- 2.4.21.6mdk http://www.eslrahc.com 
-



pgp0.pgp
Description: PGP signature


Re: [expert] Sound problem after MB upgrade

2003-07-28 Thread Eric Huff
FWIW, this is what i had to do on my 1st install of 9.1 (2nd worked ok):

0. Run and save kmix

1. Run the aumix gui (i just type aumix at the cl)
2. Under Mute, Mute All is checked (despite the sliders being
non-zero).
Click Mute All to uncheck it   (this will actually mute all:
 the sliders all go to zero)
3. Now go back and reselect mute all  (the sliders then all go back to 
 non-zero values)
4. Save settings

5. Sound should now work, try  alsamixergui if not

IF you're running ALSA drivers:

after installing the alsa-utils, i ran alsactl store (as root) 
and rebooted.  Sound worked on bootup w/o fiddling...

eric


On Mon, 28 Jul 2003 07:14:11 -0600
Thomas K. Gamble [EMAIL PROTECTED] wrote:

 I recently upgraded my MB to a Tyan Thunder K7X Pro and now I'm having
 
 problems with sound in MDK 9.1.  I'm using the same sound card as 
 before (SB live) and same MDK version (stock kernel).  Here's a 
 description of what happens:
 
 After a reboot sound players like xmms will lock up when attempting to
 
 play a sound file.  I can get sound to work by killing the app and 
 kmix, restarting alsad and soundd, then restarting kmix.  Strangely, 
 kmix has the master and PCM controls muted when I restart it at this 
 point.  Unmute and sound works with one glitch:  If I try to adjust
 the volume from xmms, the sound stops.  Twiddle the PCM control in
 kmix and sound comes back.
 
 Any clues as to what might cause this strange behavior?  Would a
 kernel upgrade fix this?

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Brant Fitzsimmons
Charles A Edwards wrote:

On Mon, 28 Jul 2003 07:19:21 -0500
stefmit [EMAIL PROTECTED] wrote:
 

Three machines running MDK 9.1: one of them prompts me with the
existence of a new kernel, the other two don't (via MCC -- Software
Management -- Mandrake Update). Is there a setup I may have missed on
two machines, to enable kernel updates to show up?
   



1)Are you sure that it is showing you an update for the kernel or is it
 showing you an update for kernel-source and kernel-doc?
2)On the 2 systems which do not show the update do you have anything
 listed in /etc/urpmi/skip.list?
 No pkg ion the skip.list will appear in MandrakeUpdate or rpmdrake.
   Charles

 

Are they all getting their info from the same mirror?  The one machine 
could be getting it's info from a mirror that needs to catch up with the 
rest.

--
Brant Fitzsimmons
[EMAIL PROTECTED]

Liberty means responsibility. That is why most men dread it.
-George Bernard Shaw, Man and Superman (1903)
Maxims for Revolutionists



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread stefmit
On Monday 28 July 2003 09:19 am, Charles A Edwards wrote:
 On Mon, 28 Jul 2003 07:19:21 -0500

 stefmit [EMAIL PROTECTED] wrote:
  Three machines running MDK 9.1: one of them prompts me with the
  existence of a new kernel, the other two don't (via MCC -- Software
  Management -- Mandrake Update). Is there a setup I may have missed on
  two machines, to enable kernel updates to show up?

 1)Are you sure that it is showing you an update for the kernel or is it
   showing you an update for kernel-source and kernel-doc?

I meant source, of course - sorry ...


 2)On the 2 systems which do not show the update do you have anything
   listed in /etc/urpmi/skip.list?
   No pkg ion the skip.list will appear in MandrakeUpdate or rpmdrake.

No entries



 Charles

Thx,
Stefan

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Partition Commander 8 Reviews?

2003-07-28 Thread Sevatio
Hey, I just bought Partition Commander 8 and it seems to do the job of 
resizing and moving EXT3  NTFS server very well without any 'error' 
messages.  It even handles ReiserFS.  I would highly recommend this over 
Partition Magic.  Actually, I would recommend that people stay away from 
Partition Magic because of all the errors it keeps reporting when trying 
to handle any of the file systems created with Diskdrake.

Sevatio wrote:
I was just wondering if any of you have used Partition Commander 8 and 
what you thought of it.  I need to be able to resize Ext23, ReiserFS  
Windows 2000 Server NTFS partitions.  Is this software up to the task?

I've used Powerquest Partition Magic  Powerquest Volume Manager (for MS 
Servers) and I think Powerquest puts out some junk that most of the time 
reports errors rather than do the job that's needed.

Thanks,

Sevatio




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Sound problem after MB upgrade

2003-07-28 Thread Thomas K. Gamble
On Monday 28 July 2003 09:11 am, Eric Huff wrote:
 FWIW, this is what i had to do on my 1st install of 9.1 (2nd worked
 ok):

 0. Run and save kmix

 1. Run the aumix gui (i just type aumix at the cl)
 2. Under Mute, Mute All is checked (despite the sliders being
 non-zero).
 Click Mute All to uncheck it   (this will actually mute all:
  the sliders all go to zero)
 3. Now go back and reselect mute all  (the sliders then all go back
 to non-zero values)
 4. Save settings

 5. Sound should now work, try  alsamixergui if not

 IF you're running ALSA drivers:

 after installing the alsa-utils, i ran alsactl store (as root)
 and rebooted.  Sound worked on bootup w/o fiddling...

No joy.  Still requires the same nonsense to get it to work.  The only 
difference I noticed was that cycling the aumix mute, setting the 
levels and saving lets me adjust the volume from xmms without the PCM 
control muting itself.  Some progress though.  Thanks.


 eric

-- 
Thomas K. Gamble
Los Alamos National Laboratory
Advanced Diagnostics  Instrumentation (C-ADI)
p:505-665-4323 f:505-665-4267
MS-E543


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Ryan Hanlon
I installed 9.1 a few weeks ago, and just recently discovered that 
non-root users can't run perl scripts.  If I run any script with 
#!/usr/bin/perl in the first line, I get something like this:

-bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied


The script itself is executable, and permissions are correct on Perl.
(/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which is 755)

There are no \r's or other odd characters in the shebang line.

There are no acl's set on any of /usr/bin/perl* or the parent directories.

Any normal user can execute /usr/bin/perl somescript.pl, but can't run 
somescript.pl by itself.


If this is a problem with the default Mandrake setup then I'm sure the 
question has been asked before, but I haven't found any suggestions on 
Google except the usual things above.  Is there anything else that can 
cause this?  Maybe extra restrictions set in kernel-secure?  I can't 
imagine why someone would think that's a security feature.  And for the 
bonus question, how can I undo whatever it is that prevents users from 
running perl normally?

Appreciate any thoughts.

Ryan


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] mii-tool for GigE?

2003-07-28 Thread Tru64 User
Hi All,

I know how to use mii-tool for manipulating e100 nics,
is there a similar tool for e1000?

Seems its not meant to work with Gig cards, getting
error below:
$ mii-tool
eth0: 100 Mbit, full duplex, link ok
SIOCGMIIPHY on 'eth1' failed: Operation not supported
eth1==e1000

_Thanks

Richard


=


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Jack Coates
Funky. What's the msec SECURE_LEVEL? cat /etc/sysconfig/msec. If it's 4
or 5, that's a damn good place to start looking.

On Mon, 2003-07-28 at 12:14, Ryan Hanlon wrote:
 I installed 9.1 a few weeks ago, and just recently discovered that 
 non-root users can't run perl scripts.  If I run any script with 
 #!/usr/bin/perl in the first line, I get something like this:
 
 -bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied
 
 
 The script itself is executable, and permissions are correct on Perl.
 (/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which is 755)
 
 There are no \r's or other odd characters in the shebang line.
 
 There are no acl's set on any of /usr/bin/perl* or the parent directories.
 
 Any normal user can execute /usr/bin/perl somescript.pl, but can't run 
 somescript.pl by itself.
 
 
 If this is a problem with the default Mandrake setup then I'm sure the 
 question has been asked before, but I haven't found any suggestions on 
 Google except the usual things above.  Is there anything else that can 
 cause this?  Maybe extra restrictions set in kernel-secure?  I can't 
 imagine why someone would think that's a security feature.  And for the 
 bonus question, how can I undo whatever it is that prevents users from 
 running perl normally?
 
 Appreciate any thoughts.
 
 Ryan
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] OT: What is BBCode?

2003-07-28 Thread Anne Wilson
BBCode?

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Ryan Hanlon
Here's the /etc/security/msec directory:

-rwxr-xr-x1 root root0 Jul 10 11:47 security.conf*
lrwxrwxrwx1 root root   27 Jul 10 11:05 server - 
/etc/security/msec/server.4
-rw-r--r--1 root root  193 Mar  7 06:41 server.4
-rw-r--r--1 root root  104 Mar  7 06:41 server.5

And env says SECURE_LEVEL=4.  From that directory though, I can't see the 
correct way to set it lower than 4.  I don't think you can just change the 
variable (I can 'export SECURE_LEVEL=1', but it doesn't change the perl 
behavior).

Ryan


On 28 Jul 2003, Jack Coates wrote:

 Funky. What's the msec SECURE_LEVEL? cat /etc/sysconfig/msec. If it's 4
 or 5, that's a damn good place to start looking.
 
 On Mon, 2003-07-28 at 12:14, Ryan Hanlon wrote:
  I installed 9.1 a few weeks ago, and just recently discovered that 
  non-root users can't run perl scripts.  If I run any script with 
  #!/usr/bin/perl in the first line, I get something like this:
  
  -bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied
  
  
  The script itself is executable, and permissions are correct on Perl.
  (/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which is 755)
  
  There are no \r's or other odd characters in the shebang line.
  
  There are no acl's set on any of /usr/bin/perl* or the parent directories.
  
  Any normal user can execute /usr/bin/perl somescript.pl, but can't run 
  somescript.pl by itself.
  
  
  If this is a problem with the default Mandrake setup then I'm sure the 
  question has been asked before, but I haven't found any suggestions on 
  Google except the usual things above.  Is there anything else that can 
  cause this?  Maybe extra restrictions set in kernel-secure?  I can't 
  imagine why someone would think that's a security feature.  And for the 
  bonus question, how can I undo whatever it is that prevents users from 
  running perl normally?
  
  Appreciate any thoughts.
  
  Ryan
  
  
  
  __
  
  Want to buy your Pack or Services from MandrakeSoft? 
  Go to http://www.mandrakestore.com
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] mii-tool for GigE?

2003-07-28 Thread Guillaume Marcais
Try ethtool

Guillaume.

On Mon, 2003-07-28 at 15:57, Tru64 User wrote:
 Hi All,
 
 I know how to use mii-tool for manipulating e100 nics,
 is there a similar tool for e1000?
 
 Seems its not meant to work with Gig cards, getting
 error below:
 $ mii-tool
 eth0: 100 Mbit, full duplex, link ok
 SIOCGMIIPHY on 'eth1' failed: Operation not supported
 eth1==e1000
 
 _Thanks
 
 Richard
 
 
 =
 
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Vmware MDK 9.2 beta

2003-07-28 Thread subscribe
Hi ,
i've just downloaded det latest MDK beta, but I can't seem to
get the display to work in vmware under installation 

Anyone tried this ?

---
Trond




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] OT: What is BBCode?

2003-07-28 Thread Bill Mullen
On Mon, 28 Jul 2003, Anne Wilson wrote:

 BBCode?

A pseudo-HTML type of code usable only within the message posting area of
certain types of websites which contain forums, of the sort that are
provided by several packages like phpBB. While BBcode will vary from one
implementation to the next, it is usually a set of commands enclosed in
square brackets (as opposed to HTML's angle brackets), and with the same
[on]text[/on] on-off convention of using a forward slash before the
option name to signify the turning off of that option. Examples:

http://www.oooforum.org/forum/faq.php?mode=bbcode
http://www.programmers-unlimited.com/forum/bbcoderef.php
http://2002.sxsw.com/forum/faq.php#bbcode

HTH!

-- 
Bill Mullen   [EMAIL PROTECTED]   MA, USA   RLU #270075   MDK 8.1  9.0
There are two kinds of people in the world, those who believe there are
two kinds of people in the world and those who don't. - Robert Benchley

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Setting PATH

2003-07-28 Thread Kwan Lowe
On Mon, 2003-07-28 at 17:25, Jure Repinc wrote:
 
 How do I set system wide PATH for bash?

edit /etc/profile

 And how do I set PATH for individual users?

edit ~/.bash_profile 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] OT: What is BBCode?

2003-07-28 Thread Anne Wilson
On Monday 28 Jul 2003 9:36 pm, Bill Mullen wrote:
 On Mon, 28 Jul 2003, Anne Wilson wrote:
  BBCode?

 A pseudo-HTML type of code usable only within the message posting
 area of certain types of websites which contain forums, of the
 sort that are provided by several packages like phpBB. While BBcode
 will vary from one implementation to the next, it is usually a set
 of commands enclosed in square brackets (as opposed to HTML's angle
 brackets), and with the same [on]text[/on] on-off convention of
 using a forward slash before the option name to signify the turning
 off of that option. Examples:

 http://www.oooforum.org/forum/faq.php?mode=bbcode
 http://www.programmers-unlimited.com/forum/bbcoderef.php
 http://2002.sxsw.com/forum/faq.php#bbcode

 HTH!

Sort of g  It is, of course, on forum sites that I have seen it, but 
I don't really see the point.  Ah well, I'm turning into a real old 
fogey that thinks plain text should be good enough for anyone in a 
serious discussion vgb

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Thomas Backlund
Viestissä Maanantai 28 Heinäkuu 2003 23:30, Ryan Hanlon kirjoitti:
 Here's the /etc/security/msec directory:

 -rwxr-xr-x1 root root0 Jul 10 11:47 security.conf*
 lrwxrwxrwx1 root root   27 Jul 10 11:05 server -
 /etc/security/msec/server.4 -rw-r--r--1 root root  193 Mar 
 7 06:41 server.4
 -rw-r--r--1 root root  104 Mar  7 06:41 server.5

 And env says SECURE_LEVEL=4.  From that directory though, I can't see the
 correct way to set it lower than 4.  I don't think you can just change the
 variable (I can 'export SECURE_LEVEL=1', but it doesn't change the perl
 behavior).

 Ryan

'man msec' will tell you how to change the security level...

Thomas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Jack Coates
On Mon, 2003-07-28 at 13:30, Ryan Hanlon wrote:
 Here's the /etc/security/msec directory:
 
 -rwxr-xr-x1 root root0 Jul 10 11:47 security.conf*
 lrwxrwxrwx1 root root   27 Jul 10 11:05 server - 
 /etc/security/msec/server.4
 -rw-r--r--1 root root  193 Mar  7 06:41 server.4
 -rw-r--r--1 root root  104 Mar  7 06:41 server.5
 

that's very nice, now cat /etc/sysconfig/msec like I said :-) That's
where you'll see the level that's being set.

 And env says SECURE_LEVEL=4.  From that directory though, I can't see the 
 correct way to set it lower than 4.  I don't think you can just change the 
 variable (I can 'export SECURE_LEVEL=1', but it doesn't change the perl 
 behavior).
 
 Ryan
 

man msec -- you can msec [level] to change it.

 
 On 28 Jul 2003, Jack Coates wrote:
 
  Funky. What's the msec SECURE_LEVEL? cat /etc/sysconfig/msec. If it's 4
  or 5, that's a damn good place to start looking.
  
  On Mon, 2003-07-28 at 12:14, Ryan Hanlon wrote:
   I installed 9.1 a few weeks ago, and just recently discovered that 
   non-root users can't run perl scripts.  If I run any script with 
   #!/usr/bin/perl in the first line, I get something like this:
   
   -bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied
   
   
   The script itself is executable, and permissions are correct on Perl.
   (/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which is 755)
   
   There are no \r's or other odd characters in the shebang line.
   
   There are no acl's set on any of /usr/bin/perl* or the parent directories.
   
   Any normal user can execute /usr/bin/perl somescript.pl, but can't run 
   somescript.pl by itself.
   
   
   If this is a problem with the default Mandrake setup then I'm sure the 
   question has been asked before, but I haven't found any suggestions on 
   Google except the usual things above.  Is there anything else that can 
   cause this?  Maybe extra restrictions set in kernel-secure?  I can't 
   imagine why someone would think that's a security feature.  And for the 
   bonus question, how can I undo whatever it is that prevents users from 
   running perl normally?
   
   Appreciate any thoughts.
   
   Ryan
   
   
   
   __
   
   Want to buy your Pack or Services from MandrakeSoft? 
   Go to http://www.mandrakestore.com
  
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Setting PATH

2003-07-28 Thread Jure Repinc
Hi

How do I set system wide PATH for bash?
And how do I set PATH for individual users?
Thanks in advance.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Why doesn't msec set directory permissions?

2003-07-28 Thread Avi Schwartz
I asked this question on the newbie side but received no replies.  
Maybe it is a question for the experts...

Because the machine in question will end being a server connected 24x7 
to the Internet, I set its security level to higher (4).  However, I 
want to change the privileges for /usr/share/doc to be world browsable 
and readable.  I used drakeperm to set the directory permissions and 
when I look at /etc/security/msec/perm.local I see the following line:

/usr/share/doc/adm.adm755

I then ran msec but when I checked the permissions on the directory I 
still see:

drwxr-x--- 297 admadm

In /var/log/messages I do see that msec is reading the perm.local file.

Any idea why is msec ignoring my permissions?

Thanks,
Avi

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread ryan
Sorry :)  /etc/sysconfig/msec says:

UMASK_ROOT=022
SECURE_LEVEL=4
HISTFILESIZE=10
UMASK_USER=022
TMOUT=0

I tried running msec but no matter which level I set it to, it still
doesn't seem to affect the perl behavior.  Whatever level I set does show
in /etc/sysconfig/msec.

Ryan

 On Mon, 2003-07-28 at 13:30, Ryan Hanlon wrote:
 Here's the /etc/security/msec directory:

 -rwxr-xr-x1 root root Jul 10 11:47 security.conf*
 lrwxrwxrwx1 root root   27 Jul 10 11:05 server -
 /etc/security/msec/server.4
 -rw-r--r--1 root root  193 Mar  7 06:41 server.4
 -rw-r--r--1 root root  104 Mar  7 06:41 server.5


 that's very nice, now cat /etc/sysconfig/msec like I said :-) That's
 where you'll see the level that's being set.

 And env says SECURE_LEVEL=4.  From that directory though, I can't see
 the
 correct way to set it lower than 4.  I don't think you can just change
 the
 variable (I can 'export SECURE_LEVEL=1', but it doesn't change the perl
 behavior).

 Ryan


 man msec -- you can msec [level] to change it.


 On 28 Jul 2003, Jack Coates wrote:

  Funky. What's the msec SECURE_LEVEL? cat /etc/sysconfig/msec. If it's
 4
  or 5, that's a damn good place to start looking.
 
  On Mon, 2003-07-28 at 12:14, Ryan Hanlon wrote:
   I installed 9.1 a few weeks ago, and just recently discovered that
   non-root users can't run perl scripts.  If I run any script with
   #!/usr/bin/perl in the first line, I get something like this:
  
   -bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied
  
  
   The script itself is executable, and permissions are correct on
 Perl.
   (/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which
 is 755)
  
   There are no \r's or other odd characters in the shebang line.
  
   There are no acl's set on any of /usr/bin/perl* or the parent
 directories.
  
   Any normal user can execute /usr/bin/perl somescript.pl, but can't
 run
   somescript.pl by itself.
  
  
   If this is a problem with the default Mandrake setup then I'm sure
 the
   question has been asked before, but I haven't found any suggestions
 on
   Google except the usual things above.  Is there anything else that
 can
   cause this?  Maybe extra restrictions set in kernel-secure?  I can't
   imagine why someone would think that's a security feature.  And for
 the
   bonus question, how can I undo whatever it is that prevents users
 from
   running perl normally?
  
   Appreciate any thoughts.
  
   Ryan
  
  
  
   __
  
   Want to buy your Pack or Services from MandrakeSoft?
   Go to http://www.mandrakestore.com
 



 __

 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 --
 Jack Coates
 Monkeynoodle: A Scientific Venture...





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Jack Coates
dang, there goes the easy solution. Next step is to rpm -e --force perl
and urpmi perl.

On Mon, 2003-07-28 at 15:38, [EMAIL PROTECTED] wrote:
 Sorry :)  /etc/sysconfig/msec says:
 
 UMASK_ROOT=022
 SECURE_LEVEL=4
 HISTFILESIZE=10
 UMASK_USER=022
 TMOUT=0
 
 I tried running msec but no matter which level I set it to, it still
 doesn't seem to affect the perl behavior.  Whatever level I set does show
 in /etc/sysconfig/msec.
 
 Ryan
 
  On Mon, 2003-07-28 at 13:30, Ryan Hanlon wrote:
  Here's the /etc/security/msec directory:
 
  -rwxr-xr-x1 root root Jul 10 11:47 security.conf*
  lrwxrwxrwx1 root root   27 Jul 10 11:05 server -
  /etc/security/msec/server.4
  -rw-r--r--1 root root  193 Mar  7 06:41 server.4
  -rw-r--r--1 root root  104 Mar  7 06:41 server.5
 
 
  that's very nice, now cat /etc/sysconfig/msec like I said :-) That's
  where you'll see the level that's being set.
 
  And env says SECURE_LEVEL=4.  From that directory though, I can't see
  the
  correct way to set it lower than 4.  I don't think you can just change
  the
  variable (I can 'export SECURE_LEVEL=1', but it doesn't change the perl
  behavior).
 
  Ryan
 
 
  man msec -- you can msec [level] to change it.
 
 
  On 28 Jul 2003, Jack Coates wrote:
 
   Funky. What's the msec SECURE_LEVEL? cat /etc/sysconfig/msec. If it's
  4
   or 5, that's a damn good place to start looking.
  
   On Mon, 2003-07-28 at 12:14, Ryan Hanlon wrote:
I installed 9.1 a few weeks ago, and just recently discovered that
non-root users can't run perl scripts.  If I run any script with
#!/usr/bin/perl in the first line, I get something like this:
   
-bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied
   
   
The script itself is executable, and permissions are correct on
  Perl.
(/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which
  is 755)
   
There are no \r's or other odd characters in the shebang line.
   
There are no acl's set on any of /usr/bin/perl* or the parent
  directories.
   
Any normal user can execute /usr/bin/perl somescript.pl, but can't
  run
somescript.pl by itself.
   
   
If this is a problem with the default Mandrake setup then I'm sure
  the
question has been asked before, but I haven't found any suggestions
  on
Google except the usual things above.  Is there anything else that
  can
cause this?  Maybe extra restrictions set in kernel-secure?  I can't
imagine why someone would think that's a security feature.  And for
  the
bonus question, how can I undo whatever it is that prevents users
  from
running perl normally?
   
Appreciate any thoughts.
   
Ryan
   
   
   
__
   
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
  
 
 
 
  __
 
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com
  --
  Jack Coates
  Monkeynoodle: A Scientific Venture...
 
 
 
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Setting PATH

2003-07-28 Thread Guillaume Marcais
You actually might want to create a file in /etc/profile.d:

echo PATH=$PATH:/great/path  /etc/profile.d/path.sh
chmod a+rx /etc/profile.d/path.sh

That's it.
Guillaume.

On Mon, 2003-07-28 at 17:40, Kwan Lowe wrote:
 On Mon, 2003-07-28 at 17:25, Jure Repinc wrote:
  
  How do I set system wide PATH for bash?
 
 edit /etc/profile
 
  And how do I set PATH for individual users?
 
 edit ~/.bash_profile 
 
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread David Guntner
stefmit grabbed a keyboard and wrote:

 Three machines running MDK 9.1: one of them prompts me with the existence
 of a new kernel, the other two don't (via MCC -- Software Management --
 Mandrake Update). Is there a setup I may have missed on two machines, to
 enable kernel updates to show up?

I don't know why it showed up on the one, Mandrake screened kernels out of
the Mandrake Update program.  You don't WANT them to show up there,
because then you might be temped to use MU to update a kernel.  At which
point, you end up with a *really* big mess on your hands.

Download the kernel manually, then use rpm to install it (-ivh), not
update.  Remember to run lilo (assuming that's what you use for your boot
loader) to put the new kernel into the boot sequence.  When you're sure
that the new kernel works, rpm -e the old kernel, edit /etc/lilo.conf to
take references to the old kernel out and set the new kernel as the
default, run lilo again, and you're done.

 --Dave


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 10:51, stefmit wrote:
 On Monday 28 July 2003 09:19 am, Charles A Edwards wrote:
  On Mon, 28 Jul 2003 07:19:21 -0500
 
  stefmit [EMAIL PROTECTED] wrote:
   Three machines running MDK 9.1: one of them prompts me with the
   existence of a new kernel, the other two don't (via MCC -- Software
   Management -- Mandrake Update). Is there a setup I may have missed on
   two machines, to enable kernel updates to show up?
 
  1)Are you sure that it is showing you an update for the kernel or is it
showing you an update for kernel-source and kernel-doc?
 
 I meant source, of course - sorry ...
 
 
  2)On the 2 systems which do not show the update do you have anything
listed in /etc/urpmi/skip.list?
No pkg ion the skip.list will appear in MandrakeUpdate or rpmdrake.
 
 No entries


looks like kernel source and doc are installed on the ones it shows up
for but not on the other one.  when working right it should only show
you updates for installed software.

James

 
 
 
  Charles
 
 Thx,
 Stefan
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Avi Schwartz
Mandrake should change their kernel installation instructions in the 
latest Security Advisory since they say there:

To upgrade automatically, use MandrakeUpdate.  If you want to upgrade 
manually, download the updated package(s) from one of our FTP server 
mirrors and upgrade with rpm -Fvh *.rpm.

Avi

On Monday, Jul 28, 2003, at 20:00 America/Chicago, David Guntner wrote:

stefmit grabbed a keyboard and wrote:
Three machines running MDK 9.1: one of them prompts me with the 
existence
of a new kernel, the other two don't (via MCC -- Software Management 
--
Mandrake Update). Is there a setup I may have missed on two machines, 
to
enable kernel updates to show up?
I don't know why it showed up on the one, Mandrake screened kernels 
out of
the Mandrake Update program.  You don't WANT them to show up there,
because then you might be temped to use MU to update a kernel.  At 
which
point, you end up with a *really* big mess on your hands.

Download the kernel manually, then use rpm to install it (-ivh), not
update.  Remember to run lilo (assuming that's what you use for your 
boot
loader) to put the new kernel into the boot sequence.  When you're sure
that the new kernel works, rpm -e the old kernel, edit 
/etc/lilo.conf to
take references to the old kernel out and set the new kernel as the
default, run lilo again, and you're done.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 15:38, [EMAIL PROTECTED] wrote:
 Sorry :)  /etc/sysconfig/msec says:
 
 UMASK_ROOT=022
 SECURE_LEVEL=4
 HISTFILESIZE=10
 UMASK_USER=022
 TMOUT=0
 
 I tried running msec but no matter which level I set it to, it still
 doesn't seem to affect the perl behavior.  Whatever level I set does show
 in /etc/sysconfig/msec.
 
 Ryan

Ok... I'm a dummy here but one question.  Does the first line in the
perl script the one that should be something like

#!/usr/bin/perl

Actually say that or does it say

#!/usr/local/bin/perl

If it does then either change the second to the first or but a
symlink in usr/local/bin to perl in usr bin. (second one is better
you'll see this a lot.)

James

 
  On Mon, 2003-07-28 at 13:30, Ryan Hanlon wrote:
  Here's the /etc/security/msec directory:
 
  -rwxr-xr-x1 root root Jul 10 11:47 security.conf*
  lrwxrwxrwx1 root root   27 Jul 10 11:05 server -
  /etc/security/msec/server.4
  -rw-r--r--1 root root  193 Mar  7 06:41 server.4
  -rw-r--r--1 root root  104 Mar  7 06:41 server.5
 
 
  that's very nice, now cat /etc/sysconfig/msec like I said :-) That's
  where you'll see the level that's being set.
 
  And env says SECURE_LEVEL=4.  From that directory though, I can't see
  the
  correct way to set it lower than 4.  I don't think you can just change
  the
  variable (I can 'export SECURE_LEVEL=1', but it doesn't change the perl
  behavior).
 
  Ryan
 
 
  man msec -- you can msec [level] to change it.
 
 
  On 28 Jul 2003, Jack Coates wrote:
 
   Funky. What's the msec SECURE_LEVEL? cat /etc/sysconfig/msec. If it's
  4
   or 5, that's a damn good place to start looking.
  
   On Mon, 2003-07-28 at 12:14, Ryan Hanlon wrote:
I installed 9.1 a few weeks ago, and just recently discovered that
non-root users can't run perl scripts.  If I run any script with
#!/usr/bin/perl in the first line, I get something like this:
   
-bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied
   
   
The script itself is executable, and permissions are correct on
  Perl.
(/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which
  is 755)
   
There are no \r's or other odd characters in the shebang line.
   
There are no acl's set on any of /usr/bin/perl* or the parent
  directories.
   
Any normal user can execute /usr/bin/perl somescript.pl, but can't
  run
somescript.pl by itself.
   
   
If this is a problem with the default Mandrake setup then I'm sure
  the
question has been asked before, but I haven't found any suggestions
  on
Google except the usual things above.  Is there anything else that
  can
cause this?  Maybe extra restrictions set in kernel-secure?  I can't
imagine why someone would think that's a security feature.  And for
  the
bonus question, how can I undo whatever it is that prevents users
  from
running perl normally?
   
Appreciate any thoughts.
   
Ryan
   
   
   
__
   
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
  
 
 
 
  __
 
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com
  --
  Jack Coates
  Monkeynoodle: A Scientific Venture...
 
 
 
 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] OT: What is BBCode?

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 14:48, Anne Wilson wrote:
 On Monday 28 Jul 2003 9:36 pm, Bill Mullen wrote:
  On Mon, 28 Jul 2003, Anne Wilson wrote:
   BBCode?
 
  A pseudo-HTML type of code usable only within the message posting
  area of certain types of websites which contain forums, of the
  sort that are provided by several packages like phpBB. While BBcode
  will vary from one implementation to the next, it is usually a set
  of commands enclosed in square brackets (as opposed to HTML's angle
  brackets), and with the same [on]text[/on] on-off convention of
  using a forward slash before the option name to signify the turning
  off of that option. Examples:
 
  http://www.oooforum.org/forum/faq.php?mode=bbcode
  http://www.programmers-unlimited.com/forum/bbcoderef.php
  http://2002.sxsw.com/forum/faq.php#bbcode
 
  HTH!
 
 Sort of g  It is, of course, on forum sites that I have seen it, but 
 I don't really see the point.  Ah well, I'm turning into a real old 
 fogey that thinks plain text should be good enough for anyone in a 
 serious discussion vgb
 
 Anne

   Anne,
   This is what I think of when someone talks to me about elegance
in programming.  I really hate to hear that word spoken around working
programs that need to be modified in a minor way.  To me it usually
means

1.  I can't read code and figure out what it's doing, but I writes code
real good like. (translation: that bug fix will take 6 months while I
rewrite your entire code base.)

2.  The guy who invented that language is an idiot.  My religion has a
higher god than his. ( translation: I can't understand the logic
constructs in that language so I've got another one I think I can
program in.)AKA My language is cooler than your language.

3.  Lack of research to see if what they are inventing already exists. 
(translation:  I didn't know about that tool you are using... the one
with the bug eyes... yeah yeah google that's it.) 

I often refer to this disease as the M$ syndrome, or, the NIBM(not
invented by me) so it can't be any good, problem.

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Vmware MDK 9.2 beta

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 13:55, subscribe wrote:
 Hi ,
 i've just downloaded det latest MDK beta, but I can't seem to
 get the display to work in vmware under installation 
 
 Anyone tried this ?
 
 ---
 Trond


Not trying to push you out, or, blow you off.  But (and it would be
helpful if you would please.) Could you post this question in the
cooker.  Since that list is specifically aimed at the beta (and
pre-beta) MDK distro, chances are better someone can actually fix your
problem. Also since it is an important program (vmware) I'm sure they
would be interested in knowing about the problems you are having.

James

 
 
 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 18:26, Avi Schwartz wrote:
 Mandrake should change their kernel installation instructions in the 
 latest Security Advisory since they say there:
 
 To upgrade automatically, use MandrakeUpdate.  If you want to upgrade 
 manually, download the updated package(s) from one of our FTP server 
 mirrors and upgrade with rpm -Fvh *.rpm.
 
 Avi

Avi 

   Not quite... if you do Fvh... things could get real spooky.  You
never upgrade or freshen a kernel.. It always has to be installed (ivh )
otherwise all of the proper scripts to bind it to your computer will not
get run and the end result will be.. a bit bucket.

James

 
 
 On Monday, Jul 28, 2003, at 20:00 America/Chicago, David Guntner wrote:
 
  stefmit grabbed a keyboard and wrote:
 
  Three machines running MDK 9.1: one of them prompts me with the 
  existence
  of a new kernel, the other two don't (via MCC -- Software Management 
  --
  Mandrake Update). Is there a setup I may have missed on two machines, 
  to
  enable kernel updates to show up?
 
  I don't know why it showed up on the one, Mandrake screened kernels 
  out of
  the Mandrake Update program.  You don't WANT them to show up there,
  because then you might be temped to use MU to update a kernel.  At 
  which
  point, you end up with a *really* big mess on your hands.
 
  Download the kernel manually, then use rpm to install it (-ivh), not
  update.  Remember to run lilo (assuming that's what you use for your 
  boot
  loader) to put the new kernel into the boot sequence.  When you're sure
  that the new kernel works, rpm -e the old kernel, edit 
  /etc/lilo.conf to
  take references to the old kernel out and set the new kernel as the
  default, run lilo again, and you're done.
 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread David Guntner
Avi Schwartz grabbed a keyboard and wrote:

 Mandrake should change their kernel installation instructions in the
 latest Security Advisory since they say there:

 To upgrade automatically, use MandrakeUpdate.  If you want to upgrade
 manually, download the updated package(s) from one of our FTP server
 mirrors and upgrade with rpm -Fvh *.rpm.

No argument there. :-)

   --Dave


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Pierre Fortin
On 28 Jul 2003 18:26:34 -0700 James Sparenberg [EMAIL PROTECTED]
wrote:

 Ok... I'm a dummy here but one question.  Does the first line in the
 perl script the one that should be something like
 
 #!/usr/bin/perl
 
 Actually say that or does it say
 
 #!/usr/local/bin/perl

Or worse:  #!/usr.perl\r\n ?
  ^^
This is one of the most subtle problems when a script won't start...  it's
not visible in most editors unless in hex mode.  This bug makes it
appear the progname contains a carriage return as the last character of
its name.

I didn't respond sooner because the Subject implies the script does work
when run as root...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] ATTN MANDRAKE: Kernel update and then everything is world writable?

2003-07-28 Thread Vincent Danen
On Fri Jul 25, 2003 at 03:02:12PM -0600, Charlie wrote:

  Please back out to 18mdk or 13mdk until we get this fixed.  I have to pull
  those kernels off the mirror sites now.
 
  Thanks for alerting us to this.  This sort of thing demonstrates the need
  for a formal bug tracker for post-release releases.
 
 Thank you Vincent, secteam members, Juan and the kernel developers. 

You're very welcome.

 The information above and the notification(s) you sent regarding kernels and 
 XFS being safe helped with the install I had to help with yesterday. It 
 would have been a nightmare to have to call the gentleman to explain any of 
 this after finally convincing him to give Mandrake a chance.

Yeah.. I can imagine that wouldn't be too much fun.

 If you're wondering he's thoroughly impressed and he's already advocating the 
 distribution to his total neophyte business neighbour. 

Good stuff!

 Damn! You MandrakeSoft people are good. :-)

Well, certainly do make our best effort.  =)

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
Online Security Resource Book; http://linsec.ca/
lynx -source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}



pgp0.pgp
Description: PGP signature


Re: [expert] Copying a file across NFS

2003-07-28 Thread Rob Blomquist

 This sounds exactly as you describe...  collisions!  They are due to a
 number of reasons; but some things to check:

 1. Bypass the hub with a direct (rolled) cable.  If this works (check
 collisions in ifconfig), then replace your hub with a switch which doesn't
 suffer from the following...  Note: some hubs are really switches...  A
 real hub is a cheap buffered repeater -- the buffer is rather small (acts
 like an elastic buffer); it snaps when a sending NIC's crystal is out
 of specs -- the snap results in the hub sending a jam (collision) back
 to the sending NIC.  Bypassing the hub eliminates the hub's elastic
 buffer.  I'm surprised you're able to send that much data if this is the
 problem though...

Well the hub I use a LinkSys NH-105 connects all the machines on the network, 
our DSL router, my Linux box, our File server, and my wife's laptop.

I have not recently checked my wife's laptop, but the only time that I see 
these collisions is between my box and the file server. And yes, I did get 
650Mb to pass after rebooting the server.

 2. Near end collisions:  are your cables direct, or running through
 hookups around the house?  Poor connections and not enough twists in the
 pairs or poor cable at the sending end can result in near-end collisions
 due to crosstalk from sending signal back into sender's receiver circuitry
 -- hearing itself.
We just moved, and right now all connections with the hub to machines are less 
than 10 feet. So I don't think there is a problem there, but maybe the hub to 
FS cable is bad, it has gotten a bit of strain, as I forget it is only 3 feet 
long.


 3. If your NIC is an Intel eepro10, consider trying something else...  I
 had this very problem when transferring large files...  interestingly, the
 apparently random failures were at exactly the same point on any specific
 file.

No I run a mixture of 3Com 3C509  and D-Link RTL 8139 using the 8139too 
driver.

 4. If you're using coax, you may have termination problems (no need to
 discuss now unless you have coax).

Nope, CAT-5e.

I will check the cables and the hub as you say, and replace as needed, 
upgrading the hub if needed.

Rob
-- 

Linux: For the people, by the people.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Rolf Pedersen
David Guntner wrote:
James Sparenberg grabbed a keyboard and wrote:

On Mon, 2003-07-28 at 18:26, Avi Schwartz wrote:

Mandrake should change their kernel installation instructions in the
latest Security Advisory since they say there:
To upgrade automatically, use MandrakeUpdate.  If you want to upgrade
manually, download the updated package(s) from one of our FTP server
mirrors and upgrade with rpm -Fvh *.rpm.
  Not quite... if you do Fvh... things could get real spooky.  You
never upgrade or freshen a kernel.. It always has to be installed (ivh )
otherwise all of the proper scripts to bind it to your computer will not
get run and the end result will be.. a bit bucket.


Oh yea, foo.  What he said.

Like I said in *my* original reply to the poster, use -ivh to install the
new kernel and -e to remove the old one.
Quit confusing me! :-)

 --Dave
Read the post!  Avi is saying the instructions, which he quotes, are 
wrong (for the kernel).
--
 _
 YO! 
 -
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Vincent Danen
On Mon Jul 28, 2003 at 08:26:24PM -0500, Avi Schwartz wrote:

 Mandrake should change their kernel installation instructions in the 
 latest Security Advisory since they say there:
 
 To upgrade automatically, use MandrakeUpdate.  If you want to upgrade 
 manually, download the updated package(s) from one of our FTP server 
 mirrors and upgrade with rpm -Fvh *.rpm.

It's a canned message.  If people are going to read that part of the
advisory, they should also read the part about following the instructions at
a page on MandrakeSecure:

http://www.mandrakesecure.net/en/kernelupdate.php

I love it when people read the inconsequential part of an advisory and miss
the actual advisory text.

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
Online Security Resource Book; http://linsec.ca/
lynx -source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}



pgp0.pgp
Description: PGP signature


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Gary Montalbine


David Guntner wrote:
James Sparenberg grabbed a keyboard and wrote:

On Mon, 2003-07-28 at 18:26, Avi Schwartz wrote:

Mandrake should change their kernel installation instructions in the
latest Security Advisory since they say there:
To upgrade automatically, use MandrakeUpdate.  If you want to upgrade
manually, download the updated package(s) from one of our FTP server
mirrors and upgrade with rpm -Fvh *.rpm.
  Not quite... if you do Fvh... things could get real spooky.  You
never upgrade or freshen a kernel.. It always has to be installed (ivh )
otherwise all of the proper scripts to bind it to your computer will not
get run and the end result will be.. a bit bucket.


One set of instructions said to use urpmi kernel. I did and it 
worked.

Gary


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 19:30, Pierre Fortin wrote:
 On 28 Jul 2003 18:26:34 -0700 James Sparenberg [EMAIL PROTECTED]
 wrote:
 
  Ok... I'm a dummy here but one question.  Does the first line in the
  perl script the one that should be something like
  
  #!/usr/bin/perl
  
  Actually say that or does it say
  
  #!/usr/local/bin/perl
 
 Or worse:  #!/usr.perl\r\n ?
   ^^
 This is one of the most subtle problems when a script won't start...  it's
 not visible in most editors unless in hex mode.  This bug makes it
 appear the progname contains a carriage return as the last character of
 its name.
 
 I didn't respond sooner because the Subject implies the script does work
 when run as root...


I was kinda keying of the fact that he said a normal user could do 

/usr/bin/perl somescript.pl

but not 

somescript.pl

even though it is 755 in permissions.  
 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] autoconf

2003-07-28 Thread dfox
Somebody scribbled about Re: [expert] autoconf

-- PLEASE NOTICE --- this version is meant to coexist with
 autoconf-2.13 (for backwards compatibility); to that end, the various

Cool. I seem to remember that happening before. With a little bit of
checking I found it in the autoconf2.5 rpm. No wonder urpmi said
nothing to do when I said to upgrade autoconf.

 select it by providing the environment variable WANT_AUTOCONF_2_5 set
 to `1' (use WANT_AUTOCONF_2_1 if you want the 2.13 version).

It seems more packages are requesting 2.5 - especially KDE etc.

-- 

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Rolf Pedersen
Vincent Danen wrote:
On Mon Jul 28, 2003 at 08:26:24PM -0500, Avi Schwartz wrote:


Mandrake should change their kernel installation instructions in the 
latest Security Advisory since they say there:

To upgrade automatically, use MandrakeUpdate.  If you want to upgrade 
manually, download the updated package(s) from one of our FTP server 
mirrors and upgrade with rpm -Fvh *.rpm.


It's a canned message.  If people are going to read that part of the
advisory, they should also read the part about following the instructions at
a page on MandrakeSecure:
http://www.mandrakesecure.net/en/kernelupdate.php

I love it when people read the inconsequential part of an advisory and miss
the actual advisory text.
I have been among those who have diligently read through the whole page 
to come across the inappropriate (wrt kernel) canned message.  It is 
not easy to make a distinction between what is merely there because it 
might be part of a page template and what is to be taken as part of the 
instruction, especially if this is the first time you are trying to 
understand how to upgrade the kernel or do any manual update.  It would 
be better, imo, if this could be excluded from the kernel advisories 
and, also, if the url to the kernel upgrade instructions were a 
hyperlink, thus making it more likely someone will follow it in their 
browser and giving it more visual 'weight'.

Regarding the instructions for the kernel upgrade, they include:

'Once you have modified your lilo.conf or menu.lst file, execute lilo 
-v or sh /boot/grub/install.sh, again depending upon your bootloader.'

I have never re-installed grub (over 3 years) after only modifying 
menu.lst and there have been others who have expressed a reservation 
about this instruction.  My understanding was that it was not necessary 
(1) but my understanding might be incomplete, so I would appreciate some 
clarification here.

Thanks.

Rolf

(1)  From Tom Berger's MUO Docs, which is, hopefully, temporarily offline:

The configuration file ('/boot/grub/menu.lst') allows changes 'on the 
fly'. No extra installation step after editing needed.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake Update through MCC and new kernel

2003-07-28 Thread Lyvim Xaphir
On Mon, 2003-07-28 at 21:48, James Sparenberg wrote:
 On Mon, 2003-07-28 at 18:26, Avi Schwartz wrote:
  Mandrake should change their kernel installation instructions in the 
  latest Security Advisory since they say there:
  
  To upgrade automatically, use MandrakeUpdate.  If you want to upgrade 
  manually, download the updated package(s) from one of our FTP server 
  mirrors and upgrade with rpm -Fvh *.rpm.
  
  Avi
 
 Avi 
 
Not quite... if you do Fvh... things could get real spooky.  You
 never upgrade or freshen a kernel.. It always has to be installed (ivh )
 otherwise all of the proper scripts to bind it to your computer will not
 get run and the end result will be.. a bit bucket.
 
 James
 

I think I would have used the adjective foobarred.

BTW, I have it on good authority that urpmi can update the kernel files
now.

--LX
-- 
°°°
Linux Mandrake 9.1  Kernel 2.4.21-0.13mdk
Filter That, Beach! --Lanman, MDK Newbie List



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Test

2003-07-28 Thread Lyvim Xaphir

-- 
°°°
Linux Mandrake 9.1  Kernel 2.4.21-0.13mdk
Filter That, Beach! --Lanman, MDK Newbie List



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James Sparenberg wanted us to know:

 Or worse:  #!/usr.perl\r\n ?
   ^^
 This is one of the most subtle problems when a script won't start...  it's
 not visible in most editors unless in hex mode.  This bug makes it
 appear the progname contains a carriage return as the last character of
 its name.

In other words, it's in dos format.  Open the file in vi, run
:set ff=unix

and then save it.  Now the script will work.

Another way to spot it is from the output of the file command:

[EMAIL PROTECTED] ~]$ file sandpiper
sandpiper: ASCII English text
[EMAIL PROTECTED] ~]$ file sandpiper.dos
sandpiper.dos: ASCII English text, with CRLF line terminators

 I didn't respond sooner because the Subject implies the script does work
 when run as root...

Same here.
- -- 
Blue skies...   Todd  Public key: http://www.mrball.net/todd.asc
They dont need to adjust their pricing, they just need to 
   lobby for new laws to protect their flawed business models. 
  Oh wait, they just did that. --Dan Hollis
Linux kernel 2.4.19-24mdk   5 users,  load average: 0.02, 0.01, 0.00
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/JfKnIBT1264ScBURAriAAJ454qHUdHZxktyD+SM3cuMWLMlYywCcCuca
3gDT/W0ImSOW7Nd+E1P8G2A=
=uVJX
-END PGP SIGNATURE-

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Test

2003-07-28 Thread David E Fox
hey

 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Sound problem after MB upgrade

2003-07-28 Thread Joeb
Thomas K. Gamble wrote:

I recently upgraded my MB to a Tyan Thunder K7X Pro and now I'm having 
problems with sound in MDK 9.1.  I'm using the same sound card as 
before (SB live) and same MDK version (stock kernel).  Here's a 
description of what happens:

After a reboot sound players like xmms will lock up when attempting to 
play a sound file.  I can get sound to work by killing the app and 
kmix, restarting alsad and soundd, then restarting kmix.  Strangely, 
kmix has the master and PCM controls muted when I restart it at this 
point.  Unmute and sound works with one glitch:  If I try to adjust the 
volume from xmms, the sound stops.  Twiddle the PCM control in kmix and 
sound comes back.

Any clues as to what might cause this strange behavior?  Would a kernel 
upgrade fix this?

 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
 

Does this MB have an onboard sound card and is it still enabled in 
CMOS?  If so, disable it.  Otherwise, you might look at /proc/interrupts 
and see if the sound card is using the same interrupt as some other card 
(most likely network or video).  If it is, you might try moving it to a 
different slot in the computer and see if that solves it (it seems PCI 
cards sometimes assign interrupts based on which slot a card is in).

Joeb


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Test

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 21:20, David E Fox wrote:
 hey

strau
 
  
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com