Linux-Misc Digest #590, Volume #26               Tue, 19 Dec 00 17:13:02 EST

Contents:
  good distro for 486? ([EMAIL PROTECTED])
  How can I chat with my friend online? (GYULAI Mihaly)
  7.2, telnet and rsh (Jim Hollenback)
  too many /var/log/messages (ekk)
  Re: good distro for 486? (Bit Twister)
  Setting up a dual processor system with Redhat (mike)
  Re: module net-pf-10 (Markus Kossmann)
  Re: How can I chat with my friend online? (Jan Schaumann)
  Re: dev/pts (newbie?) (Robert D'Amfino)
  Re: Sound editing software (Kevin)
  Re: How does an OS really work? (Chen Wang)
  Re: Can any1 tell me why I can't print postscript ? (HomerWelch)
  Re: High resolution wall-clock timings in Linux? (Aniket Malatpure)
  Re: Do Linux ext2 partition need defrag? ([EMAIL PROTECTED])
  Re: kernel recompilation error (Stephen Hui)
  chmod -R a+r(x) * ([EMAIL PROTECTED])
  Re: install the netscape-browser !! (Stephen Hui)
  Re: good distro for 486? (mst)
  Re: lilo warning : device 0x3030 cylinder exceeed 1024 (Arnstein Oseland)
  Re: High resolution wall-clock timings in Linux? (JCA)
  Re: 7.2, telnet and rsh (Dave Brown)
  Terminal beeps when typing ("Martin")
  Re: How does an OS really work? (mst)
  Re: 7.2, telnet and rsh (Jim Hollenback)
  Re: chmod -R a+r(x) * (Jan Schaumann)
  shell script online docs ([EMAIL PROTECTED])
  how to set up fetchmail/mailreader/sendmail? (Rick)
  Re: chmod -R a+r(x) * ("Paul")
  Re: chmod -R a+r(x) * (Timothy J. Lee)

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

From: [EMAIL PROTECTED]
Subject: good distro for 486?
Date: 19 Dec 2000 18:28:53 GMT


        I've got an old 486dx4 box, 40m memory, ISA video card.  It actually 
runs SuSE 6.3 pretty nicely, even enlightenment, albeit a little slow.  Only 
problem is, I need to update a bunch of stuff in one fell swoop.  Anybody 
running SuSE or Mandrake 7.x on older hardware?  Any problems I should know 
about?  I'm particularly concerned with running something newer than Xfree
3.3.6 on a 1mb Trident 9440 card.
        Desperately hedging obselecence...

        ef


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

From: GYULAI Mihaly <[EMAIL PROTECTED]>
Subject: How can I chat with my friend online?
Date: Tue, 19 Dec 2000 18:34:17 GMT

How can I chat with my friend online?

I've heard about ICQ and IRC and such as 'chat', but I'm very
green in this field, please enlighten me, if you can!

I need just typing possibility (not phone or video or other tricks...).

What is suitable for me? What program do you recommend?
(it can be X-based, however I prefer console-based programs)

PS. the other side, where my friend sits, is an MS-based PC...

--
GYULAI Mihaly
http://gyulai.freeyellow.com


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (Jim Hollenback)
Subject: 7.2, telnet and rsh
Date: 19 Dec 2000 18:37:46 GMT

Still can't seem to get telnet and rsh working on 7.2. Both telnet-server
and rsh-server are installed, the config files in /etc/xinetd.d are fixed
to allow access, but all I get for telnet is 

telnet: Unable to connect to remote host: Connection refused

and for rsh

Permission denied.

rlogin and ftp are fine. Any clues?

--
Jim Hollenback
[EMAIL PROTECTED]

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

From: ekk <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.alpha
Subject: too many /var/log/messages
Date: Tue, 19 Dec 2000 13:51:02 -0500

Hello,
On an alpha machine with a SCSI CD-R, my /var/log/messages files get
extremely large quickly and fill up my / directory.  An error I see
often is:

     Dec 17 04:02:27 alpha1 kernel: ^ISense class 7, sense error 0,
extended sense 3
     Dec 17 04:02:28 alpha1 kernel: SCSI error: host 1 id 6 lun 0 return
code = 28000002
     Dec 17 04:02:28 alpha1 kernel: ^ISense class 7, sense error 0,
extended sense 3
     Dec 17 04:02:28 alpha1 kernel: sr0: CDROM (ioctl) error, command:
Test Unit Ready 00 00 00 00 00
     Dec 17 04:02:28 alpha1 kernel: [valid=0] Info fld=0x0, Current
sr00:00: sense key Medium Error
     Dec 17 04:02:28 alpha1 kernel: Additional sense indicates Unable to
recover table-of-contents
     Dec 17 04:02:28 alpha1 kernel: SCSI error: host 1 id 6 lun 0 return
code = 28000002
     Dec 17 04:02:28 alpha1 syslogd 1.3-3: restart.
     Dec 17 04:02:28 alpha1 kernel: ^ISense class 7, sense error 0,
extended sense 3

The kernel is 2.2.16.  Seems to be a problem with kernel interacting
with the CD-R.  The CD-R works occasionally, I did not install it, but
since it does work sometimes, I assume it was done correctly.

Let me know what you think
Ken


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

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: good distro for 486?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 19 Dec 2000 19:05:54 GMT

As I misunderstand it, Mandrake is compiled/linked for the
Pentium & compatible cpus.  I think there is a 486 compile out there
but then you have to make sure you get source rpms not binary.

On 19 Dec 2000 18:28:53 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>       I've got an old 486dx4 box, 40m memory, ISA video card.  It actually 
>runs SuSE 6.3 pretty nicely, even enlightenment, albeit a little slow.  Only 
>problem is, I need to update a bunch of stuff in one fell swoop.  Anybody 
>running SuSE or Mandrake 7.x on older hardware?  Any problems I should know 
>about?  I'm particularly concerned with running something newer than Xfree
>3.3.6 on a 1mb Trident 9440 card.
>       Desperately hedging obselecence...

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

From: mike <[EMAIL PROTECTED]>
Subject: Setting up a dual processor system with Redhat
Date: Tue, 19 Dec 2000 19:07:14 GMT


Hi,
    I was wondering if Redhat Linux versions 6.1, 6.1, and 7.0  are
able to use a dual processor board out of the box or whether
one has to recompile the kernel to set up the system or if
there is any special selections that one has to make on installation
or special optimization.

                                                    Thanks
                                                                Mike


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

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: module net-pf-10
Date: Tue, 19 Dec 2000 19:11:58 +0100

Dirk Groeneveld wrote:
> 
> Hi!
> 
> My non-stistribution linux complains about a missing module called
> net-pf-10 when booting. I grepped the whole kernel 2.2.17 tree for
> net-pf-10 but couldn't find anything. What's up with it?
net-pf-10 is ipv6 .
If you don't need it disable it in /etc/modules.conf wit 
alias net-pf-10           off

-- 
Markus Kossmann                                    
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Jan Schaumann)
Subject: Re: How can I chat with my friend online?
Date: Tue, 19 Dec 2000 19:19:01 GMT

* GYULAI Mihaly wrote:
> How can I chat with my friend online?
> 
> I've heard about ICQ and IRC and such as 'chat', but I'm very
> green in this field, please enlighten me, if you can!

IRC would probably be the best - however, both ICQ and IM (Instant Messenger)
can do the same thing. 

Some URL's:
http://www.icq.com - if you want a text-based clone, search for micq
http://www.marko.net/gaim/
http://www.bitchx.com

and most important of all: http://www.freshmeat.net

-Jan

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

Your mouse has moved. Windows NT must be restarted for the change to take
effect. Reboot now? [ OK ]



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

From: [EMAIL PROTECTED] (Robert D'Amfino)
Subject: Re: dev/pts (newbie?)
Date: Tue, 19 Dec 2000 19:34:40 -0000
Reply-To: [EMAIL PROTECTED]

On or about Tue, 19 Dec 2000 12:58:02 GMT
 <[EMAIL PROTECTED]>
 ....Posted....

.............
>When I booted I noticed the following error message;
>mounting local file systems
>mounting /dev/pts.modprobe:modprobe;
>can't locate module devpts
>mount fs type devpts not supported by kernel
>I looked into the modules.conf but I can't find a
>direction to /dev/pts or anything. I also checked
>the xconfig again
>My questions;
>What is /dev/pts?
>Where can I find the corresponding option in xconfig (kernel)?
>thanx in advance,

Pseudo terminals; iirc, xterms use them.

Enabled during compiling in the character devices and filesystems
sections.. Unix98 ptys.

Check the .config file to see if you built them into the kernel
or as a module. (if make clean didn't erase it.)

Check the /usr/src/linux/Documentation/Changes for info.

-- 
"Robert D'Amfino icq 3347043
"Linux User 191976
"http://counter.li.org
============================

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

From: [EMAIL PROTECTED] (Kevin)
Subject: Re: Sound editing software
Date: Tue, 19 Dec 2000 19:36:32 GMT

The combination of SoundStudio <http://sourceforge.net/projects/studio/>
and SoX <http://home.sprynet.com/~cbagwell/sox.html> will do the
editing part of your process.
cdrecord 
<http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html>
can grab the data from a music CD and burn it to a CD-R or CD-RW.
I use the X-CD-Roast <http://www.xcdroast.org> front end for cdrecord.

G'luck...

In article <91mu0l$lm6$[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Bill Unruh) writes:
> I would like to get some sound editing software--ie I can read in an
> audio track say, and cut out a piece of it to then reburn to a CD.

-- 
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.

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

From: Chen Wang <[EMAIL PROTECTED]>
Subject: Re: How does an OS really work?
Date: 19 Dec 2000 20:02:10 GMT


Everyone's response to my questions have been very educational.
I am dying to find some faq/tutorial/trail on the web to write
an OS from scratch, any of you know such a site? It's quite 
interesting to discover from these questions that a MAJORITY
of computer science students (as far as I know) have little
idea on how OS really works. The main issue appears to be
that university courses are always shielding us away from
complete exposure to the issues (perhaps a time concern).
Now we've all lost our roots! 

thanks again all,

-Chen


Martin Gregorie <[EMAIL PROTECTED]> wrote:
: On 18 Dec 2000 23:22:52 GMT, Chen Wang <[EMAIL PROTECTED]> wrote:

:>
:>Hi all, recently I was involved in a discussion
:>on OS issues and found out that I was unable
:>to address some basic concepts, despite the
:>OS courses I've been through. (reading the
:>dinasaur book, writing the nachos simulator
:>os) 
:>

: On top of the other recommendations, you could do worse than get hold
: of a copy of 'Soul of a New Machine' by Tracy Kidder. Kidder is a
: tech. journo and was sort of writer in residence while DG designed and
: built the Eclipse, their first 32 bit minicomputer. Its both
: informative and a good read. I don't know whether its still in print,
: but there are lots of copies at Alibris (www.alibris.com)



: --
: gregorie  | Martin Gregorie
: @logica   | Logica Ltd
: com       | +44 020 76379111

-- 
=======================================
- Neo: What are you trying to say, that 
  I can debug multi-threaded code?
- Morpheus: No, I am saying that when 
  you are ready, you won't have to.
                        - The Unix
=======================================


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

From: HomerWelch <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: Can any1 tell me why I can't print postscript ?
Date: Tue, 19 Dec 2000 20:27:12 GMT

Emmanuel Beranger wrote:
> 
> "Peter T. Breuer" a �crit :
> >
> > In comp.os.linux.misc Bill Unruh <[EMAIL PROTECTED]> wrote:
> > > In <91il8n$280v$[EMAIL PROTECTED]> "Emmanuel Beranger" 
><[EMAIL PROTECTED]> writes:
> >
> > >>While gs is installed, and I can print ASCII
> > >>Am I missing something ?
> > > How can anyone know? You have given close to zero information here. --
> > > What OS, how you set up printing, etc.
> >
> > A naive person would suspect that he doesn't know how, or his printer
> > doesn't know how [to print PS].
> >
> > ;-)
> >
> > Peter
> 
> All right, allright ...
> mandrake 7.0 with 2.2.17 kernel
> Using lpr, configured with printtool. My printed is an Epson stylus 820.
> I know it works postscript, since I have already used it in the past
> (before I screwed and reinstalled Linux) ...
> Thing is : file never reach pool when I launch a print command from a
> non ASCII origin (like, say "print" in Netscape ...) I suspect the
> filter does not read okay, but i don't know which log file to look at
> ...
> 
> Also, my printcap has the filter that comes with Mandrake ...
> 

Look in your printcap file for the log directory.  It should
say something like ...:lf=/var/log/lpderrs:...

Try running ghostscript directly.  Look in the manual for
the exact syntex.  Its something like "gs
-sDEVICE=youprinterdriver -sOUTPUT=lpr filename.ps".  There
is another paramter, but I can't think of it so you may have
to typq "quit" to exit ghostscript and start the printing
process.  I'm guessing you have a driver problem.  There is
a flag to get ghostscript to dump the names of its drivers. 
If your printer emulates an HP printer, try that driver.

  



-- 

Homer J. Welch        [EMAIL PROTECTED]
Troy, Michigan

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

From: Aniket Malatpure <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: High resolution wall-clock timings in Linux?
Date: Tue, 19 Dec 2000 12:27:38 -0800

Hi

You can try the gettimeofday() function, but I have noticed that this
function tends to lose time when the system is under heavy load.

1 option I have implemented is to use /dev/rtc along with the rdtscl()
macro.
This gives resolution till the CPU frequency.

I hope this works..

Thanks
Aniket

"Richard T. Mills" wrote:
> 
> Hi.  I'm hoping that someone can tell me a simple way to do high
> resolution wall-clock timings in GNU/Linux (on an Intel based machine).
> Using something like the time() system call won't cut it, because its
> granularity is seconds, and I want to measure fractions of seconds.  I'm
> looking for something like the clock_gettime() function in Solaris, but
> I don't know if an equivalent function exists in a Linux environment.
> Can anyone help me out?
> 
> Sent via Deja.com
> http://www.deja.com/

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

From: [EMAIL PROTECTED]
Subject: Re: Do Linux ext2 partition need defrag?
Date: Tue, 19 Dec 2000 20:22:25 GMT

In article <[EMAIL PROTECTED]>, Floyd Davidson
<[EMAIL PROTECTED]> wrote:

> Can you explain to me the benefits of low fragmentation on a
> file intensive multiuser multitasking system such as any unix
> is, where every x time slices for y number of different users
> there is a file i/o request for a completely different file than
> is being requested by any of the other users?

Is that the case everywhere? I guess you're talking about situations
which mainly apply to (big) business servers. Indeed, when (nearly)
TB-RAEDs  ( $*] )  and GB caches are (should be) in use, fragmentation
is probably of about as little interest as the failure of some harddisks
(per month) is.

I don't think this applies to the majority of Linux users. If we don't
talk about 24h/day, permanently used servers (which can't be regulary
defragged, anyway), the number of concurrent user / file accesses may be
well limited in most cases. Even Linux machines may be operated as
single user machines.

> You do understand that the effect is *massively* fragmented file
> i/o, far greater than any nominal amount of disk fragmentation
> that you are speaking of.

If you have an average of 100000 harddisk seeking accesses per hour, a
saving of 2000 doesn't really matter, of course. But if you have 10000
accesses and can save 2000, it should start to matter, shouldn't it?
Aren't there still some people who pay about 50% more money to get a 5%
faster CPU?

Besides, I didn't suggest just to defrag a disk _instead_of_ using cache
 8-}


Sent via Deja.com
http://www.deja.com/

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

From: Stephen Hui <[EMAIL PROTECTED]>
Subject: Re: kernel recompilation error
Date: Tue, 19 Dec 2000 14:26:14 -0600

Looks like there's something called ACI-mixer in the kernel
configuration that didn't get enabled, so now gcc is confused about what
to do with the calls to functions aci_write_cmd, aci_write_cmd_d and
aci_indexed_cmd.

If you really want this radio-miropcm20 module, you'll have to go back
and add the ACI-mixer module to the kernel configuration.  (Mind you, I
have no idea what either of these modules do.)  Also, don't forget to
'make dep' before you 'make'.

Hope this helps!
Stephen.



maher abedib wrote:
> 
> Hi,
> 
> I have diffuculties to comprehend this error message after several times
> customizing the kernel 2.2.17.
> Can anyone highlight something what is wrong with the kernel..
> 
> Here is the output:
> 
> In file included from radio-miropcm20.c:13:
> ../sound/lowlevel/miroaci.h:9: #error Compiling a driver that needs the
> ACI-mixer but without ACI-mixer support
> radio-miropcm20.c: In function `pcm20_mute':
> radio-miropcm20.c:33: warning: implicit declaration of function
> `aci_write_cmd'
> radio-miropcm20.c: In function `pcm20_setfreq':
> radio-miropcm20.c:73: warning: implicit declaration of function
> `aci_write_cmd_d'
> radio-miropcm20.c: In function `pcm20_getsigstr':
> radio-miropcm20.c:81: warning: implicit declaration of function
> `aci_indexed_cmd'
> make[2]: *** [radio-miropcm20.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.17/drivers/char'
> make[1]: *** [_modsubdir_char] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.17/drivers'
> make: *** [_mod_drivers] Error 2
> 
> Thank you very much.
> 
> regards,
> 
> maher

-- 
Stephen Hui, ARL:UT, Austin, Texas

Computer Terms: Programmer - A red-eyed, mumbling mammal
capable of conversing with inanimate objects.

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: chmod -R a+r(x) *
Date: Tue, 19 Dec 2000 20:29:54 GMT

hi

I often need to make all files and directories readable, while making
all directories executable.

Any simple way to do it ? (without writing scripts)

Thanks

Wroot


Sent via Deja.com
http://www.deja.com/

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

From: Stephen Hui <[EMAIL PROTECTED]>
Subject: Re: install the netscape-browser !!
Date: Tue, 19 Dec 2000 14:49:02 -0600

IIRC, you would install the netscape-common and netscape-navigator
packages.  That *should* do it (although I could be wrong; it's been a
while since I've installed the netscape-navigator package).

Hope this helps!
Stephen.



Christian Wenz wrote:
> 
> i like to install the netscape-browser of a rpm-package, but only the
> browser.
> no composer, no messenger !!!
> is their a way to do this via rpm ???

-- 
Stephen Hui, ARL:UT, Austin, Texas

Computer Terms: Programmer - A red-eyed, mumbling mammal
capable of conversing with inanimate objects.

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

From: mst <[EMAIL PROTECTED]>
Subject: Re: good distro for 486?
Date: Tue, 19 Dec 2000 15:56:19 -0500

[EMAIL PROTECTED] wrote:

> 
> I've got an old 486dx4 box, 40m memory, ISA video card.  It actually
> runs SuSE 6.3 pretty nicely, even enlightenment, albeit a little slow. 
> Only
> problem is, I need to update a bunch of stuff in one fell swoop.  Anybody
> running SuSE or Mandrake 7.x on older hardware?  Any problems I should
> know
> about?  I'm particularly concerned with running something newer than Xfree
> 3.3.6 on a 1mb Trident 9440 card.
> Desperately hedging obselecence...
> 
> ef
> 
I've been running Slackware 7.0 for quite a while on a 486 dx2/50 with 40M 
RAM and a 2M VLB Trident video card. Ran smoothly, even with X and KDE. I 
even installed XFree86-4.0.1 recently, and the performance is decent given 
the hardware.

MST



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

From: Arnstein Oseland <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: lilo warning : device 0x3030 cylinder exceeed 1024
Date: Tue, 19 Dec 2000 21:15:16 GMT

Anson Ho wrote:
> 
> Hi ,
> 
>      I just install a new IBM 307040 harddisk and I install REDHAT 6.2 on
> hda3. When I install LILO, warning message displayed warning as captioned,
> and when I boot linux. only 'LI' display. What can I do to overcome this?

Maybe you could use loadlin if you have a M$ OS on hda1 or hda2. I've
never used it, but it should not have the same limitations as the BIOS
has concerning cylinders??

http://www.linux.no/biblioteket/HOWTO/mini/Loadlin+Win95

- Arnstein

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

From: JCA <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: High resolution wall-clock timings in Linux?
Date: Tue, 19 Dec 2000 13:12:58 -0800

    You can use the following:

#define RTSC(x)   __asm__ __volatile__ (
"rdtsc"                                             \

:"=a" (((unsigned long*)&x)[0]),  \

"=d" (((unsigned long*)&x)[1]))

    This returns CPU cycles. You can't get finer granularity than this.



"Richard T. Mills" wrote:

> Hi.  I'm hoping that someone can tell me a simple way to do high
> resolution wall-clock timings in GNU/Linux (on an Intel based machine).
> Using something like the time() system call won't cut it, because its
> granularity is seconds, and I want to measure fractions of seconds.  I'm
> looking for something like the clock_gettime() function in Solaris, but
> I don't know if an equivalent function exists in a Linux environment.
> Can anyone help me out?
>
> Sent via Deja.com
> http://www.deja.com/


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

From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: 7.2, telnet and rsh
Reply-To: [EMAIL PROTECTED]
Date: 19 Dec 2000 15:32:34 -0600

In article <91o9tq$f4o$[EMAIL PROTECTED]>, Jim Hollenback wrote:
>to allow access, but all I get for telnet is 
>telnet: Unable to connect to remote host: Connection refused
>
>and for rsh
>Permission denied.

Are you trying to log in as root?  rsh, on the other hand, requires 
authorizing... like .rhosts, etc.  Usually considered too risky.
Also, for root to use, must invoke options in /etc/inetd.conf.

root is usually restricted from telnet via /etc/securetty.
The idea being that you login in as non-root user, and su to root.

-- 
Dave Brown  Austin, TX

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

From: "Martin" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Terminal beeps when typing
Date: Tue, 19 Dec 2000 22:29:30 +0100

Hi,

at the moment I�m trying to set up a Debian 2.2 "potato" System, but after
installing I�m not able to type any German special characters ("�") -- when
I press one of these keys I hear the system bell. Though I�ve selected
"de-latin1-nodeadkeys" while keyboard configuration in the installation
menu.
Nevertheless I can type these characters during the installation-process,
under X and at the login-prompt on the text-console (but not after logging
in and starting bash, see above). So far I�ve read some HOWTO-sections,
tried to load different keymaps and console-fonts, tried "kbdconfig", ...

Anyone can help??
    Thanks, Martin



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

From: mst <[EMAIL PROTECTED]>
Subject: Re: How does an OS really work?
Date: Tue, 19 Dec 2000 16:18:09 -0500

Chen Wang wrote:

> 
> Everyone's response to my questions have been very educational.
> I am dying to find some faq/tutorial/trail on the web to write
> an OS from scratch, any of you know such a site? It's quite
> interesting to discover from these questions that a MAJORITY
> of computer science students (as far as I know) have little
> idea on how OS really works. The main issue appears to be
> that university courses are always shielding us away from
> complete exposure to the issues (perhaps a time concern).
> Now we've all lost our roots!
> 
> thanks again all,
> 
> -Chen
> 

You may want to take a look at the V2 OS, they're in the process of writing 
it right now, it's small and open-source:
http://www.v2os.cx

MST


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

From: [EMAIL PROTECTED] (Jim Hollenback)
Subject: Re: 7.2, telnet and rsh
Date: 19 Dec 2000 21:32:09 GMT

Dave Brown ([EMAIL PROTECTED]) wrote:
: In article <91o9tq$f4o$[EMAIL PROTECTED]>, Jim Hollenback wrote:
: >to allow access, but all I get for telnet is 
: >telnet: Unable to connect to remote host: Connection refused
: >
: >and for rsh
: >Permission denied.

: Are you trying to log in as root?  

no, joe weakling

: rsh, on the other hand, requires 
: authorizing... like .rhosts, etc. 

Bingo!

: Usually considered too risky.

true, but I'm behind a firewall.

Now to puzzle out telnet.

Thanks!
--
Jim Hollenback
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Jan Schaumann)
Crossposted-To: alt.os.linux
Subject: Re: chmod -R a+r(x) *
Date: Tue, 19 Dec 2000 21:36:59 GMT

* [EMAIL PROTECTED] wrote:
> hi
> 
> I often need to make all files and directories readable, while making
> all directories executable.
> 
> Any simple way to do it ? (without writing scripts)

+--------- From "info find"------
|
|  Fixing Permissions
|  ==================
|
|     Suppose you want to make sure that everyone can write to the
|  directories in a certain directory tree.  Here is a way to find
|  directories lacking either user or group write permission (or both),
|  and fix their permissions:
|
|       find . -type d -not -perm -ug=w | xargs chmod ug+w
|
|  You could also reverse the operations, if you want to make sure that
|  directories do *not* have world write permission.
|
+--------------------------------

Or:
chmod -R a+r *
find . -type d -exec chmod 755 \{} ';'

man find
info find

-Jan

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

Beat me, whip me, make me use Windows NT!



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

From: [EMAIL PROTECTED]
Subject: shell script online docs
Date: 19 Dec 2000 21:39:21 GMT

Hi,

I'd like to learn writing shell scripts. Where can I find recommendable  
online docs to this topic ??

thank you

Tom

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

From: Rick <[EMAIL PROTECTED]>
Subject: how to set up fetchmail/mailreader/sendmail?
Date: Tue, 19 Dec 2000 16:40:02 -0500

I'd like to be able to use my ISP to GET my my from... I want to use a
mail app, probably PINE, to read, reply and originate, anf then
preferably be able to send mail out directly from my machine.

Can someone tell me how to accomplish this? I have fetchmail, sendmail,
PINE and kmail on my machine.

Any and all help appreciated.

-- 
 
Rick
 
* To email me remove theobvious from my address *

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

From: "Paul" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: chmod -R a+r(x) *
Date: Tue, 19 Dec 2000 16:54:22 -0500


two commands:

1. find . -type f -exec chmod a+r {} ';'
2. find . -type d -exec chmod a+rx {} ';'


<[EMAIL PROTECTED]> wrote in message news:91ogfn$fkl$[EMAIL PROTECTED]...
> hi
>
> I often need to make all files and directories readable, while making
> all directories executable.
>
> Any simple way to do it ? (without writing scripts)
>
> Thanks
>
> Wroot
>
>
> Sent via Deja.com
> http://www.deja.com/



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

From: [EMAIL PROTECTED] (Timothy J. Lee)
Crossposted-To: alt.os.linux
Subject: Re: chmod -R a+r(x) *
Reply-To: [EMAIL PROTECTED] (this is a valid address for a limited time)
Date: Tue, 19 Dec 2000 22:07:50 GMT

In article <91ogfn$fkl$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
>I often need to make all files and directories readable, while making
>all directories executable.
>
>Any simple way to do it ? (without writing scripts)

Use find as described in other messages, or use something like
"chmod -R a+rX dir".  The X instead of x adds execute permission
only if the file already had execute permission for someone.

-- 
========================================================================
Timothy J. Lee
Unsolicited bulk or commercial email is not welcome.
No warranty of any kind is provided with this message.

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


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