Linux-Networking Digest #462, Volume #10         Thu, 11 Mar 99 22:13:48 EST

Contents:
  Can I shutdown linux remotely? ([EMAIL PROTECTED])
  Re: IP forwarding problems ("arutha")
  squid denies access to download?? (Martin Brakus)
  Re: Need help with performance ([EMAIL PROTECTED])
  VNC: server on LInux, viewer on NT - GREY screen problem ([EMAIL PROTECTED])
  Router PC or 10/100 AutoSense Hub ? ("Chi K. Chan")
  Re: DNS look-ups with C++ (Claudius Proculus)
  Re: Masquerade Problems: Simple Question ("Andrew G. MacPhee")
  New to Linux - Please Help!!! ("Ashton Hobbs")
  Re: Linux programming jobs? (Jonathan A. Buzzard)
  Re: newbie: to hub or not to hub? (Stuart Jeffrey)
  Re: can't get outside of local intranet! ([EMAIL PROTECTED])
  Linux & 3c905b oddity ([EMAIL PROTECTED])
  Linux Windows connectivity (bencecil)

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

From: [EMAIL PROTECTED]
Subject: Can I shutdown linux remotely?
Date: Thu, 11 Mar 1999 04:40:18 GMT

 I have 2 machines; a RH5.1 Linux and a win95. Most of the time I work on the
Linux from the win95 through OmniX (an application that emulate the X-server
from Linux). My question is, can I shutdown the Linux from the Win95 side. I
really dont want to login again on the linux and issue a shutdown command. If
I recalled it right, I couldnt do that. linux just doesnt shutdown.

Any info is greatly appreciated. Thanks.

p/s: please cc a reply to my mail box.T Q.


============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: "arutha" <[EMAIL PROTECTED]>
Subject: Re: IP forwarding problems
Date: Thu, 11 Mar 1999 19:23:57 -0400

under linux
try   ipfwadm -F -p deny
       ipfwadm -F -a accept -m -S 192.168.0.0/24 -D 0.0.0.0/0

under windows
  have your dns server ip the same as it is for linux.
  default gateway the IP of the interface on the "inside"  192.x.x.x Linux
box and make sure your subnetmask is correct.

Iron Galaxy wrote in message ...
>I have just configured a Linux Box as my internet proxy between my home
>network and the @Home cable modem service.  Both the network cards (one for
>the cable modem and one to the hub for the internal network) worked fine
>under Linux and the entire setup worked fine under windows 98(using
>winProxy)....
>
>I tried using the IP-Masqurading program and Ping works fine from any node
>on internal network to the Linux Box and gateway is fine too....the DNS is
>right too.....(well I can get on to internet from within the Linux Box ).
>But when I tried to ping from the nodes on the internal network to the
>outside world, it doesn't work.  Nor Netscape, icq....etc.
>
>I have used the same DNS and Domain setting in my win98 network properties
>and I  have used the Linux Box IP (192.168.0.1) as the gateway for the
win98
>nodes.  An IP (from 192.168.0.2 -> 192.168.0.5) was assigned for each of
the
>nodes and all looks fine....BUT IT DOESN'T WORK!!!!!!!!!
>
>Is it a problem in the Linux config. or Win98 config?  If so, what is the
>problem??
>
>





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

From: Martin Brakus <[EMAIL PROTECTED]>
Subject: squid denies access to download??
Date: 11 Mar 1999 20:16:13 GMT

We use squid 2. Is it possible to avoid download for the users but not
for the admins?


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

From: [EMAIL PROTECTED]
Subject: Re: Need help with performance
Date: Thu, 11 Mar 1999 20:10:42 GMT

In article <7c7j0o$5ts$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:

> We're considering using Linux + Apache as a web server.

Excellent choice.

> The hardware is a 4-processor 400 MHz (Xeon) server with 1GB of ram, a RAID
> controller, and six disks.  We have Redhat 5.2 installed and compiled an SMP
> version of the 2.2.2 Linux kernel.

I hope it's not too late to change your hardware, because your box is a
complete waste of money.  SMP gives you *nothing* with regards to web
serving, and it makes your OS flaky as all hell.  The RAM is nice, but the
processor speed is overkill and having 4 of them is just plain wasteful.  The
network card would saturate completely before you even came remotely close to
using up the resources of even a single P2 200Mhz.

> For the web server we used the latest 2.0.3 version of Apache.

Stick with what works.  I'd use 1.3.4, as it's generally considered more
'stable'.  You don't *always* want to be "bleeding edge".

> The scenario: we're bangin' on this web server with a bunch of clients
> to try and get a handle on its capacity.  Simple static HTML requests,
> no heavy CGI yet.

Another suggestion:  mod_php3.  I guarantee that if you ever see large
amounts of traffic, CGI will rapidly become your worst nightmare.  There are
a variety of _internal_ Apache modules that give you everthing CGI can do,
but faster better and more efficiently.  Keep in mind that CGI requires you
to fork() another process to handle each web request, which can very quickly
run you up against the process limit on a heavily loaded machine.  PHP3 is a
PERL-like, C-like programming language that's relatively lightweight.  You
can download the sources from http://www.php.net/, where they also provide
instructions on how to build it into Apache.

> The problem: the server performs well, delivering in excess of 1300
> HTTP GET requests per second.  But then performance just drops WAAAY
> off, like down to 70 connections per second.  We're not swapping,
> the network isn't saturated (4 x 100Mbit nets), disks are hardly used,
> but the system is just crawling.  Neither vmstat nor top show anything
> unusual.  No error messages in the web server.  Its puzzling.

Try various flags to netstat, see what they say.  If you could post the
details of several different commands that would be helpful in diagnosing the
problem.

> Any ideas?  Any tips, suggestions, or pointers would be appreciated.
> Thanks!

What type of network load do you expect to see on your box in the long run?
What type of applications does it need to run (other than Apache and its
modules)?  I know it's blasphemy in this group, but if you're just doing "raw"
webserving (no database interaction) you'd see *much* better performance with
some variant of BSD (for example, FreeBSD from http://www.freebsd.org).  If
you're more into running a K-rAd k00l website with lots of doo-dads and gizmos
(and don't care about performance under heavy load), then Linux is your best
bet.

-Bill Clark

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux,comp.os.linux.misc
Subject: VNC: server on LInux, viewer on NT - GREY screen problem
Date: Thu, 11 Mar 1999 19:10:47 GMT


I have the VNC server on Linux. The VNC viewer on NT.
I can connect with the
viewer, but all that I see is a grey screen with the X 
cursor (similar to
that seen on Linux after 'startx' but before your
chosen window manager kicks
in).  Although I can move the
cursor, there is nothing there to select!!
Anyone know what I'm not doing that I should be?

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: "Chi K. Chan" <[EMAIL PROTECTED]>
Subject: Router PC or 10/100 AutoSense Hub ?
Date: 11 Mar 1999 20:50:53 GMT

Hello all,

I'm looking for advice on which is the better networking set up.

Currently I have a bunch of older machines (PCs, Multia, PPC, etc...)
with 10Base-T cards and a bunch of newer PCs with 10/100Base-T cards,
all hooked up to a 10Meg Hub.  I'm in the market for a 100Meg Hub, and 
was wondering if I should get a 10/100Meg autosense hub and plug all the
machines into it, or get a 100Meg only hub (cheaper) and have a dedicated
pc with 2 ethernet cards routing packets between the 10 Meg Lan and the
100 Meg Lan.  

What are the advantages of each setup?
When using an autosense hub, when a 10Meg card is transmitting
does the entire network essentially becomes a 10 Meg lan, or does the
hub buffers the data and sends the data out at the appropriate speed 
on each port ?  If someone can point me to a faq, I can go rtfm.  :-)

Thanks,
Chi K. Chan




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

From: [EMAIL PROTECTED] (Claudius Proculus)
Crossposted-To: comp.lang.c++
Subject: Re: DNS look-ups with C++
Date: Fri, 12 Mar 1999 01:32:47 GMT

In article <[EMAIL PROTECTED]>, Brian Ferris <[EMAIL PROTECTED]> 
wrote:
>Hello,
>
>    I am programming a network app that needs to reverse host-name
>look-up.  This means that given an IP address x.x.x.x, it needs to be
>able to request the registered name associated server from DNS.
>    What would be the easiest way to do this?  Is there a function
>somewhere that is all ready to go?
>    Any information that can be provided is most helpful.

FWIW, there can be multiple names for a single address.

John - N8086N 
Wise man says "Never use a bank with the initials F. U."
===========================================
Are you interested in a professional society or
guild for programmers?

See www.programmersguild.org/american.htm
Newsgroup: us.issues.occupations.computer-programmers

EMail Address:
[EMAIL PROTECTED]






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

From: "Andrew G. MacPhee" <[EMAIL PROTECTED]>
Subject: Re: Masquerade Problems: Simple Question
Date: Thu, 11 Mar 1999 21:04:16 +0000

nonet@chain wrote:

> Friends,
>
>   I'm stuck on a portion of the IP-Masquerade HOWTO.
>   I've compiled a kernel will all that is needed, and set up
> all the other machines.
>
>   Now, when I attempt to configure forwarding policies, I
> receive mysterious errors:
>
>          chain# ipfwadm -F -p deny
>          ipfwadm: setsockopt failed: Invalid argument
>
> This is the exact command from the HOWTO; however, it fails. I
> also tried:
>
>          ipfwadm -F -p deny
>
> and was given the same error message.
>
> Where have I gone wrong?
>
> TIA,
>
> --

I am new to Masquerading too, but have recently managed to get something
to work with kernel 2.2.0 (this release uses ipchains rather than
ipfwadm to manage ip Masquerading). Try this if you are running 2.2.0 or
later:


/sbin/ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0
/sbin/ipchains -P forward DENY

where 192.168.1.0 corresponds to the local, private network you have set
up.

Andrew


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

From: "Ashton Hobbs" <[EMAIL PROTECTED]>
Subject: New to Linux - Please Help!!!
Date: Thu, 11 Mar 1999 20:00:47 -0500

I just put in a 3COM 3C509B-TPO network card and cannot seem to get it
working correctly.  I am using RedHat 5.2 and I went to the control panel
and selected 3C509 as the kernel module, but it doesn't seem to work when I
try to ping the local address.  I can ping the loopback address, but I
cannot ping the address of the machine.

Please help, I am new to Linux and trying to get it working in my NT
network.

Thanks,

Ashton Hobbs



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

From: [EMAIL PROTECTED] (Jonathan A. Buzzard)
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: Linux programming jobs?
Date: Thu, 11 Mar 1999 18:27:18 +0000

In article <7c7lvj$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (Keith M. Peterson) writes:

[SNIP]
> 
> And your programming is neither Industrial, nor simulation? And you have no 
> compunction about hiring somebody with no training or experience to do your 
> unix programming?
> 

This has to be the bigest problem with the computer industry. The primary
concern about any programmer should be how *maintable* the code they
write is. I see all the time programmers with years of experience that 
produce such dire code that I would never hire them in a month of Sundays.
Yet they find no problem getting jobs as they have plenty of *experience*.


JAB.

-- 
Jonathan A. Buzzard                 Email: [EMAIL PROTECTED]
Northumberland, United Kingdom.       Tel: +44(0)1661-832195

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

From: Stuart Jeffrey <[EMAIL PROTECTED]>
Subject: Re: newbie: to hub or not to hub?
Date: Thu, 11 Mar 1999 20:53:34 +0000

In article <7c556r$92$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
writes
>Hi, I intend to make a small home network with two of my comps.  I intend to
>use the linux machine as a netserver and the win98 machine as a client.
>Considering I have no intention of connecting any more machines to the
>network in the future, should I still go for a hub or just NICs and crossover
>cables would be enough for the job? Thanks.
>
>Regards,
>Anthony.
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
I would just crossover even though the price of hubs is so cheap.  That
is because at present there is no need for a hub and it will just be
another box lying around.  Of course in the future a hub is a piece of
pie to install into the network.  
-- 
Stuart Jeffrey

E-mail:  [EMAIL PROTECTED]

"If a man says something and there is no woman around to hear 
him is he still wrong"

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

From: [EMAIL PROTECTED]
Subject: Re: can't get outside of local intranet!
Date: Thu, 11 Mar 1999 20:22:06 GMT

On Sun, 07 Mar 1999 23:48:45 GMT, [EMAIL PROTECTED] wrote:

>Hey there...I'm a linux newbie. All installed well and is running good. I
>have recently installed RedHat 5.2 on my box here at work. I have a static
>ip, but we have a netmask of 255.255.240.0. I cannot find a place to setup my
>gateways (I did enter them in RH's setup program). I can ping anything inside
>the intranet but cannot get out to the internet at large. Also, is there a
>service like WINS I can setup...and where do I enter that? Please reply to me
>here at work if you could... [EMAIL PROTECTED] Thanks so much!
>
>
>Chris Williams
>
WINS is WINDOWS Name Service
WINS=DSN for windows
requires windows to be a wins client

Are you sure your network is part of the internet or behind a firewall
with proxy server (more likely) which means there is nothing wrong
with your setup.  You just need to specify the proxy settings in
netscape to get out to the internet.  there is a way to do if for lynx
using environment veribles but forgot waht they were and how to set
them.



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

From: [EMAIL PROTECTED]
Subject: Linux & 3c905b oddity
Date: Fri, 12 Mar 1999 02:08:41 GMT

I have a problem that befuddles me to no end!  I've two exact machines. They
are PII/350's  Both have a 3c905b, both are in the same PCI bus mastered 
slot in the PC.  Both have RH 5.2 installed (server option). One machine when
booted runs at 100Mbps/Full Duplex (GREAT!!!)  The other when booted starts
at 100/FD, but as soon as the 3c90x mod loads it goes into 10Mbps.

I've booted into DOS and used the 3Com util to manually set it to 100/FD- On
reboot the card goes into 100Mbps but won't enable Full Duplex.

Does anyone have an idea as to what avenue I can persue?

Thanks

DY
Network Administrator
UNAT - Anchorage, AK.

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: bencecil <[EMAIL PROTECTED]>
Subject: Linux Windows connectivity
Date: Fri, 12 Mar 1999 07:11:38 +1000

Hi everybody,


I have a dual boot Linux(redhat)/Win95 machine connected to another
win95 machine using samba.


I can see my win95 machine from my Linux machine (using smbclient
\\\\<name of machine>\\<shared drive>), and I can telnet from the win95
machine as the two users I have created in Linux (ben and candice) and
once there can login as SU.  Problems arise however, when I try to map
drives from the win95 machine.


I can see my Linux machine from my win95 machine, but can only map a
drive using Ben's password.  I cannot map Candice's drive using her
password, and I cannot map *anything* using the root password.


It seems that only Ben's password works.  The passwd file is garbled so
that can't be edited or checked (though you'd think if I could telnet
using the correct passwords, then they must be OK).


I have set up shares in the smb.conf file for [root] and [candice] (and
some others) but cannot map them if the user Ben doesn't have access to
that share.


I have temporarily given Ben full read/write ability with a line
(something like) "admin user = Ben" in a [sysadmin] share.

At the bottom of this page I have included a copy of my smb.conf

Q/ Can anyone help me out with this one.



Also.... my vision for the future for my home network is to have two
win95 machines (not a big aspiration heh) networked with a dedicated
Linux file server (I need the win95 machines for the programs I use).
The Linux file server would also be the machine that dials into my ISP.
The two win95 machines can then access the internet using the Linux box
as a firewall/proxy server.

Q/ Can anyone please let me know which help documentation covers this
very process.


Cheers
Ben






^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
"testparm"
# to check that you have not many any basic syntactic errors.
#
#======================= Global Settings
=====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = home

# server string is the equivalent of the NT Description field
   server string = Samba Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.
    hosts allow = 192.168.1. 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   printcap name = /etc/printcap
   load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = bsd

# Uncomment this if you want a guest account, you must add this to
/etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user
# Use password server option only with security = server
;   password server = <NT-Server-Name>

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
;  encrypt passwords = yes
;  smb passwd file = /etc/smbpasswd

# Unix users can map to different SMB User names
;  username map = /etc/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24

# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes

# Preferred Master causes Samba to force a local browser election on
startup
# and gives it a slightly higher chance of winning the election
;   preferred master = yes

# Use only if you have an NT server on your network that has been
# configured at install time to be a primary domain controller.
;   domain controller = <NT-Domain-Controller-SMBName>

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
;   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U

# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be
specified
# the default order is "host lmhosts wins bcast". "host" means use the
unix
# system gethostbyname() function call that will use either /etc/hosts
OR
# DNS or NIS depending on the settings of /etc/host.config,
/etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system
configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that
are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS
Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT
both
;   wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
;   wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names

# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
   dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

#============================ Share Definitions
==============================
;smb.conf

;[homes]
;   comment = Home Directories
;   browseable = yes
;   writable = yes

[Ben]

    comment = Bens home
    path = /home/Ben
    user = Ben
    browseable = yes
    writeable = yes

[candice]

    comment = Candice home
    path = /home/candice
;    user = candice
    guest account = candice
    browseable = yes
    writeable = yes


# Un-comment the following and create the netlogon directory for Domain
Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /home/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /home/profiles
;    browseable = no
;    guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

# This one is useful for Ben

[system]
   comment = SysAdmin
   path = /
; admin users = Ben was gotten from reading "man smb.conf"
   admin users = Ben
   browsable = yes
   writable = yes




# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   writable = yes
;   printable = no
;   write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in
fred's
# home directory. Note that fred must have write access to the spool
directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes


[sysadmin]
    comment = system administrator
    path = /
    valid users = root
    public = no
    writable = yes


# A private directory, usable only by fred. Note that fred requires
write
# access to the directory.
#[root]
#   comment = Fred's Service
#   path = /
#   valid users = root
#   public = no
#   writable = yes
#   printable = no

# a service which has a different directory for each machine that
connects
# this allows you to tailor configurations to incoming machines. You
could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes

# A publicly accessible directory, read/write to all users. Note that
all files
# created in the directory by users will be owned by the default user,
so
# any user with access can delete any other user's files. Obviously this

# directory must be writable by the default user. Another user could of
course
# be specified, in which case all files would be owned by that user
instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

# The following two entries demonstrate how to share a directory so that
two
# users can place files there that will be owned by the specific users.
In this
# setup, the directory should be writable by both users and should have
the
# sticky bit set on it to prevent abuse. Obviously this could be
extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765





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


** 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.networking) 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-Networking Digest
******************************

Reply via email to