Linux-Misc Digest #968, Volume #27               Mon, 28 May 01 15:13:03 EDT

Contents:
  Re: "NFS serverlockdsvc: Invalid argument" error ("grendel")
  Re: "NFS serverlockdsvc: Invalid argument" error 
(=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
  Re: Start bash along with X (Dances With Crows)
  Re: Security Warning (Bill Unruh)
  Re: Setuid troubles w/ Mandrake 8.0 (Dances With Crows)
  Re: kernel 2.4.5 crashes on Mandrake 8 but 2.4.4 and 2.4.3 works ("$pooky Hunter")
  Re: Image Management Software (Vilmos Soti)
  Re: Start bash along with X (Jesper Petersen)
  Xwindows Config . using SiS6215c Graphic Card (girish)
  Re: linux ("Peter T. Breuer")
  Re: Start bash along with X (Jesper Petersen)
  Re: Start bash along with X (Jan Schaumann)
  Logical Volume Manager(LVM) (hong seung wan)
  Re: Desktop Environments (Eirik Newth)
  Upgrading BIOS? (Leonard Evens)
  Re: how to connect to internet in non-X (girish)
  Turn off the warning message ("gajo")
  Re: Turn off the warning message ("GreySoul")
  Looking for a tool ("Krithika Chidambaram")
  Re: Xwindows Config . using SiS6215c Graphic Card (Michael Perry)
  Re: Turn off the warning message ("Peter T. Breuer")
  Re: how to connect to internet in non-X ([EMAIL PROTECTED])

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

From: "grendel" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: "NFS serverlockdsvc: Invalid argument" error
Date: Mon, 28 May 2001 16:58:12 GMT

A little new to linux, I know where my scripts are but what's the easy way
to figure out where it is?

"Rasmus B�g Hansen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Mon, 28 May 2001, grendel wrote:
>
> > How can I get rid of the "NFS serverlockdsvc: Invalid argument" error I
get
> > a t startup (think it causes NFS Server to fail or something)?  This
started
> > after I upgraded to 2.4.X (2.4.5)?  I compiled with NFS server and
client as
> > modules. Thanks.
>
> Don't start lockd in your startup scripts (just comment it out). It is
> started automatically by 2.4 kernels and cannot be started manually
> anymore.
>
> Rasmus
>
> --
> -- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
> There are two major products that come out of Berkeley: LSD and BSD.
> We don't believe this to be a coincidence.
>                                                -- Jeremy S. Anderson
> --------------------------------- [ moffe at amagerkollegiet dot dk ] -0
>



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

From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: "NFS serverlockdsvc: Invalid argument" error
Date: Mon, 28 May 2001 19:18:08 +0200

On Mon, 28 May 2001, grendel wrote:

> A little new to linux, I know where my scripts are but what's the easy way
> to figure out where it is?

Hard to say without knowing what distro, you are running. In RedHat it
is the "/etc/rc.d/init.d/nfslock" script, you need to look for.
Specifically prepend the line containing rpc.lockd with a '#'.

> > > How can I get rid of the "NFS serverlockdsvc: Invalid argument" error I
> get
> >
> > Don't start lockd in your startup scripts (just comment it out). It is
> > started automatically by 2.4 kernels and cannot be started manually
> > anymore.

Rasmus

-- 
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
There is no insanity, just different perceptions of reality.
================================= [ moffe at amagerkollegiet dot dk ] =0


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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Start bash along with X
Reply-To: [EMAIL PROTECTED]
Date: 28 May 2001 17:22:14 GMT

On Mon, 28 May 2001 17:46:16 +0200, Jesper Petersen staggered into the
Black Sun and said:
>How do I make bash start automatically when I start X?

That depends on how you're starting X.  If you log in via xdm, gdm, or
kdm, ~/.xinitrc is executed.  If you look at that file, you'll probably
see the line "exec $WINDOWMANAGER" as one of the last lines in the file.
Above that line, enter the line "xterm -e /bin/bash &".

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,

-- 
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: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Security Warning
Date: 28 May 2001 17:32:05 GMT

In <9esnp4$b7v$04$[EMAIL PROTECTED]> Claus Atzenbeck <[EMAIL PROTECTED]> 
writes:

]I have Mandrake 8.0. It runs every night a security check. Today I got back 
]the result which makes me a little scary. 3 Questions on that report:

]*****************************************
]Security Warning: Change in World Writeable Files found :
]                - Added writables files : /var/lib/mysql/mysql.sock
]****************************************

This is a socket. Why are you running mysql?


]These are the rights:

]srwxrwxrwx    1 mysql    mysql           0 Mai 27 08:16 
]/var/lib/mysql/mysql.sock=

]Is this a security risk? Is the writeability for world an error?

]****************************************
]Security Warning: the md5 checksum for one of your SUID files has changed,
]        maybe an intruder modified one of these suid binary in order to put 
]in a backdoor...
]****************************************

What suid file has changed? 

]This probably is, because I have deleted one user and created a new one. Am 
]I right?

No. adding a user should not change any suid files.



]****************************************
]                - Checksum changed files : /usr/bin/ssh
]****************************************

]This is the most scary thing: I cannot think about that I have changed 
]anything at this binary.

Is this line right after the previous one? Did you upgrade ssh recently?
Do 
rpm -Vf  /usr/bin/ssh

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Setuid troubles w/ Mandrake 8.0
Reply-To: [EMAIL PROTECTED]
Date: 28 May 2001 17:32:33 GMT

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
>
>localhost:~$ /usr/bin/hangup
>pppd(2988): Operation not permitted
>pppd: no process killed

SUID shell scripts are Not Allowed.  This is a FAQ, search the NG for
why the kernel does not honor the SUID bit on shell scripts.  If you
must do something like this, put a C wrapper around the script, and
chmod +s the wrapper.  Kind of like so:

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

-- 
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: "$pooky Hunter" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: kernel 2.4.5 crashes on Mandrake 8 but 2.4.4 and 2.4.3 works
Date: Mon, 28 May 2001 17:31:27 GMT

Where I can find the kernel 2.4.5-ac1 ?
Is it a .rpm kernel?
--
_____________________________________________
$pooky Hunter ICQ: 24081574
http://xre.cjb.net o http://digilander.iol.it/spookyh
Motore di ricerca amatoriale, hacking, misteri, paranormale.

Se qualcosa pu� andar male lo far�!
"Jim Brooks" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:BBhQ6.8338$[EMAIL PROTECTED]...
> "Michael" <[EMAIL PROTECTED]> wrote in message
>
> > i just built 2.4.5 on my mandrake 8 dist.
> > it crashes within a second.
> >
> > intel CUV4X-D, 1GB, 2 P3 1Ghz processors, noapic, MIPS1.1.
> >
> >
> > "Jim Brooks" <[EMAIL PROTECTED]> wrote in message
> >
> > > Kernel 2.4.5 on Mandrake 8 crashed my PC early in boot,
> > > when the swapper process was being started (I think).
> > >
> > > The default 2.4.3 kernel boots OK, and so does a 2.4.4 kernel
> > > I built myself (had to update /boot/initrd*.img with 2.4.4's
reiserfs.o).
> > >
> > > Anyone else having problems with 2.4.5?
>
>
> 2.4.5 crashed within a few seconds on my system.
>
> 2.4.5-ac1 (Alan Cox's latest patch) runs fine on my system.
>
>
> --
> Jim Brooks  jjiimm-AT-jjiimmbbrrookkss-DOT-oorrgg
>
>
>



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

Subject: Re: Image Management Software
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Mon, 28 May 2001 17:57:06 GMT

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: Jesper Petersen <jesperp**Delete**@nork.auc.dk>
Subject: Re: Start bash along with X
Date: Mon, 28 May 2001 19:59:32 +0200

>Maybe: "how do I make a bash shell/xterm start auto when I start X?"

Exactly. Sorry for my mistake, but Linux is new to me.

Jesper

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

From: [EMAIL PROTECTED] (girish)
Subject: Xwindows Config . using SiS6215c Graphic Card
Date: 28 May 2001 10:59:46 -0700

Hi,
I have SiS6215c graphic card ,i am not able to configure the Xwindws  server on 
Red Hat Linix 7.0 . So can u suggest how to go about.

Cheers.......

Girish

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: linux
Date: Mon, 28 May 2001 19:48:22 +0200

william <[EMAIL PROTECTED]> wrote:

> I have 2 comp's. One is my good one and the other is a IBM thinkpad 500
> which I have had since 1993. It has 12mb ram,810 mb HD. On this machine I

I have one too! A 50MHz 486sx. Mine has 180MB disk and 8MB ram. I run
linux fine on it. Slackware 2.2. 

> it. It has been a disaster.

> I have corel 2nd edition CD. When I try to run it, a message comes up and 
> says it can't run in DOS mode. I made a boot disk(boot1440.img) and 

Well, you can't install any modern distro on it just like that surely?
It lacks a coprocessor! No install kernel will run on it.

Peter

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

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

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

I use startx. I'll just try it.

Thanks a lot
Jesper

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

From: [EMAIL PROTECTED] (Jan Schaumann)
Subject: Re: Start bash along with X
Date: Mon, 28 May 2001 18:06:49 -0000

* Jesper Petersen wrote:
> >Maybe: "how do I make a bash shell/xterm start auto when I start X?"
>  
>  Exactly. Sorry for my mistake, but Linux is new to me.


man xinit
man startx

-Jan

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

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

From: [EMAIL PROTECTED] (hong seung wan)
Subject: Logical Volume Manager(LVM)
Date: 28 May 2001 11:07:03 -0700

Hi.

I have started Linux installation before several days...
(I am a rudiments in Linux....)

Yesterday, i installed Linux(kernel 2.4.2) in my computer...but i
can't understand LVM(Logical Volume Manager)

Please , give me the best documents of LVM ....
Thank you ....

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

From: Eirik Newth <[EMAIL PROTECTED]>
Subject: Re: Desktop Environments
Date: Mon, 28 May 2001 20:11:53 +0200

David Dorward wrote:

>> [3] I'm trying to install KDE 2.1.1 and I have downloaded all the binary
>> RPMs (33 files in all) needed for install. I have no idea where to start
>> for installation (can't find install notes anywhere). Is it a good idea
>> to use the command statement, <rpm -Uvh --nodeps *.i386.rpm>, to install
>> KDE 2.1.1? If so, is it okay to do this for all other programs I need to
>> install with a lot of RPMs in the install directory? 
> NO! Don't use --nodeps! I would do "rpm -Uvh *rpm", and then use
> http://www.rpmfind.net/ to find any dependances, put them in the same
> directory, and run it again until it works.

Or he could try doing what I did. I installed KDE 2.1.1 from the same set 
of downloaded RPMs to my RH 7.0 system with gnorpm. After I added all the 
RPMs to the list of files to install, gnorpm seemed to work out the 
dependances on its own. 

Then I found that KDE was running at a glacial pace on my P-166 Mhz, 
switched to IceWM and never looked back. IceWM makes a tremendous 
difference on a low-spec system such as mine. 

> The easiest way is by editing you ~/.xinitrc file, but as it sounds like
> you use a graphical login, I don't know. Try reading the documentation
> for your log in manager. man xdm/gdm/kdm

If he is using graphical login on a RH 7 system, he needs to change the 
.Xclients-localhost.localdomain:0 file in his home directory. Mine now 
contains the line 

exec icewm

which makes IceWM the default system when logging in graphically, while KDE 
and Gnome are kept as alternatives. 

Regards,

Eirik Newth

---

The Seven site: http://newth.net/psion7 

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

From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Upgrading BIOS?
Date: Mon, 28 May 2001 12:54:48 -0500

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?

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: [EMAIL PROTECTED] (girish)
Subject: Re: how to connect to internet in non-X
Date: 28 May 2001 11:22:38 -0700

"NG_lurker" <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
> im a linux newbie.
> 
> have linux rh7 running in my dual-boot box. i cant work in X for my display
> is corrupted. have posted this in the newsgroup but unfortunately no answer
> for me. i like to connect to the net in non-Xterm but dont know how. i want
> to use pine to send/receive email. can anyone give any link or howto to
> configure my modem to connect to the net? thanks in advance. more power to
> linux !
> 
> eri

Here  are the stpes involved in dialling to ur isp,just follow up this steps and
u will be on line....I am currently using this script ..

To connect to ISP you will need the following things

1. Username and password
2. Port on which ur Modem works fine.(generally it is on /dev/cua0
or /dev/ttys0

Follwing scripts are to be kept in /etc/ppp directory only

##1## SCRIPT NAME:ispdial #########
#1234567 is number to be dialed to isp
TIMEOUT 5
"" ATZ
OK ATDT1234567
ABORT "NO CARRIRE"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT WAITING
TIMEOUT 45
CONNECT " "
TIMEOUT 5

This script is used for Dialing to ISP

###2### SCRIPT NAME:dial
exec pppd connect \
        'chat -v -f /etc/ppp/ispdial' \
        -detach crtscts modem defaultroute \
        user tilspz@bom4 \
        /dev/cua0 38400

This script is used to invoke the pppd daemon which in turn calls the
dialler script which dials to ISP and password is picked up from
/etc/ppp/pap-secrets or /etc/ppp/chap-secrets


The pap-secrets or chap-secrets is modified in following manner

# Secrets for authentication using PAP
# client        server  secret                  IP addresses
zebra * abc2001

This file contains ur ISP accounts username and password.


Now after following above steps u need to do the following to start
connecting to ISP
1. sh dial

This will connect to ISP ,once u see  the IP address of ISP it means its
connected..
To disconnect use CTRL+C command..

Thats it ......U r on Super Highway of Information..


Cheers
!!!!!!!!!!!

Girish

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

From: "gajo" <[EMAIL PROTECTED]>
Subject: Turn off the warning message
Date: Mon, 28 May 2001 19:59:24 +0200
Reply-To: "gajo" <[EMAIL PROTECTED]>

Each time I start Gnome as root I get a warning message. How can I turn it off?

Csaba



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

From: "GreySoul" <[EMAIL PROTECTED]>
Subject: Re: Turn off the warning message
Date: Mon, 28 May 2001 11:40:46 -0700

In article <9eu3u0$p1i$[EMAIL PROTECTED]>, "gajo" <[EMAIL PROTECTED]> wrote:


> Each time I start Gnome as root I get a warning message. How can I turn
> it off?  

Whenever I have seen this warning there was always a box that could be
checked in order to turn it off.


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

Reply-To: "Krithika Chidambaram" <[EMAIL PROTECTED]>
From: "Krithika Chidambaram" <[EMAIL PROTECTED]>
Subject: Looking for a tool
Date: Mon, 28 May 2001 18:39:56 GMT

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.
Thankyou,
Krithika



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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Xwindows Config . using SiS6215c Graphic Card
Date: Mon, 28 May 2001 18:52:08 -0000
Reply-To: [EMAIL PROTECTED]

On 28 May 2001 10:59:46 -0700, girish <[EMAIL PROTECTED]> wrote:
> Hi,
> I have SiS6215c graphic card ,i am not able to configure the Xwindws  server on 
> Red Hat Linix 7.0 . So can u suggest how to go about.
> 
> Cheers.......
> 
> Girish

The SiS cards perhaps have information on www.xfree86.org's website?  Other
than that, I remember that there are some drivers on SiS's website but not
for which cards anymore.  I stopped using those cards after some deal of
frustration over the basic quality that I got from them.

Here is some info on SiS from xfree86.org...

30. Silicon Integrated Systems (SiS)

3.3.6:

      Support (accelerated) for the SiS 86C201, 86C202, 86C205, 86C215,
86C225, 5597, 5598, 6326, 530, 620, 300, 630 and 540
      is provided by the XF86_SVGA server with the sis driver.

4.0.3:

      Support (accelerated) for the SiS 530, 620, 6326 is provided by the
"sis" driver. The 630, 300, and 540 are also supported, but
      this code is new and there are some problems with it in this version.

Summary:

      Support for the 86C201, 86C202, 86C205, 86C215, 86C225, 5597 and 5598
is currently only available in 3.3.6.


There are also summary pages for X4.0.2 there.

-- 
Michael Perry
[EMAIL PROTECTED]
====================

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Turn off the warning message
Date: Mon, 28 May 2001 20:44:10 +0200

gajo <[EMAIL PROTECTED]> wrote:
> Each time I start Gnome as root I get a warning message. How can I turn it off?

By not starting gnome as root, which is what the message warns you
against doing! What's your excuse for wanting to override it, out
of mild interest? (hint, man sudo, man su, yawn ...)

Peter

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

From: [EMAIL PROTECTED]
Subject: Re: how to connect to internet in non-X
Date: 28 May 2001 10:16:37 -0700

"NG_lurker" <[EMAIL PROTECTED]> writes:

> hi jay,
> 
> thanks for your reply.
> 
> "Jay" <[EMAIL PROTECTED]> wrote in message
> news:tpiQ6.3243$[EMAIL PROTECTED]...
> 
> > Plz repost the X-display problem for another try.
> ok i will repost this again.
> 
> >Meanwhile have you made another user and tried X for that user?
> yeah the corruption is still there even if i login as non-root. the problem
> is common and the only way i could see things is refresh the window.
> 
> >Can you make X window work with generic display and monitor drivers?
> 
> i havent tried this yet. how do i do this anyway?
> 
> 
> 
> 
> > "NG_lurker" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > im a linux newbie.
> > >
> > > have linux rh7 running in my dual-boot box. i cant work in X for my
> > display
   ...<snip>...
Does redhat come with the utility XF86Setup?  I've always found that to
be the easiest way to set up X-windows.  It's graphical (without using
X-windows), and has sections for mouse, keyboard, graphics card, monitor,
and modes.  You need specifications for your monitor, (horizontal freq.
range, vertical freq. range), and what kind of graphics card you're
using.(lspci as root should tell you that.)
-- 
Replace ragwind.localdomain with rahul for a working email address

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


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