Linux-Misc Digest #821, Volume #25 Thu, 21 Sep 00 02:13:02 EDT
Contents:
Re: startx problem with the normal user (Brian Dotzour)
Help with installing driver (Steven W. Peters)
Re: zombie (Scott Hunter)
Re: "su" dumps core !? HELP! (Brian Dotzour)
Re: UID issue (Scott Hunter)
Newbie need help (Martin Racette)
Re: Interface eth0 won't come up on boot.... (Brian Dotzour)
Re: wavrec problem (Scott Hunter)
Re: Group Passwords (Steffen Kluge)
Newbie and Telnet (Martin Racette)
rpm (David Mehringer)
Re: Getting X (XF86Config) to working on a Dell Inspiron 3200Notebook? ("Dave
Stanton")
Telnet login delayed ([EMAIL PROTECTED])
Re: Telnet login delayed (Vilmos Soti)
Re: "su" dumps core !? HELP! (Vilmos Soti)
Re: UID issue (Vilmos Soti)
Creating a hard link to a directory.... (Rob Blomquist)
Re: Telnet login delayed (Stefan Pommerening)
Re: Need to view full name of process name disregarding brackets ("Andrew N. McGuire
")
Re: zombie ("Andrew N. McGuire ")
Boot Upgrade, how do I tell LILO? (Rob Blomquist)
Re: Group Passwords ("Andrew N. McGuire ")
Re: which editor should I learn VI or EMACS ("Andrew N. McGuire ")
----------------------------------------------------------------------------
From: Brian Dotzour <[EMAIL PROTECTED]>
Subject: Re: startx problem with the normal user
Date: Thu, 21 Sep 2000 03:19:23 GMT
If you're running RedHat, why aren't you logging in through the X-based login
screen?
Chakravarthy Sannedhi wrote:
> We at UAB are using Redhat linux for a particular project on VoIP. We got a
> problem with the console permissions. X is working only with the root and
> when i try to run with my user name it is displaying
> *Perhaps you do not have console ownership?*,
> and it is prompting for some command!
> I tried the following 3 things to get around this problem.
> 1. Added the following line in the /etc/pam.d/xserver
> *account required /lib/security/pam_permit.so* to the existing lines.
> 2. chmod go+w /dev/console
> 3. rpm --freshen *.rpm
>
> still not happy. I mean startx runs fine as root, just not as any other
> normal user!
> what else could be done.
>
> thanks
> Chakravarthy K Sannedhi
------------------------------
From: Steven W. Peters <[EMAIL PROTECTED]>
Subject: Help with installing driver
Date: Thu, 21 Sep 2000 03:16:52 GMT
I've searched the linuxdoc.org website for help on this, but couldn't
find it. My cable connection doesn't work on Linux, so I'm hoping a
change in the network card driver will work. The old driver that came
with the OS is 3C59x.o, and the new one for the card is 3C90x.o The
card I use is a 3COM 900B-TPO...
So I downloaded the driver from the 3COM website, and tried to install
it. However, it says "this driver was built for" a certain older
version of the kernel, and that I must recompile. I recompile using
the directions that they give to me, but nothing happens.
I'm running Mandrake 7.0. Another thing I noticed is that I don't have
a lib/modules/2.2.16 folder, yet I do for the older versions of the
kernels I've used.
Thanks in advance
Steven W. Peters
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Scott Hunter <[EMAIL PROTECTED]>
Subject: Re: zombie
Date: Wed, 20 Sep 2000 20:33:57 -0700
[EMAIL PROTECTED] wrote:
>
> When I run top it says I have 4 zombie processes. Can
> someone tell me exactly what a zombie process is? I
> couldn't find anything in top man page. Thanks
This should be fairly accurate.
A zombie process happens when a process forks
a child and forgets to kill it.
The OS can reclaim the zombie's memory but it
does claim one space on the process table.
There's (AFAIK) no way to get rid of the
zombie entry in the process table without rebooting.
The good news is you're not really out any resources
except a singe PID.
Ignore them, they dont matter.
--
Scott Hunter
[EMAIL PROTECTED]
http://www.surrealistic.org
------------------------------
From: Brian Dotzour <[EMAIL PROTECTED]>
Subject: Re: "su" dumps core !? HELP!
Date: Thu, 21 Sep 2000 03:30:58 GMT
most likely thing is that someone has trojaned your su, possibly just
replacing the binary with a different one. Either way, you had better
reinstall at least the basic packages if not the entire system...
Alex Khomenko wrote:
> Has anyone seen this happen? Any suggestions? I'm lost...
>
> mybox:~> su
> Password:
> Segmentation fault
> mybox:~> uname -a
> Linux mybox.concentric.net 2.2.12-20 #3 Tue May 2 09:59:38 PDT 2000 i686
> unknown
------------------------------
From: Scott Hunter <[EMAIL PROTECTED]>
Subject: Re: UID issue
Date: Wed, 20 Sep 2000 20:35:39 -0700
500 wrote:
>
> I have recently been working with NFS and Samba and had an
> interesting thing happen on the server. I am not sure if this is the
> cause or not, but it happened at about this time. The system no longer
> recognizes the user accounts by there names. For instance, the shell is
> set up to have the username in the prompt. Well, now instead of the
> username, it says "I have no name!" Also, long directory listings only
> give the UID in the owner field, not the username. How do I fix this?
>
> Will
Sounds like /etc/group is not availible. The system uses the info in
this file to turn UID's into names.
--
Scott Hunter
[EMAIL PROTECTED]
http://www.surrealistic.org
------------------------------
From: Martin Racette <[EMAIL PROTECTED]>
Subject: Newbie need help
Date: Thu, 21 Sep 2000 03:34:20 GMT
Hi guys,
I have installed Mandrake 7.1, and when I start KDE, I must redo all the=
=20
mouse set-up everytime. I'm left handed and I set-up the trackball (yes =
it's a trackball ansd not a mouse), to be use as left-hand, and=20
accelerated to 4x.
Is there a file that I can edit manually so it will keep those set-up ??=
?
Thank you in advance
Merci a l'avance
Martin
------------------------------
From: Brian Dotzour <[EMAIL PROTECTED]>
Subject: Re: Interface eth0 won't come up on boot....
Date: Thu, 21 Sep 2000 03:36:22 GMT
Is support for your card built into your kernel or is it loaded via a
module?
If it's a module, you want to add "alias eth0 <modulename>" to the file
/etc/modules.conf.
otherwise, hmmm........
Dave Barcelo wrote:
> Hi,
> I have an RH 6.2 system and I have my nic configured to come up on
> boot but it isn't working. I have the ONBOOT flag set to yes in
> /etc/sysconfig/network-scripts/ifcfg-eth0. What is the deal. I can
> bring it up manualy but can't bring it up on boot.
>
> Thanx in advance.
------------------------------
From: Scott Hunter <[EMAIL PROTECTED]>
Subject: Re: wavrec problem
Date: Wed, 20 Sep 2000 20:39:28 -0700
Al wrote:
>
> When I try to run wavrec or wavplay, I get the following message no matter
> what command line options I specify:
>
> Invalid argument: Audio block size (1024 bytes)
The 1st thing audio players/recorders do when they start is
initialize /dev/audio || /dev/dsp for options like number
of bits per sample, sample rate, mono, stereo, etc using a
function called ioctl.
You prolly have a sound card thats not capable of true 16 bit
or something along those lines.
--
Scott Hunter
[EMAIL PROTECTED]
http://www.surrealistic.org
------------------------------
From: [EMAIL PROTECTED] (Steffen Kluge)
Subject: Re: Group Passwords
Date: 21 Sep 2000 03:20:15 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
Christopher Browne <[EMAIL PROTECTED]> wrote:
>I think you may be misunderstanding things a tad; it's _users_ that
>have passwords, not groups.
Groups can have passwords, too. Use the gpasswd command to set
them (man group; man gpasswd).
Cheers
Steffen.
--
Steffen Kluge <[EMAIL PROTECTED]>
Fujitsu Australia Ltd
Keywords: photography, Mozart, UNIX, Islay Malt, dark skies
--
------------------------------
From: Martin Racette <[EMAIL PROTECTED]>
Subject: Newbie and Telnet
Date: Thu, 21 Sep 2000 03:41:19 GMT
Hi guys,
I need to use a Telnet as a VT100 emulation, but I can't find one in=20
Linux Mandrake 7.1.
Everytime I try to log on the TELNET site I get an error that says:=20
"Unable to connect to remote host: No route to host", and I know for a=20
fact that the TELNET address is working, because when I boot in Windows =
or OS/2, and try to telnet to the same address I can access it.
If it's not the TELENT program, then can anyone tell me what I need to=20
change/set-up so it can work
Thank you in advance
Merci a l'avance
Martin
------------------------------
From: David Mehringer <[EMAIL PROTECTED]>
Subject: rpm
Date: Wed, 20 Sep 2000 23:26:58 -0500
I'm trying to upgrade to rpm 4.0 from 3.0.4. I've read
http://www.mailgate.org/linux/linux.redhat.rpm/msg05460.html
When I do the suggested
rpm -Uvh {rpm,popt}-*
I get
only packages with major numbers <= 3 are supported by this version of RPM
error: rpm-4.0-7x.i386.rpm cannot be installed
...
www.rpm.org is of little use; the front page hasn't been modified in over a
year. It claims that 3.0.4 is the latest version.
Any help on what I need to do is appreciated.
Thanks
Emails (as well as simultaneous posts) are greatly appreciated since my news
feed can be flaky.
--
David Mehringer, Ph.D. University of Illinois
[EMAIL PROTECTED] National Center for Supercomputing
Research Scientist, Applications/Department of Astronomy
Software Applications Developer, 1002 W. Green St.
BIMA Data Archivist Urbana, IL 61801 USA
voice: 217 244 5468 fax: 217 244 7638
http://monet.astro.uiuc.edu/~dmehring/dmehring.html
------------------------------
From: "Dave Stanton" <[EMAIL PROTECTED]>
Subject: Re: Getting X (XF86Config) to working on a Dell Inspiron 3200Notebook?
Date: Thu, 21 Sep 2000 05:34:12 +0100
"Andrew N. McGuire " <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Wed, 20 Sep 2000, [EMAIL PROTECTED] quoth:
>
> > Getting X (XF86Config) to working on a Dell Inspiron 3200 Notebook?
> >
> > Will I got it working but it looks very bad. can someone please send me
> > a good XF86Config file?? or help me out
> >
>
> Don't ask that question, it is a ~VERY~ bad idea to use someone
> elses XF86Config file. Besides you will miss out on the immense
> feeling of satisfaction when you finally do get it working for
> yourself. However if you need some ~IDEAS~, you may want to look
> at:
>
> http://www.people.cornell.edu/pages/jcb35/linux/i3200.html
>
> Regards!
>
> anm
Why is it ?. Apart from the obvious one of imcopatible monitors I see no
reason why you should not look at someone elses config file to see what
works for them. Newcomers sometimes don't want to be unix experts, they just
want a working system.
Cheers
Dave
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.setup,comp.os.linux.networking
Subject: Telnet login delayed
Date: Thu, 21 Sep 2000 04:26:33 GMT
Hi everyone
I installed Redhat Linux 6.2 and i enable telnet also
when i try to telnet to this server from my windows client (95 and 98)
it takes long time (almost 55 second) to show the login prompt. all PcS
ARE ON LOCAL NETWORK.
I want to reduce the Login-prompt time. How can this be achived. All
users who are using Linux server are Trusted user.
Thanks in advance
ssp99
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Crossposted-To: alt.os.linux,comp.os.linux.setup,comp.os.linux.networking
Subject: Re: Telnet login delayed
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 21 Sep 2000 04:59:50 GMT
[EMAIL PROTECTED] writes:
> I installed Redhat Linux 6.2 and i enable telnet also
> when i try to telnet to this server from my windows client (95 and 98)
> it takes long time (almost 55 second) to show the login prompt. all PcS
dns. Either configure a dns for your local network, or put
the ip addresses/names in /etc/hosts file.
Vilmos
------------------------------
Subject: Re: "su" dumps core !? HELP!
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 21 Sep 2000 05:04:04 GMT
Brian Dotzour <[EMAIL PROTECTED]> writes:
> most likely thing is that someone has trojaned your su, possibly just
> replacing the binary with a different one. Either way, you had better
> reinstall at least the basic packages if not the entire system...
>
> Alex Khomenko wrote:
>
>> mybox:~> su
>> Password:
>> Segmentation fault
>> mybox:~> uname -a
Or have you upgraded a library which is used by su? (BTW wouldn't it
be a good idea that su be static binary)
Vilmos
------------------------------
Subject: Re: UID issue
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 21 Sep 2000 05:08:56 GMT
> I have recently been working with NFS and Samba and had an
> interesting thing happen on the server. I am not sure if this is the
> cause or not, but it happened at about this time. The system no longer
> recognizes the user accounts by there names. For instance, the shell is
> set up to have the username in the prompt. Well, now instead of the
> username, it says "I have no name!" Also, long directory listings only
> give the UID in the owner field, not the username. How do I fix this?
Do you have all the libraries? When I wanted to make a chrooted telnet
(I know, I know, just fun), I also had the same problem. Finally the
problem was that I didn't have /etc/nsswitch.conf and libnss_files*
This was a RH6.0 box. So, for me, it was a library issue. Maybe one
of your libraries is either damaged or more probably got erased.
Try a "strace -o strace_id id; more strace_id" command and see
which suspicious looking file/library is missing. If you can
have another strace output from a similar machine which doesn't
show the behaviour you have then just compare the strace_id files.
Vilmos
------------------------------
From: Rob Blomquist <[EMAIL PROTECTED]>
Subject: Creating a hard link to a directory....
Date: Wed, 20 Sep 2000 22:33:57 -0700
I'm trying to make a hard link from a directory in my home directory to
/mnt/robbo.
I have su'd to root, then given the command: ln -F /mnt/robbo
/home/robbo/documents. I get the error message "Invalid Cross Device
Link". I guess that means that it thinks /home/robbo/documnents is a
file. I have tried several other variants, and can't seem to figure this
one out. Yes, I realize that I could mount the drive to the location,
but I would rather do this.
Any thoughts?
--
Rob Blomquist
Kirkland, WA
Gone to the penguins...Bye, bye, Billy-boy....
------------------------------
From: Stefan Pommerening <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,comp.os.linux.networking
Subject: Re: Telnet login delayed
Date: Thu, 21 Sep 2000 07:41:45 +0200
Seems to be a typical DNS problem. Check the following:
When logged in the linux box, check your source IP by
questioning 'w' command. If you get a numerical IP address
that's the problem...
Linux tries to resolve your numerical source IP and does
not succeed - therefore you get the 1 minute timeout (about).
Solution:
- Configure reverse DNS for the source IP address by
setting it up in your /var/named configuration or simply
adding this ip to your /etc/hosts file.
Stefan.
[EMAIL PROTECTED] schrieb:
>
> Hi everyone
>
> I installed Redhat Linux 6.2 and i enable telnet also
> when i try to telnet to this server from my windows client (95 and 98)
> it takes long time (almost 55 second) to show the login prompt. all PcS
>
> ARE ON LOCAL NETWORK.
>
> I want to reduce the Login-prompt time. How can this be achived. All
>
> users who are using Linux server are Trusted user.
>
> Thanks in advance
>
> ssp99
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Need to view full name of process name disregarding brackets
Date: Thu, 21 Sep 2000 00:47:33 -0500
On Thu, 21 Sep 2000, Brian Dotzour quoth:
BD> Set up a shell script that gets each process name and stores it in a
BD> tempfile (I'd use sed if I were you).
BD> Then loop through that temp file and stick each process name in a variable
BD> ($name), then do this:
BD>
BD> tr -d [ $name | tr -d ]
BD>
BD> the output will be the name without brackets. if the name has no brackets
BD> nothing will change. Then do
BD> whatever you want with the output.
BD>
I think you are misunderstanding the OP. I am fairly certain that
he is asking how you make swapped out process' show the full path
name. ( I don't know the answer off the top of my head, hmmm. )
anm
--
<(@)> ; $/ = q;;; for $" ( map $_ && chr() => split m~[\D+ <(@)>
<(@)> ]~ => <DATA> ) { print "@{ [ '' => '' ] }" } __END__ <(@)>
<(@)> 74 117 115 116 32 97 110 111 116 104 101 114 32 <(@)>
<(@)> 80 101 114 108 32 72 97 99 107 101 114 10 <(@)>
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: zombie
Date: Thu, 21 Sep 2000 00:49:13 -0500
On Wed, 20 Sep 2000, Scott Hunter quoth:
SH> [EMAIL PROTECTED] wrote:
SH> >
SH> > When I run top it says I have 4 zombie processes. Can
SH> > someone tell me exactly what a zombie process is? I
SH> > couldn't find anything in top man page. Thanks
SH>
SH> A zombie process happens when a process forks
SH> a child and forgets to kill it.
[ snip ]
SH> Ignore them, they dont matter.
Except when they fill up the process table.
anm
--
<(@)> ; $/ = q;;; for $" ( map $_ && chr() => split m~[\D+ <(@)>
<(@)> ]~ => <DATA> ) { print "@{ [ '' => '' ] }" } __END__ <(@)>
<(@)> 74 117 115 116 32 97 110 111 116 104 101 114 32 <(@)>
<(@)> 80 101 114 108 32 72 97 99 107 101 114 10 <(@)>
------------------------------
From: Rob Blomquist <[EMAIL PROTECTED]>
Subject: Boot Upgrade, how do I tell LILO?
Date: Wed, 20 Sep 2000 22:54:23 -0700
I recently added an oversize (40Mb) /dev/hda1 at the head of my disk
which is now mounted and running as /boot.
I have been booting off a bootdisk as my Linux drive /dev/hda3, is
beyond 1024 thanks to Win98, and I could not directly boot Linux.
I would like to know how to write LILO into hda's MBR so that I can boot
Linux and Win98 directly. I understand how to edit lilo.conf, but not
how to get it to run.
Rob
--
Rob Blomquist
Kirkland, WA
Gone to the penguins...Bye, bye, Billy-boy....
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Group Passwords
Date: Thu, 21 Sep 2000 00:54:33 -0500
On Thu, 21 Sep 2000, Christopher Browne quoth:
CB> In our last episode (20 Sep 2000 20:41:37 GMT),
CB> the artist formerly known as john slimick said:
CB> >I must not be looking in the right places, but I simply can not find
CB> >any information on how one sets a group password. Yes, it's great
CB> >that we have gone past the Unix "leave the group password out in the
CB> >open", and I'm impressed that we can shadow the group passwords, but
CB> >how do you set one???
CB>
CB> I think you may be misunderstanding things a tad; it's _users_ that
CB> have passwords, not groups.
CB>
CB> Users are _members_ of groups.
CB>
CB> Passwords don't enter into this.
I think you may be misunderstanding things a tad; groups can have
passwords.
man gpasswd
anm
--
<(@)> ; $/ = q;;; for $" ( map $_ && chr() => split m~[\D+ <(@)>
<(@)> ]~ => <DATA> ) { print "@{ [ '' => '' ] }" } __END__ <(@)>
<(@)> 74 117 115 116 32 97 110 111 116 104 101 114 32 <(@)>
<(@)> 80 101 114 108 32 72 97 99 107 101 114 10 <(@)>
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: which editor should I learn VI or EMACS
Date: Thu, 21 Sep 2000 01:05:14 -0500
On Wed, 20 Sep 2000, Charles Samuels quoth:
CS> It depends on what you're going to do with the editor. If it is for minor
CS> changes in text documants, do you really need a large editor, full of doo-dads
CS> that are not required. Maybe you could look at pico, jed or joe for your real
CS> needs. Another editor would be nano, which has to be downloaded and installed
CS> and is related to pico in the way it works--that is what I have read.
Oh for goodness sakes, learn vi (or vim, but just don't whine when
you go into feature withdrawl when using vanilla vi). vi is
ubiquitous. vi is simple. vi is powerful. vi is an editor written
by a billionaire (literally). vi is a programmers editor that, like
emacs can solve the towers of hanoi problem. vi is small. Like emacs
mode, most shells offer vi mode too (so you don't go into shell shock
:-). In short, vi is installed on every flavour of *nix I can think
of, and it can do everything you would want an editor to do (plus more),
(OK, so it can't read news, browse the web, do email, play tetris, and
give you mental health advice, but so what?
BTW, how do you go straight to line 121 in pico?
anm
--
<(@)> ; $/ = q;;; for $" ( map $_ && chr() => split m~[\D+ <(@)>
<(@)> ]~ => <DATA> ) { print "@{ [ '' => '' ] }" } __END__ <(@)>
<(@)> 74 117 115 116 32 97 110 111 116 104 101 114 32 <(@)>
<(@)> 80 101 114 108 32 72 97 99 107 101 114 10 <(@)>
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************