Linux-Misc Digest #969, Volume #27               Mon, 28 May 01 18:13:01 EDT

Contents:
  Re: Is it worth upgrading kernel? (Juergen Heinzl)
  Re: Knode:can not save remote file (Lee Webb)
  Re: Setuid troubles w/ Mandrake 8.0 (Bill Unruh)
  Re: Start bash along with X (Jesper Petersen)
  Setting up Red Hat 7.1 modem (JWR)
  Re: linux ("Jeff")
  Re: Start bash along with X ("Peter T. Breuer")
  Re: Setting up Red Hat 7.1 modem (Tom Hoffmann)
  Re: Looking for a tool ("John W. Krahn")
  Re: Image Management Software ("Donald E. Stidwell")
  Re: Upgrading BIOS? (Nils Holland)
  manipulating /etc/passwd + /etc/group (Claus Atzenbeck)
  Re: which linux dist? ("Popeye")
  Re: permanent mail server question ("Popeye")
  Re: Setting up Red Hat 7.1 modem (Bigfoot)
  running X applications as root after /bin/su (wroot)
  Re: running X applications as root after /bin/su (pbat)
  Re: running X applications as root after /bin/su (Jan Schaumann)
  Re: Setting up Red Hat 7.1 modem (Dances With Crows)
  Re: Xfree vs Sis chipset -- gnome vs kde ("Florian Schmidt")

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: Is it worth upgrading kernel?
Date: Mon, 28 May 2001 19:17:09 GMT

In article <3b120b9d$0$[EMAIL PROTECTED]>, Peet Grobler wrote:
>Hi.
>
>I'm running an old Pentium 166MHz, 32MB Ram, 2GB SCSI HDD. Currently running
>kernel 2.2.18. The machine is acting decently, had no problems with it.
>Would it be worth it for me to upgrade to kernel 2.4.4/5? I've read through
>the changelog of 2.4.5, and quite a lot of changes has been made to the
>aic7xxxx module, which I'm using (Adaptec SCSI Card).
[-]
I'd rather upgrade to 2.2.19, which fixes some security bugs.

For 2.4.5 there's already an ac patch and from the ChangeLog 2.4.5
is, again, not really unproblematic yet.

>Would these changes justify me downloading the kernel, and installing it?
>Would it be faster? Since this is an old machine, I won't benefit much from
>changes made to the kernel to include newer hardware. Heck, this machine
>doesn't even have a monitor. X not installed. Just the basic software.
[-]
You'd have to upgrade not just the kernel for 2.4.5, beware.

>I'm in the process of upgrading all the software on this machine, so if I
>need to upgrade e.g. glibc, or similar, I'm doing it anyways. Won't create
>more work for me.
>
>What do you guys think??
[-]
Since you're in the process upgrading pretty much else at the moment
I'd even more not upgrade to a new kernel release. You've your work
cut out already and in the meantime could let 2.4.x ripen a bit more.

I'm a bit conservative at times, yes,
Juergen

-- 
\ Real name     : Juergen Heinzl                \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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

From: [EMAIL PROTECTED] (Lee Webb)
Subject: Re: Knode:can not save remote file
Date: 28 May 2001 19:14:48 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 28 May 2001 09:58:44 -0400, Robert_L wrote:
> HI,
> When trying to save a news message with Knode I get " can not save remote 
> file". This happens  whether I save from a new window or the view pane.  If 
> I press cancel then try again the file will save, though I have to type in 
> a new name.  Am I doing something wrong? Is this a bug? A feature?
> Thanks,
> Robert
I used to find that KDE apps tried to be *too* intelligent: doing a
save-as for a web page in Konqueror would default to trying to save to
the host at which the web page is hosted rather than my (local) hard
drive. Perhaps KNode is trying the same?

When you click save, does it give you a file dialog? If so, check the
location to which it's trying to save. Is it defaulting to your news
server?

Lee.

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Setuid troubles w/ Mandrake 8.0
Date: 28 May 2001 19:28:07 GMT

In <3b128bb0$0$88183$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Dances With Crows) 
writes:

]On Mon, 28 May 2001 11:47:39 -0400, David Grogan staggered into the
]Black Sun and said:
]>I'm trying to make it so that any user can start a dial-up connection
]>and any user can disconnect.  I have it so that any user can start a
]>connection, but the problem is when root starts the connection, a user
]>doesn't have permission to kill the process.  Here is the relevant info,
]>I'd really appreciate if someone could let me know what I'm doing wrong.
]>
]>ps aux |grep pppd: root      2988  0.0  1.4  1860  888 pts/0    S
]>18:01   0:00 /usr/sbin/pppd -d
]>
]>ls -l /usr/bin/hangup:
]>-rwsr-xr-x    1 root     root      12 May 22 00:21 /usr/bin/hangup
]>
]>cat /usr/bin/hangup:
]>killall pppd

Uh, do you really think it would be a good idea to let any user close
down any other user's ( especially root's) programs? Can you imagine the
problems?

Anyway, go to 
theory.physics.ubc.ca/ppp-linux.html where there is a link to a program
to kill pppd by any user. This means that if you are connected any user
can disconnect you. If that is OK, use that program.


]#include<stdio.h>
]#include<unistd.h>
]int main(int argc, char **argv, char **envp)
]{ setuid(0);
]  execve("/path/to/script",argv,envp);
]  return 0;
]}

No, you want to make sure that you sanitize the environment first.

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

From: Jesper Petersen <jesperp**Delete**@nork.auc.dk>
Subject: Re: Start bash along with X
Date: Mon, 28 May 2001 21:32:29 +0200

On Mon, 28 May 2001 20:01:12 +0200, Jesper Petersen
<jesperp**Delete**@nork.auc.dk> wrote:

>>If you use "startx" to get an X display, then the file you want to edit
>>is ~/.xsession .  Also note that some environments, like KDE, have a
>>"~/Autostart" directory, and executables in that directory are
>>automatically run when the user logs in.  HTH,

Eventhough I use startx it only works when i write it ("xterm -e /bin/bash &")
in .xinitrc. What should I write if I don't want an xterm but a terminal like
the one I can get using the quick launch toolbar (default in Mandrake 8.0)?

Thanks
Jesper

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

From: [EMAIL PROTECTED] (JWR)
Subject: Setting up Red Hat 7.1 modem
Date: 28 May 2001 12:43:24 -0700

I've set up Red Hat 7.1, and the operating system will not recognize
my serial, external, USRobotics Courier v.everything modem.  I've
tried using the internet configuration tool in Gnome. And it won't
find the modem using "auto."  And I can't find the modem manually. 
Using the command line as root, and trying to ls /dev/modem, I get a
message that reads "No such file or directory."  I've tried installing
RH 7.1 as a workstation and as a server, but no luck with this problem
either way.  Did the setup program fail to install something that is
needed?  And if so, what do I do about it? --JWR

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

From: "Jeff" <[EMAIL PROTECTED]>
Subject: Re: linux
Date: Mon, 28 May 2001 13:04:52 -0700

I'll assume, perhaps incorrectly, that this is a serious post, and not a
troll...

Linux is a very powerful and sophisticated system that, though it becomes
more approachable with each new distro and release, still requires fair
amounts of technical expertise and experience to install and exploit.  It is
certainly not for everyone, and it sounds like it may not be for you.  You
don't _have_  to use Linux.  You don't have to prove anything.

Linux is great.  I like it and use it for a number of different things.  But
Windows (especially 2000 Pro) is also a very capable system that I like and
use.  Many folks will never know anything except Windows, and stiil get
everything they need out of their computing experience.

If Windows satisfies your needs, and you have no desire to grow technically,
to learn, and to get past the "simple Type a:\install" mindset then probably
you should not be considering Linux.

-jeff

"william" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Does anyone out there know of a linux that is not made for nerds and
geeks?
> I've trying for a month to install corel and as a last resort zipslack.
> If linux is so great and powerful why hasen't some smart guy did what
gates
> did and start out with a Linux 1.0 like the win3.1 which was a piece of
> cake to install.   Put the disks in drive a:\ and type setup.
> But no, they had to make hard so the comp geeks can have ball sitting in
> front of their comp for 12 hrs.
>
> I mean, is it such a big deal for all these comp buffs to make a simple
> Type a:\install or setup?
>
> All I hear about is what a great OS linux is.  If somebody wanted to make
> gates squirm just a tiny bit why didn't they follow what he did and make
> it easy for the common folk to install Linux.
> Thank You
>
> --
> Posted via CNET Help.com
> http://www.help.com/



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Start bash along with X
Date: Mon, 28 May 2001 22:20:23 +0200

Jesper Petersen <jesperp**Delete**@nork.auc.dk> wrote:
> On Mon, 28 May 2001 20:01:12 +0200, Jesper Petersen
> <jesperp**Delete**@nork.auc.dk> wrote:

>>>If you use "startx" to get an X display, then the file you want to edit
>>>is ~/.xsession .  Also note that some environments, like KDE, have a
>>>"~/Autostart" directory, and executables in that directory are
>>>automatically run when the user logs in.  HTH,

> Eventhough I use startx it only works when i write it ("xterm -e /bin/bash &")
> in .xinitrc. What should I write if I don't want an xterm but a terminal like

Xterm will execute your shell by default. You don't have to tell it to!
What is your shell, if not bash? (I use tcsh myself).

Peter

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

From: [EMAIL PROTECTED] (Tom Hoffmann)
Subject: Re: Setting up Red Hat 7.1 modem
Reply-To: [EMAIL PROTECTED]
Date: Mon, 28 May 2001 20:51:45 GMT

On 28 May 2001 12:43:24 -0700, JWR <[EMAIL PROTECTED]> wrote:
> I've set up Red Hat 7.1, and the operating system will not recognize
> my serial, external, USRobotics Courier v.everything modem.  I've
> tried using the internet configuration tool in Gnome. And it won't
> find the modem using "auto."  And I can't find the modem manually. 
> Using the command line as root, and trying to ls /dev/modem, I get a
> message that reads "No such file or directory."  I've tried installing
> RH 7.1 as a workstation and as a server, but no luck with this problem
> either way.  Did the setup program fail to install something that is
> needed?  And if so, what do I do about it? --JWR

ln -s /dev/modem /dev/ttyS0  (if your modem is on COM0)

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

From: "John W. Krahn" <[EMAIL PROTECTED]>
Subject: Re: Looking for a tool
Date: Mon, 28 May 2001 20:55:47 GMT

Subject: Looking for a tool
Find someone logged in from AOL :-)

Sorry, just couldn't resist!

Krithika Chidambaram wrote:
> 
> Hi,
>   I am looking for a tool to develop GUI on Linux platform to do Rapid
> Application Development(RAD) with good IDE like Visual Studio (Visula Basic,
> Visual J++,etc).
> I would really appreciate  if someone could help me find it.

http://www.borland.com/kylix


John
-- 
use Perl;
program
fulfillment

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

From: "Donald E. Stidwell" <[EMAIL PROTECTED]>
Subject: Re: Image Management Software
Date: Mon, 28 May 2001 16:37:58 -0400

Unless they've changed the license, Compupic is free for non-commercial use
under Linux.

XNView is another good tool.

Don

"Vilmos Soti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Stephen J. Thompson <[EMAIL PROTECTED]> writes:
>
> > I don't know if this is REALLY the right newsgroup but I will try.
>
> This is fine.
>
> > I am looking for a piece of software that can manage collections of
> > images that are stored on removable media. I am thinking that the
> > thumnails would be stored on a hard drive.
>
> You might try gqview and compupic. The second one is commercial though.
>
> Vilmos



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

From: Nils Holland <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Upgrading BIOS?
Date: Mon, 28 May 2001 22:56:08 +0200

Leonard Evens wrote:

> In order to fix a problem in using an external USB hub, I have to
> upgrade my BIOS.   I've participated in doing this on a new laptop
> and I think I understand the process, but I'm a bit nervous about
> it.  I can of course use the same process to downgrade to the
> previous BIOS if need be, but if something really get's messed up
> during the upgrade, I assume I am in real trouble.  Does anyone
> have any experience or advice?
> 

Well, I have flashed BIOSes many times without any problems. As you 
properly said, you can always flash your BIOS back to the old version if 
problems occur. HOWEVER, if something really bad happens while you are 
flashing (power failure, system crash), then your BIOS will be rendered 
unusable and the actual chip on your board will have to be replaced (or 
properly re-flashed by other means, as you no longer will be able to start 
your system and access any FLASh utility). Luckily, this has never happened 
to me, and I think that if you're a little careful, it should be possible 
to flash your BIOS without any trouble.

Greetings
Nils

-- 
==========================================================
Nils Holland - [EMAIL PROTECTED]
NightCastle Productions - Linux in Tiddische, Germany
http://www.nightcastleproductions.org
"They asked me where this earthquake would begin,
 I offered to let them feel my pulse."
==========================================================

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

From: Claus Atzenbeck <[EMAIL PROTECTED]>
Subject: manipulating /etc/passwd + /etc/group
Date: Mon, 28 May 2001 22:59:52 +0200

I realized that I have gid 501 at /etc/group for 2 users. This is probably 
done by accident. Is there any tool I can use to manipulate /etc/group and 
/etc/passwd?? Or which program do I have to call after manipulating these 
files using an text editor?

I have Mandrake 8.0. (Mandrake's tool userdrake cannot manipulate gids and 
uids...)

Thanks for any hint!
Claus

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

From: "Popeye" <[EMAIL PROTECTED]>
Subject: Re: which linux dist?
Date: Mon, 28 May 2001 21:43:44 +0200

Slack Forever!

        Popeye

"Carl" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Florian Schmidt" <[EMAIL PROTECTED]> writes:
>
> > In article <[EMAIL PROTECTED]>, "Stanislaw Flatto"
> > <[EMAIL PROTECTED]> wrote:
> >
> > >> I am currently using Slackware as I find it extremely fast and
> > >> powerful.
> >
> > >> Which distribution would you recommend?
> > >
> > > Slackware.
> >
> > full ACK. i use slackware, too.. no need to change (from my point of
> > view)
> >
> > --
> > florian schmidt
> >
> Another vote for Slackware.  I try others from time to time, and always
> end up going back.  If you want bells and whistles it may not be for
> you though.
>
> Beware.  I'm using slack7.1 with the 2.2.16 kernel.  I downloaded source
> for kernel 2.4.4 and built it and mysterious problems crop up, mostly
> to do with inserting modules.  I've tried tinkering with modules.conf
> but just today I ended up doing a clean install of 7.1.
> I look forward to getting 7.2 which hopefully will include a configuration
> for 2.4 kernels that has the problems ironed out.
> --
> Replace ragwind.localdomain with rahul for a working email address



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

From: "Popeye" <[EMAIL PROTECTED]>
Subject: Re: permanent mail server question
Date: Mon, 28 May 2001 21:56:40 +0200

Generaly speaking, all u nee for mail server is static IP ( I assume uve got
it from ur provider, prolly a range of IP`s for ur company) and a i.e. Linux
server.

About distro, well, ppl will tell u lots diff versions. For me, Slackware is
most reliable and secure.

Next, is to configure the box. First, u have to enable sendmail and pop3d. I
suggest popa3d from GNU.

Next step is securitty issue, to set relay for ur domain ONLY!!! (Otherwise,
spammers will nail u) Search for /etc/sendmail/relay-domains.
After that, I also suggest shutting down all daemons which go by defau;t and
u dont need them (apache, telnet etc etc. I say telnet, bc if u need remote
access, use SSH)

After that, u should prolly set ipchains (iptables) based firewall to
protect ur box from outside access for sure.

For HOWTOW-s, and more info, try www.linuxdoc.org

Well...
            That would be the simplest answer. :-)))

                    Popeye




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

From: Bigfoot <[EMAIL PROTECTED]>
Subject: Re: Setting up Red Hat 7.1 modem
Date: Mon, 28 May 2001 21:02:29 GMT

JWR wrote:
> 
> I've set up Red Hat 7.1, and the operating system will not recognize
> my serial, external, USRobotics Courier v.everything modem.  I've
> tried using the internet configuration tool in Gnome. And it won't
> find the modem using "auto."  And I can't find the modem manually.
> Using the command line as root, and trying to ls /dev/modem, I get a
> message that reads "No such file or directory."  I've tried installing
> RH 7.1 as a workstation and as a server, but no luck with this problem
> either way.  Did the setup program fail to install something that is
> needed?  And if so, what do I do about it? --JWR

Have you tried ls /dev/ttyS1  (com 2), ls /dev/ttyS2 (com 3) , etc. ?
IIRC, /dev/modem is
simply a link to /dev/ttyS whatever.

-- 

--

Of all serious crimes under the law, smuggling...
least violates the consciences of men. It is a crime
against law and against government, but not against
morality. The smuggler robs no man. He buys goods
honestly in one market and sells them honestly in
another. His offense is against an arbitrary regulation
of government.... he simply fails to pay its demands.
Many men otherwise honest are unable to see any moral
turpitude in smuggling. ...government, in exacting toll,
plays the part of the highwayman.

                      --  The Oregonian, Jan. 21, 1886

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

From: wroot <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.debian.user
Subject: running X applications as root after /bin/su
Date: Mon, 28 May 2001 17:07:34 -0400

Hi,

For some reason, I can't run X applications as root after doing /bin/su 
(permission denied). How can I fix it. My distro is Debian Potato.

Wroot

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

Date: Mon, 28 May 2001 17:52:28 -0400
From: pbat <[EMAIL PROTECTED]>
Subject: Re: running X applications as root after /bin/su

this is normal, because you are running X as a normal user (i assume). by 
doing su, it only allows you to become root of that one terminal window 
from which you executed the command from..

pbat

wroot wrote:

> Hi,
> 
> For some reason, I can't run X applications as root after doing /bin/su 
> (permission denied). How can I fix it. My distro is Debian Potato.
> 
> Wroot
> 


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

From: [EMAIL PROTECTED] (Jan Schaumann)
Subject: Re: running X applications as root after /bin/su
Date: Mon, 28 May 2001 21:50:54 -0000

* wroot wrote:
>  Hi,
>  
>  For some reason, I can't run X applications as root after doing /bin/su 

man xhost

Before su'ing, issue the command "xhost +localhost" as the user owning
the x-session.

-Jan

-- 
Jan Schaumann 
http://www.netmeister.org

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Setting up Red Hat 7.1 modem
Reply-To: [EMAIL PROTECTED]
Date: 28 May 2001 21:52:51 GMT

On 28 May 2001 12:43:24 -0700, JWR staggered into the Black Sun and
said:
>I've set up Red Hat 7.1, and the operating system will not recognize my
>serial, external, USRobotics Courier v.everything modem.  I've tried
>using the internet configuration tool in Gnome. And it won't find the
>modem using "auto."  And I can't find the modem manually.  Using the
>command line as root, and trying to ls /dev/modem, I get a message that
>reads "No such file or directory."  I've tried installing RH 7.1 as a
>workstation and as a server, but no luck with this problem either way.
>Did the setup program fail to install something that is needed?  And if
>so, what do I do about it? --JWR

/dev/modem should be a symbolic link to /dev/ttyS0 (if the modem is
plugged into the first serial port) or /dev/ttyS1 (if the modem is
plugged into the second serial port).  If /dev/modem doesn't exist,
become root and create it with the command
  ln -s /dev/ttyS0 /dev/modem
and things should work better.

You can also point the modem configuration tool (gnome-ppp?  kppp?) at
/dev/ttyS0 and things should work.  HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: "Florian Schmidt" <[EMAIL PROTECTED]>
Subject: Re: Xfree vs Sis chipset -- gnome vs kde
Date: Tue, 29 May 2001 00:00:14 +0200

In article <[EMAIL PROTECTED]>, "Dave Brown"
<[EMAIL PROTECTED]> wrote:

>
> But some users wanted to use kde whereas others wanted gnome.  The kde
> users were able to hang-up the machines by "marking" the root window
> several times with the mouse (left-click and drag a selection box). 
> After a few times, the machine would hang up, no keyboard, and only
> power-off switch would reboot.  Those using gnome could not produce the
> problem.  I presume this is a "bug" in the Xserver/window-manager.  But
> I'm surprised that the kernel gets hung.  I thought this wasn't supposed
> to happen on a unix system.
>

i don't know, if the kernel is hung. i rather thik, just the xserver
locked up.. did u tr o telnet in from another box?

-- 
florian schmidt





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


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