Linux-Misc Digest #53, Volume #21 Fri, 16 Jul 99 13:13:08 EDT
Contents:
Re: chroot-performing sshd? (Ralf Hildebrandt)
Re: Does Linux support 'sar'? (Jon Skeet)
Re: repartitioning after install ([EMAIL PROTECTED])
Re: Does Linux support 'sar'? ("Manuel Sepulveda")
Re: CIA assassinations (MK)
Iomega ZIP parallel zip drive under red hat linux 6.0 problem solved (Phillip George
Geiger)
Re: sin + cos in C (Stephen Chadfield)
Re: Communicator 4.61 with diald causes temporary X freeze (Johan Kullstam)
Re: CIA assassinations (Holy Cow)
Re: OOOOPPPPPSSS, FTP Access ("Art S. Kagel")
Re: Star Office glibc2.1 Install Problem (Pieter Wenk)
Re: VMware with SuSE 5.3 (David Graham)
How to see dos-hidden-files? ([EMAIL PROTECTED])
Re: CIA assassinations (Holy Cow)
rlogin without password ([EMAIL PROTECTED])
Re: staroffice (Pieter Wenk)
I need help with X ("J.C. Hill-Tout")
Re: Solving the 1024 cylinder LILO problem (Holger Petersen)
Re: System Backup Help?? (Leonard Evens)
Re: mt-st and DLT4000 tape drive (Robert Komar)
Re: CIA assassinations (MK)
Re: rlogin without password (Bill Anderson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Ralf Hildebrandt)
Crossposted-To: comp.os.linux.security,comp.security.unix
Subject: Re: chroot-performing sshd?
Date: 16 Jul 1999 14:01:54 GMT
On Fri, 16 Jul 1999 14:18:12 +0200, Birger Toedtmann
<[EMAIL PROTECTED]> wrote:
>Otherwise - putting a "chroot /dododo2" within /etc/passwd for a shell
>does not work out because of the restrictive implementation of chroot
>as a priviledged system call.
>
>Even a suid /usr/sbin/chroot won't work: you'll end up euid=0 as well
>(and no one wants to suid chroot :->)
>
>So I was wondering whether there is any sshd implementation out there
>that has a "Chroot Yes" in its sshd_config, reads the homedir of a user
>from /etc/passwd and drops him there doing a chroot, ending up euid=uid.
>
>Suggestions?
Use a restricted login shell for the users... SOmething like rsh or smrsh
--
Ralf Hildebrandt http://www.stahl.bau.tu-bs.de/~hildeb (0)531/391-3366
Institute for Steel-Structures, Technic. Univers. of Braunschweig, Germany
"Those who do not understand UNIX are condemned to reinvent it -- badly."
-- Henry Spencer
------------------------------
From: [EMAIL PROTECTED] (Jon Skeet)
Subject: Re: Does Linux support 'sar'?
Date: Fri, 16 Jul 1999 15:31:11 +0100
[EMAIL PROTECTED] wrote:
> Is there a 'sar' like program on Linux?
> 'sar' is System Activity Report
> It gets system information such as
> swap, memory, paging, queues, cpu usage, etc.
vmstat may be of some use to you...
--
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: repartitioning after install
Date: Fri, 16 Jul 1999 15:04:57 GMT
thanks for the replies. well, i went ahead and tried resizing the
partitions (main ext2 and swap partitions) with pm4 and so far no
problems have risen. rhl6 recognizes the increased partition size, but
i can't say if there'll be any conflicts that may arise sometime.
pm4 seems to work; i don't know if other utilities will work as well.
thanks...
liam
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Manuel Sepulveda" <[EMAIL PROTECTED]>
Subject: Re: Does Linux support 'sar'?
Date: Fri, 16 Jul 1999 17:33:43 +0200
Hello Jon,
Under Linux you have a better programme, this is 'top'.
Undet line command type : top
You wiill obtain all information concerning your system.
by.
Manuel
Jon Skeet wrote in message ...
>[EMAIL PROTECTED] wrote:
>> Is there a 'sar' like program on Linux?
>> 'sar' is System Activity Report
>> It gets system information such as
>> swap, memory, paging, queues, cpu usage, etc.
>
>vmstat may be of some use to you...
>
>--
>Jon Skeet - [EMAIL PROTECTED]
>http://www.pobox.com/~skeet/
------------------------------
From: [EMAIL PROTECTED] (MK)
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: Fri, 16 Jul 1999 16:14:18 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 16 Jul 1999 11:28:21 +0600, Holy Cow <[EMAIL PROTECTED]> wrote:
>> >>Anyway, net access continues to get faster, cheaper, and better supported. I
>> >>have no complaints.
>>
>> >Others do, but obviously they don't matter.
>>
>> Then try Europe, moron, where net access is pay-per-time, an hour
>> of net access costs European three times as much per hour of work
>> than it costs American, and [blah, blah, blah]...
>What's your point? Do you remember by any chance what the initial issue
>was? I'll remind you, genius: how does the fact that your govt seems to
>foul these industries up prove that we're all just fine in the absence
>of government?
Nobody can ensure "we're all just fine". That just does not happen
in this world. However, we can be possibly best off, though that
"best" is not perfect. If government keeps its hands off the economy
and people's affairs, we're best off that it can be there. "If one
can keep government from taking away from people supposedly
for caring for them, people will be happier" -- Thomas Jefferson
(please forgive distortions from retranslation back into English).
Take note: not "absolutely happy". Happier. So much and only
that much.
Marcin Krol
==================================================
Reality is something that does not disappear after
you cease believing in it - VALIS, Philip K. Dick
==================================================
Delete _spamspamlovelyspam_ from address to email me
------------------------------
From: Phillip George Geiger <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Iomega ZIP parallel zip drive under red hat linux 6.0 problem solved
Date: 16 Jul 1999 15:25:59 GMT
Thanks to all that sent me suggestions on how to get the $%(#!! thing
working. Help, particularly the free kind, is always appreciated.
Success came when, contrary to what the FAQ implies, I discovered that
a parallel port zip drive is not ALWAYS /dev/sda4.
On my computer it happened to be /dev/sdc4 -- maybe that's because I
have 3 SCSI adapters in it and a handful of SCSI hard drives and peripherals.
I dunno.
So if you're ready to take a chainsaw to your spiffy new ZIP drive because
you've done
$ insmod parport
$ insmod ppa
$ mount -t vfat /dev/sda4 /zipdrive
and all the damn thing says back to you is
mount: /dev/sda4 is not a valid block device
try /dev/somethingelse, in particular /dev/sdb4, /dev/sdc4, and so on.
--
Phil Geiger
[EMAIL PROTECTED]
------------------------------
From: Stephen Chadfield <[EMAIL PROTECTED]>
Subject: Re: sin + cos in C
Date: Fri, 16 Jul 1999 16:18:56 +0100
Glitch wrote:
>
> any reason why we have 2 more responses than neeeded?
You don't understand how newsgroups work, do you?
--
Stephen Chadfield
http://www.aquamarine.demon.co.uk/
------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: Communicator 4.61 with diald causes temporary X freeze
Date: 16 Jul 1999 11:42:49 -0400
[EMAIL PROTECTED] (Sitaram Chamarty) writes:
> On 14 Jul 1999 23:48:46 GMT, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>
> >When I first start Communicator and click on the
> >bookmarks, X freezes. After the connection with
> >my ISP is established everything goes back to normal
> >and works well.
>
> Whenever anyone says "temporary freeze" I think "DNS". In your
> case - I dont know. I mean, if you said Netscape froze, I'd
> understand. Why the whole of X - I have no idea.
>
> To test if this is indeed the problem, do this: change the "home
> page" that netscape loads up when it starts to a file: url -
> otherwise the very first touch of any button *does* make it go out
> to the net looking for it.
the URL ``about:mozilla'' is ideal for this purpose.
it's my home page.
--
johan kullstam
------------------------------
From: Holy Cow <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: Fri, 16 Jul 1999 11:30:12 +0600
Richard Kulisz wrote:
> You witless cretin,
So, why are you responding to him then <G>?
------------------------------
From: "Art S. Kagel" <[EMAIL PROTECTED]>
Subject: Re: OOOOPPPPPSSS, FTP Access
Date: Fri, 16 Jul 1999 11:37:31 -0400
Reply-To: [EMAIL PROTECTED]
You need the ftp daemon, ftpd, either running in memory or configured
for the inet daemon, inetd, to start for you. Unless you have a lot
of ftp traffic it is normally started by inetd. Look in the inetd
config file: /etc/inetd.conf you should see a line like:
ftp stream tcp nowait root /usr/bin/ftpd ftpd -t900
If it is commented out then uncomment it, if missing add it (I'm not
sure where RH keeps the ftpd so you may have to find it to get the path
right for arg #6.
Art S. Kagel
Greg Coggins wrote:
>
> Ok so I mucked up the last note, we will try it again:
>
> I am using RH 6.0. I need to FTP into the system to work on it. I have
> verified that FTP, Wu-FTPD, anonftp and ncftp are all on the system but
> I can not FTP into the box from anywhere.
>
> I have look at the ftpaccess, ftpusers and FTP hosts, but I must be
> missing something as I still can not get into the box.
>
> Help would be appreciated.
>
> Thanks
------------------------------
From: Pieter Wenk <[EMAIL PROTECTED]>
Subject: Re: Star Office glibc2.1 Install Problem
Date: Fri, 16 Jul 1999 16:38:21 GMT
>>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
Le 15/07/1999, =E0 22:55:44 h, root <[EMAIL PROTECTED]> vous a =
=E9crit sur le sujet suivant Star Office glibc2.1 Install Problem:
> The Star Office web site says that you need a special build of the
> install files for the new glibc2.1, and to get it of of your Redhat or=
> Caldera install CDs. (The install files for the 2.07 will not install =
on
> Redhat 6) These RPM's are not posted on either companies ftp sites.=20
Any
> suggestions for obtaining or installing the 2.07 version with the 2.1
> glibc?
> Thanks in advance,
> Jim Sauber
I downloaded Staroffice 5.1 running under Red Hat 6.0.
When you are on the Star Office Web Site, you will find there somewere=20
a page, informing you for which Red Hat version, you will have to get=20
the glibc2.1 library.
On that comparison liste (quite exhaustive), Red Hat 6.0 version does=20
not need to download this version. I understood, that the Red Hat 6.0=20
has this library already....
At least my Staroffice is working.....this message is written by this=20
tool.
Except, that I am still unable to get the slightes print out of this=20
nifty app....but I this is another question.
Regards
Pieter Wenk
CH-Vevey Riviera Vaudoise Switzerland
/ // / (_)____ __ ____ __ =20
/ /__/ / _ \/ // /\ \/ /=20
/____/_/_//_/\_,_/ /_/\_\
* * * THE CHOICE OF A GNU GENERATION * * *
------------------------------
From: David Graham <[EMAIL PROTECTED]>
Subject: Re: VMware with SuSE 5.3
Date: Fri, 16 Jul 1999 10:21:30 -0400
One possibility: After the install, you need to start the daemon(s).
As root, do: /etc/rc.d/init.d/vmware start
(the script may be elsewhere; that's where the install put it on my
system)
Then go back and start the vmware binary.
Another possibility: hardware problem - SIG 11 often means bad RAM. In
that case it ought to show up in many places, not just VMware.
David Graham
--
>
> I installed vmware with �install.pl�. When i try to start it with
> �vmware� i get that error message:
>
> (USER) Exiting on unexpected signal.
> Panic without a VM
>
> and in vmware-log it says:
>
> Jul 15 21:27:05: Log for VMware PID 462
> Jul 15 21:27:05: Host version 2.0.35.0.0
> Jul 15 21:27:08: Caught signal 11 -- pid 462
> Jul 15 21:27:08: Exiting on unexpected signal.
> Jul 15 21:27:08: VT: Failed to stop kernel output redirection
> Jul 15 21:27:08: Clean exit.
>
------------------------------
From: [EMAIL PROTECTED]
Subject: How to see dos-hidden-files?
Date: Fri, 16 Jul 1999 15:41:17 GMT
Dear all
I have a commercial CD on which quite a few data files and quicktime
movie files are residing. I was able to see all the files from win95. I
had to enable [show hidden files] though, in explorer. From linux
whatever I do I can't even see those files. ls in whatever form gives
.,..,one of the empty directory name but skips all the data and movie
files. I remember those files had hidden attribute set under DOS.
Does anybody have a clue how to make those files visible to linux!
Thanks
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Holy Cow <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: Fri, 16 Jul 1999 11:45:44 +0600
MK wrote:
>
> On Thu, 15 Jul 1999 15:34:25 +0600, Holy Cow <[EMAIL PROTECTED]> wrote:
>
> >MK wrote:
> >> As long as government does not get involved, customer has all
> >> the power.
> >This is absolutely not true. But it is a popular bs line. (Just a
> >comment in passing.)
>
> You're free to assert that, but you still did not prove it or at
> least provide strong arguments.
No, it's not up to me at that point. You have to prove is what you
propose, which is "As long as government does not get involved, customer
has all the power." I can say that pigs fly, and according to your logic
it'll then be up to you to prove that they don't <g>. Doesn't work like
that. Whoever offers up a theory bears the burden of proving it--so, how
about we reverse the roles and I'll ask you to prove your (or maybe not
your, but you obviously agree with it) statement that:
> As long as government does not get involved, customer has all
> the power.
Say, you proposed this view, it is your theory. Now, show me the
evidence so I can consider is as a valid conjecture, and then use some
logic to prove that your conjecture is true. Just to help you along a
bit, I'll make a example (similar, imo.) Say you can get out of your
house and, whenever you do, you expose yourself to some dangers. For
example, you can be hit by a municipal truck. Now, if I were to tell
you, hey, as long as the municipal truck's in the garage, you have all
the power and are absolutely safe. How would that sound to you?
Or, in a more structured way:
1. Government can introduce difficulties in operation of a business
that,
by impeding the 'natural' operation thereof which may result in
problems
for consumers.
Therefore:
2. As long as government does not get involved, customer has all the
power.
Is that good logic you think?
------------------------------
From: [EMAIL PROTECTED]
Subject: rlogin without password
Date: Fri, 16 Jul 1999 14:39:37 GMT
On my SGI I can specify which users can log into an account on another
machine without using a password by entering a user name in a .rhosts
file.
How can that be done in Linux???
Thank you,
Clarence Donath
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Pieter Wenk <[EMAIL PROTECTED]>
Subject: Re: staroffice
Date: Fri, 16 Jul 1999 16:52:50 GMT
>>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
Le 15/07/1999, =E0 04:03:16 h, Kevin White <[EMAIL PROTECTED]> vous =
a=20
=E9crit sur le sujet suivant staroffice:
> Hi,
> I have installed staroffice 5.1 on a redhat 6.0 system. when logged=20
in
> as root I can run staroffice just fine. But when I log in as a user, =
I
> type soffice and the disk grinds for a minute, but nothing ever comes
> up, and the soffice process exits without any messages (just bash=20
saying
> that soffice exited).
Also I am just a new bee, you could try this:
I assume, that you have installed a version under root, which as you=20
says works fine...I have done the same, matter of pure concinence.
I also assume, that you have installed it somewere under /usr/local
Login as user
Then get the setup file you will find likely under usr/local/soffice
and run an addition installation, but this time under your=20
user/home....
You must install an additional version under your user/home....as well=20
as for any other additional user.
Then, create a kdelnk to the soffice binary....and Staroffice should=20
launch.
Now I am just a beginner with Linux....but at least this is what I=20
have done, at it seems to work.=20
This message is written on Staroffice on my home/user account.
Regards
Pieter Wenk
CH-Vevey Riviera Vaudoise Switzerland
/ // / (_)____ __ ____ __ =20
/ /__/ / _ \/ // /\ \/ /=20
/____/_/_//_/\_,_/ /_/\_\
* * * THE CHOICE OF A GNU GENERATION * * *
------------------------------
From: "J.C. Hill-Tout" <[EMAIL PROTECTED]>
Subject: I need help with X
Date: Fri, 16 Jul 1999 09:35:55 -0700
Reply-To: [EMAIL PROTECTED]
I am in the process of installing SuSE 6.1. Everything goes well untill
I get to configuring X. I end up with a screen squashed into 1/3 height
and 2/3 of the width of my monitor. I am running a TVM MediaScan 5a
monitor and ATI 3DRage 11 video card and the Mach64 X-server. My machine
is a P-200 base with 64meg. RAM.
Any ideas / sugestions? Thanks in advance!
------------------------------
From: [EMAIL PROTECTED] (Holger Petersen)
Subject: Re: Solving the 1024 cylinder LILO problem
Date: Fri, 16 Jul 1999 14:26:51 GMT
Horst von Brand <[EMAIL PROTECTED]> writes:
>This isn't a lilo problem, it's a BIOS problem.
It's both.
>> There was one way-out in a german newsgroup. I did not see
>> any more mentioning of this try...
>This patch depends on a feature not all BIOSes have.
The number of bytes in the master boot record (512) minus the size
of the partition table (4*16=64) minus the (not always necesarry)
2-byte signature at the end as well as the 2-byte jump at the start
gives 444 useful bytes to boot from.
This seems to be too small to test and _perhaps_ use the new Bios-
features.
Yours, Holger
PS: Rolf has withdrawn his web-page. But he can still be reached
as "[EMAIL PROTECTED]". I got his patch as an E-Mail
some days ago.
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: System Backup Help??
Date: Fri, 16 Jul 1999 10:05:57 -0500
Edward Ned Harvey wrote:
>
> I want to back up my system (I'm running RedHat 6) and here's the problem
> I'm having:
>
> First, I'm trying to use tar.
>
> tar can't compress multivolume archives (This is moderately important)
> And
> Any hidden files .* don't get backed up anyway. (This is extremely
> important).
>
> Does anybody have any suggestions? Perhaps I shouldn't try to use tar?
You could try dump, but I don't know if that works for multivolume
dumps. Generally tar is more reliable.
If you can't use compression with multivolume tars, you could
try writing a shell script which tar'd in separate chunks, each
of which would fit without multivolume dumps. You could also
have the script prompt you to insert the next media. That
way you could do the equivalent of multivolume tars but with
compression. If you wanted to be very clever, you could have
the script analyze your disk to decide how much to tar at
a shot, but most likely it would be considerably easier to
do this by hand yourself in advance and include directories
with totals that you could be reasonably sure would never
require more than one volume at a time.
Hidden files are backed up by tar if they are in the directory
being listed and you are in the parent directory. So
if you want to tar joe's directory in /home, you could
cd /home
tar cvzf /dev/media_device joe
and have all of joe's dot files tar'd.
If you use my suggestion of doing single tars of specified
directories, you could do it all from the / directory.
The only problem you would have would be backing up dot
files in that directory, but I don't think there are any.
If you have to cd to lower level directories to split
things up properly, you could do tars with the --exclude
option or make other use of options to specify exactly
what to include in any tar. But the only dot files which
should be needed would be those in user directories, so
this should not really be a problem.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Robert Komar <[EMAIL PROTECTED]>
Subject: Re: mt-st and DLT4000 tape drive
Date: 16 Jul 1999 16:49:54 GMT
[EMAIL PROTECTED] wrote:
: You can only set density once on a DLT tape. Either the whole thing is
: compressed, or it isn't. Also, you can set the density manually by pushing
: the button to the left of the tape handle - various LEDs will light, stop
: pushing the button when you get to the state you want.
I tried that with a type IV tape, and it wouldn't change the compression
mode that it found on the tape (the tape had been previously used, but
was at the BOT and writeable). Using mt to set the density did
change the compression mode, though. Does the front panel button only
work for new tapes?
Cheers,
Rob Komar
------------------------------
From: [EMAIL PROTECTED] (MK)
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: Fri, 16 Jul 1999 16:15:26 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 16 Jul 1999 11:53:50 +0600, Holy Cow <[EMAIL PROTECTED]> wrote:
>> As long as monopoly does not have backing of government,
>> it falls apart in finite time due to internal contradicting interests.
>That's an interesting piece of home-made marxism. They've always relied
>on such 'contradictions' <g>.
Huh? That's game theory, not "home made marxism".
>Keep waitin...
Try Robert Axelrod's "Evolution of cooperation".
>> Also, those outside monopoly are free to compete with monopoly,
>Absolutely true. As true as that cripples are free to compete with
>athletes.
Absolutely, they are indeed. Life's unfair.
Marcin Krol
==================================================
Reality is something that does not disappear after
you cease believing in it - VALIS, Philip K. Dick
==================================================
Delete _spamspamlovelyspam_ from address to email me
------------------------------
From: Bill Anderson <[EMAIL PROTECTED]>
Subject: Re: rlogin without password
Date: Fri, 16 Jul 1999 11:38:16 -0400
However, you're *much* better off to use ssh instead. Same basic idea,
except that it's secure...
Bill
--
Bill Anderson | UNIX Workstation Support
[EMAIL PROTECTED] | University Technology Services
Work: 292-7802 452 Baker Systems | The Ohio State University
On Fri, 16 Jul 1999, Flint Slacker wrote:
> Date: Fri, 16 Jul 1999 18:11:36 GMT
> From: Flint Slacker <[EMAIL PROTECTED]>
> Newsgroups: comp.os.linux.misc
> Subject: Re: rlogin without password
>
>
> Same way. In the users directory, put a .rhosts file, in it put
> servername UserFromThatServer
>
> From servername
>
> rsh -l UserNameOnRemoteServer servername
>
> Your now longed in as XXXX without a password prompt
>
> Flint
>
> On Fri, 16 Jul 1999 14:39:37 GMT, [EMAIL PROTECTED] wrote:
>
> >On my SGI I can specify which users can log into an account on another
> >machine without using a password by entering a user name in a .rhosts
> >file.
> >
> >How can that be done in Linux???
> >
> >Thank you,
> >Clarence Donath
> >[EMAIL PROTECTED]
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Share what you know. Learn what you don't.
>
>
>
------------------------------
** 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
******************************