Linux-Networking Digest #256, Volume #12         Tue, 17 Aug 99 10:14:27 EDT

Contents:
  Re: Apache User's Directory (Jack Cheng)
  Re: Xwin32 failed! ("Steve Cowles")
  Re: problems to get crossover ethernet connection (Jon Akers)
  Re: NT equivalent to Unix /etc/hosts (Jon Akers)
  Browser's bookmarks in Linux (Voon-Seong Lee)
  PCI PNP Modem problems ("Paul Miles")
  DNS Problem ("Marcio Lima")
  Re: Xwin32 failed! ([EMAIL PROTECTED])
  Need broadcast generator (Felix Radensky)
  Re: Help trying to setup masquerading for PPTP ("Ken Szeto")
  Re: Q) pppd and connecting to Windoze NT ISP ([EMAIL PROTECTED])
  Re: PCI PNP Modem problems ("Paul Miles")
  Re: Internet access problems.. (Clifford Kite)
  ip route NAT + ipchains telnet problem (Henrik Schulz)
  Re: pppd in 'setuid-root' mode (Richard G Brown)
  Running DOS from Linux (Luiz Guilherme B Damiano)
  Re: @Home Cable Modem and RedHat 6.0 -- no packets get past the cable modem at all! 
(Bob Tennent)
  Re: DNS Problem ("Steve Cowles")
  SPARCclassic X Terminal with KDE and Linux (Wolfgang Ganzert)
  DHCP / vmware question (Sebastien Boving)
  Re: pppd in 'setuid-root' mode (Clifford Kite)
  How to allow sendmail relay (starshum#[EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Jack Cheng)
Crossposted-To: comp.os.linux.misc
Subject: Re: Apache User's Directory
Date: Tue, 17 Aug 1999 16:11:16 +0900

The permission of linked directory already 755, but still get that problem. 
:(


>I think it's rather permission problem.
>I'm in the same situation now.
>But i didn't meet that kind if problem yet.
>The permission of linked derectory is full permission,
>and the important thing is adjusting permission of linked
>directory.
>I maybe 755.
>World(O) must have x permission.
>
>
>In article <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (Jack Cheng) wrote:
>> Hello,
>>
>> I have a question about the Apache using symbol link, let's say
>/home/jack
>> was moved to /data/home/jack, and I created a symbol link to the root
>> directory with the command :
>>
>>          ln -s /data/home /home
>>
>> So, the user's home directory will point to the new location
>> (/data/home/jack).
>>
>> But I get a error messages
>>
>>           jack@localhost>lynx localhost/~jack
>>
>>          HTTP/1.1 403 Forbidden
>>          You don't have permission to access /~jack on this server.
>>
>> How can I fix the problem, or can I use the symbol link in Apache?
>>
>> BTW, I using the RH6.0 and Apache-1.3.6-7
>>
>> Best Regard
>> Jack Cheng
>>
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
>


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

From: "Steve Cowles" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Xwin32 failed!
Date: Tue, 17 Aug 1999 10:18:48 GMT

Jack,

IF you are having to type "startx" when your system boots, and then type
"xdm", then your system must be set to run level 3. The way to fix both
startx and xdm at boot is to change your systems default run level to 5.

In /etc/inittab change the following line from:
id:3:initdefault:

to:

id:5:initdefault:

Note the syntax of the "xdm" declaration in /etc/inittab:
x:5:respawn:/usr/bin/X11/xdm -nodaemon

x  is just an internal identifier
5 is the runlevel, in this case "xdm" will only run when your linux system
is at run level 5
respawn  restart if application exits or dies
/usr/bin/X11/xdm - nodaemon  the command to execute

Have fun
Steve Cowles


Jack Zhu <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Thank you very much, Steve!
>
> Now after I 'startx', and I have to type manually 'xdm' to start XDM, then
I can
> use Xwin32 from my win98 machine without any problem.
>
> But I take a look the '/etc/inittab' file, it DOES include the line:
> "x:5:respawn:/usr/bin/X11/xdm -nodaemon"
>
> Why do have to manually type the 'xdm' in the command line?
>
> Thanks again!!!!
>
> Jack
>
>
> Steve Cowles wrote:
>
> > Jack,
> >
> > On my system, I used: ps auwx | grep xdm
> >
> > which showed the following
> >
> > [scowles@voyager scowles]$ ps auwx | grep xdm
> > root       569  0.0  0.9  2668  632 ?        S    Aug09   0:00
> > /usr/bin/X11/xdm -nodaemon
> > root       573  0.0  0.2  6732  156 ?        S    Aug09   0:00
> > /usr/X11R6/bin/X
> > -auth /usr/X11R6/lib/X11/xdm/authdir/authfiles/A:0-O
> > scowles 7308  0.0  0.6  1148  388 pts/0    S    09:00   0:00 grep xdm
> > [scowles@voyager scowles]$
> >
> >
>



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

From: Jon Akers <[EMAIL PROTECTED]>
Subject: Re: problems to get crossover ethernet connection
Date: Tue, 17 Aug 1999 01:23:58 -0700

Gary wrote:

> when you say crossed, I hope you crossed wires 1&2 with wires 3&6, which are
> the two pairs in question

A really good webpage I have seen concerning Cat 5 network crossovers is here:

http://makeitsimple.com/how-to/dyi_crossover.htm


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

From: Jon Akers <[EMAIL PROTECTED]>
Subject: Re: NT equivalent to Unix /etc/hosts
Date: Tue, 17 Aug 1999 01:38:36 -0700

And, just in case anyone was wondering, the Windows 95/98 equivalent of this is:

C:\Windows\hosts

There is a hosts.sam file in there as an example as well. This goes for lnhosts
as well.

Jeff Brown wrote:

> The answer is yes. Depending on the install directory the hosts file is found
> in INSTALLDIR\system32\drivers\etc
>
> Hope this helps
>
> Jeffery Brown


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

From: Voon-Seong Lee <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Browser's bookmarks in Linux
Date: Tue, 17 Aug 1999 10:29:00 GMT

Hi All,

Is that possible to save browser's bookmarks, or maybe ICQ's address
book, in Linux box, in such a way that users could always access to the
same setting in the network. Thanks!

Lee
[EMAIL PROTECTED]



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

From: "Paul Miles" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: PCI PNP Modem problems
Date: Tue, 17 Aug 1999 11:01:18 +0100

Dear all,

I have a PCI PnP modem (with win98/NT4 drivers) that I'm trying to get to
work under SuSe Linux 6.1

It's a Jetway Pro-Media Data/Fax/Voice Modem PCI Bus Interface V90
SoftModem.

Has anyone got any ideas on how to get Linux to recognise it? I've searched
through the modem FAQ and unhelpfully it dismisses PCI modems straight away.

I would welcome any thoughts or suggestions.

Please reply by email if possible as my newsgroup access seems a little
flaky.

Thanks in advance,

Paul




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

From: "Marcio Lima" <[EMAIL PROTECTED]>
Subject: DNS Problem
Date: Tue, 17 Aug 1999 07:36:27 -0400
Reply-To: "Marcio Lima" <[EMAIL PROTECTED]>

I have a Linux box connected to the Internet through a modem (demand
dialing) acting as a gateway for a local network.. Everytime the Box comes
up It tries to connect to the Internet. If it succeed, everything goes well.
Otherwise, all the clients, in the local networking trying to connect to the
Linux Box, get a very, very slow service at connect time(Telnet, mail,etc).
I could see that It happens because somehow the Linux Box uses DNS to
authenticate the users and, as the Internet is unconnected, it takes ages to
authorize the user due to a long time-out. I cannot see why this is
happening because all my files (passwd, group, etc) is the Box.

Can anybody help me ?

Thanks,
Marcio Lima
Net Open Corp
www.net-open.com




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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Xwin32 failed!
Date: Tue, 17 Aug 1999 10:53:44 GMT

In article <[EMAIL PROTECTED]>,
  Jack Zhu <[EMAIL PROTECTED]> wrote:
> Thank you very much, Steve!
>
> Now after I 'startx', and I have to type manually 'xdm' to start XDM,
then I can
> use Xwin32 from my win98 machine without any problem.
>
> But I take a look the '/etc/inittab' file, it DOES include the line:
> "x:5:respawn:/usr/bin/X11/xdm -nodaemon"
>
> Why do have to manually type the 'xdm' in the command line?
>
> Thanks again!!!!
>


just maybe 5 is not your default level?
> Jack
>
> Steve Cowles wrote:
>
> > Jack,
> >
> > On my system, I used: ps auwx | grep xdm
> >
> > which showed the following
> >
> > [scowles@voyager scowles]$ ps auwx | grep xdm
> > root       569  0.0  0.9  2668  632 ?        S    Aug09   0:00
> > /usr/bin/X11/xdm -nodaemon
> > root       573  0.0  0.2  6732  156 ?        S    Aug09   0:00
> > /usr/X11R6/bin/X
> > -auth /usr/X11R6/lib/X11/xdm/authdir/authfiles/A:0-O
> > scowles 7308  0.0  0.6  1148  388 pts/0    S    09:00   0:00 grep
xdm
> > [scowles@voyager scowles]$
> >
> >
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Felix Radensky <[EMAIL PROTECTED]>
Subject: Need broadcast generator
Date: Tue, 17 Aug 1999 13:06:35 +0300

Hi,

I need a program to generate broadcast IP traffic.
Any references to existing programs or tips on
writing such program will be greatly appreciated.

Felix.


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

From: "Ken Szeto" <[EMAIL PROTECTED]>
Subject: Re: Help trying to setup masquerading for PPTP
Date: Mon, 16 Aug 1999 06:12:00 GMT

I am trying to acheive the same thing over here as well and I came across
the following article.
ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html

According to the article, Windows 95 and 98 clients cannot establish PPTP
session through IP Masquerading not because of Linux but because of
Microsoft....  surprise, surprise!

I think I will have to try this out with my Windows NT workstation but if
you can figure something out, please let me know.

Thanks in advance

Ken Szeto, MCSE
Peter Hacksel <[EMAIL PROTECTED]> wrote in message
news:xXKt3.3640$[EMAIL PROTECTED]...
> Hello,
>
> I have a Windows 98 box sitting behind a Linux firewall.  I'm trying to
> understand how to set up PPTP connection from my Win98 box to an external
> server.  I have RedHat 6.0 (kernel 2.2.5) and have IP masquerading working
> fine.
>
> Looking through documentation on the web, I'm getting confused.  If I
> understand it, ipportfw and ipfwadm have been replaced in 2.2.x kernels
with
> ipmasqadm.  However, all the pages that I find that talk about VPN setup
> discuss ipportfw and ipfwadm.
>
> Is it possible to setup PPTP VPN with ipmasqadm and ipchains alone?
>
> Any help would be appreciated,
>
> Thanks
>
> Peter
>
>



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

From: [EMAIL PROTECTED]
Subject: Re: Q) pppd and connecting to Windoze NT ISP
Date: Tue, 17 Aug 1999 10:44:56 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Hello Everyone
>
> I am trying to properly connect to my Windows NT ISP.
>
> I have my modem configured and dialing out and connecting when I run
> minicom. I am testing and running everyting manually from the root.
>
> I am using Red Hat 5.2  Linux ver 2.0.36
> When I connect I get my
> login
> password prompt.
> I enter my login and password, then
> I issue a Ctrl A Q then I start pppd. I then get
> the proper responsed )(*&(((){}}{}{}....
>
> but that is as far as I can get.
>
> I can not ping the ISP, so I know I have something wrong. I am using
> PAP, which is what my ISP told me to use.
>
> My question is, do I need to do something special to connect to a Win
> NT ISP such as using MS PAP or whatever?
>
> Please respond to this newsgroup.
>
> TIA
>

hi
in my experience connecting to the isp is one of the HEAVIES in linux.

i tried several tools and finally made it with kppp.

so i suggest, use one like this as well - its extra hard to do it
manually.

anyway, for debugging, look in /var/log/messages - this will give you
more info on where the process hangs and why.

its also a good idea to post some of this info here, if you cant figure
it out by yourself.

plus, to answer your question, no, nor special pap required


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: "Paul Miles" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: PCI PNP Modem problems
Date: Tue, 17 Aug 1999 11:48:41 +0100

A further hunt on the web reveals that this is a winmodem.

Sorry to have bothered everyone.

Paul



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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: alt.linux
Subject: Re: Internet access problems..
Date: 17 Aug 1999 06:24:52 -0500

Thomas Winberg ([EMAIL PROTECTED]) wrote:

: i have a Linux box with RH 6.0 configured with a Win95 client on a local
: network.
: 192.168.0.1 is the Linux box and 192.168.0.2 is the Winn95 client.

: I have set up the PPP connection and it works, i get connected to my ISP
: with dynamic IP-addresses from outside. The defaultroute is also working.
: The gateway is ok if i look with route -h at ppp0.

There should not be a default route to the PPP interface when you are
accepting dial-in PPP connections.  You should have the pppd proxyarp
option.  You'll also need to turn on IP forwarding and proxy arp.  See
the Linux source tree file linux/Documentation/proc.txt, search for
"proxy_arp" and "ip_forward".

echo -n 1 > /proc/sys/net/ipv4/ip_forward
echo -n 1 > /proc/sys/net/ipv5/conf/ppp0/proxy_arp

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* My confidence in this answer (X), on a scale of 1 to 10:
   |----|----|----|----|----|----|----|----|----|----X
   0----1----2----3----4----5----6----7----8----9----10 */


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

From: Henrik Schulz <[EMAIL PROTECTED]>
Subject: ip route NAT + ipchains telnet problem
Date: Tue, 17 Aug 1999 13:58:26 +0200

Hi,
perhaps someone could give me hint for a solution for the following
problem:

A private network is connected to the internet through a
firewall+router. "ipchains" is used to filter packages and masquerade
outgoing packages. "ip route" and "ip rule" are used to setup the NAT
for a machine within the private network, that should be accessable from
the internet. So far so good, it works fine from the internet tp public
NATed address and from inside to the private address. BUT it doesn't
work from inside the private network via the public NATed address. ICMP
(Ping) works fine. When watching with firewall logging in
/var/log/messages it looks on the TCP reconnect something is directed
wrong ?


Any help is welcome and thanx in advance
Henrik

--
Henrik Schulz
Anite-Systems Luxembourg
mailto:[EMAIL PROTECTED]



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

From: Richard G Brown <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: pppd in 'setuid-root' mode
Date: Tue, 17 Aug 1999 13:04:01 +0100

> > made pppd suid root, and owned by group pppusers
> 
> Owned by a group?  That makes no sense.  

Yes it does :-) I mean that root owns the file and the "group owner" is
pppusers. (As you've typed below) Sorry - I should have made it more
clear.

Make pppd suid root, in group
> pppusers, and executable by the group, like this:
> 
> -rwsr-x---   1 root     pppusers        126256 Aug 11 20:20 /usr/sbin/pppd
 
That is precisely how I have it set up yet pppd can't access ttyS1 when
executed by a non-root member of the pppusers group.

I would like to have /dev/ttyS1 have permissions
 -rw-------    1 root     tty

but I can only get ppd to work if I make it

 -rw-rw----    1 root     pppusers

which is obviously less than desirable (but at least works)

I suspect the system is revoking pppd's suid root status at some point and
I was wondering if there are any likely causes of this? (When initially
called by a pppuser, I think pppd _is_ running as root as I don't get the
standard error message telling me to run it as root!) 

Thanks for your help,

Richard.

> I would be surprised if Mandrake did not ship pppd already set up like
> this (though the group might have been something like 'dip').
> -- 
> John Hasler                This posting is in the public domain.
> [EMAIL PROTECTED]            Do with it what you will.
> Dancing Horse Hill         Make money from it if you can; I don't mind.
> Elmwood, Wisconsin         Do not send email advertisements to this address.
> 
> 


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

From: Luiz Guilherme B Damiano <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Running DOS from Linux
Date: Tue, 17 Aug 1999 09:06:01 -0300

I would like to run my old Clipper applications in a Linux based
computer.

My problem is that the Clipper executables are located in a Netware
server im my local network.  I can see the programs there but in Linux I
could not run it.  If I start the DOSEMU, I do not "see" the LAN.

There is any solution to this?  Could I run a Netware client over the
DOSEMU and then get access to the LAN?

Any answer will be appreciate.




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

From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: @Home Cable Modem and RedHat 6.0 -- no packets get past the cable modem 
at all!
Date: 17 Aug 1999 11:52:44 GMT
Reply-To: rdt(a)cs.queensu.ca

On Tue, 17 Aug 1999 06:20:49 GMT, Erik Schwiebert wrote:
 >Well, I just installed RedHat 6 (i had 5.2 working very nicely with ADSL,
 >but then I moved...) and am completely unable to get it to talk to the
 >outside world via my new cable modem.
 >
Upgrade to pump-0.7.0 and be sure the call to pump in 
/etc/sysconfig/network-scripts/ifup has a -h hostname option.

Bob T.

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

From: "Steve Cowles" <[EMAIL PROTECTED]>
Subject: Re: DNS Problem
Date: Tue, 17 Aug 1999 12:34:18 GMT

Marcio,

You need to add your desktop clients IP/hostname to the /etc/hosts file on
your Linux box. What is happening is the linux resolver (see: man resolver)
is timing out on trying to resolve the IP address that is trying to connect
(via telnet, mail, etc...). Specifically, the resolver is trying to
determine the FQDN (Fully Qualified Domain Name) for the IP address. AKA:
Reverse Lookup. Unless you have changed the resolvers "search order", it
should first check /etc/hosts, then use DNS. Since the resolver could not
find an entry in /etc/hosts (for the desktop trying to connect) it tried to
use DNS. As you stated, since your box is off-line, the resolver (in this
case the resolver is now using DNS) will eventually time-out.

cut/paste from: man resolver
              timeout:n
                        sets the amount of time the resolver will wait for a
                        response from a remote name server before giving up
                        and retrying the query.  Measured in seconds, the
de-
                        fault is 30.

              attempts:n
                        sets the number of queries the resolver will send to
a
                        given nameserver before giving up and trying the
next
                        listed nameserver.  The default is 2.

BTW: Your on the right track, but DNS is NOT used to authenticate users.

Steve Cowles
SWCowles at gte dot net


Marcio Lima <[EMAIL PROTECTED]> wrote in message
news:7pbebq$[EMAIL PROTECTED]...
> I have a Linux box connected to the Internet through a modem (demand
> dialing) acting as a gateway for a local network.. Everytime the Box comes
> up It tries to connect to the Internet. If it succeed, everything goes
well.
> Otherwise, all the clients, in the local networking trying to connect to
the
> Linux Box, get a very, very slow service at connect time(Telnet,
mail,etc).
> I could see that It happens because somehow the Linux Box uses DNS to
> authenticate the users and, as the Internet is unconnected, it takes ages
to
> authorize the user due to a long time-out. I cannot see why this is
> happening because all my files (passwd, group, etc) is the Box.
>
> Can anybody help me ?
>
> Thanks,
> Marcio Lima
> Net Open Corp
> www.net-open.com
>
>
>



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

Date: Tue, 17 Aug 1999 14:39:34 +0200
From: Wolfgang Ganzert <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: SPARCclassic X Terminal with KDE and Linux

Hello,
after different attempts for help in several mailing lists this group is
my last chance for my problem.

I am interested in using a SPARCclassic (Sun) X-Terminal runing KDE (and
Redhat Linux). Maybe You can help me since up to now I am new in the
configuration of X-Terminals in the net.

The SPARCclassic X-Term. is a supported hardware device for RedHat Linux
6.0. We have several of them and would like to use them. Secondly we
have a SPARCstation 10. On this machine RedHat Linux 6.0 with KDE as the
window manager is running successfully.

Now we would like to use the xterminals in such a manner that the window
manager KWM from the KDE package is running on the terminal itself (on
the local cpu of the terminal) and not on the host, since the host is to
slow to feed all the connected terminals with the window manager data.
So it would be an improvement if the window manager is running on the
terminal.

What do I have to do in order to achieve this?

TFTP and BOOTP on the server is running.

Is it necessary to run a "small" Linux kernel on the terminal cpu (maybe
the tftp.img boot image from the distribution)  in order to set the KDW
ontop of it?

If You could give me some advice I would be glad since no one answered
to my questions in the sparc-list-request mailing list.

Thank You in advance!

Wolfgang





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

From: Sebastien Boving <[EMAIL PROTECTED]>
Subject: DHCP / vmware question
Date: Tue, 17 Aug 1999 13:34:47 GMT

 Hi,

I have a strange setup and would like to know if this is possible:


==================================== (ethernet segment)
              |
         ------------
         |\         |
         | \  Linux |
         |  \-------|
         | VMWare   |
         ------------

(sorry for non-fixed-font readers).

The host is running linux, and VMWare. VMWare is software to have as
many
'virtual machines' on your box as he can carry.

In a virtual machine (X window or fullscreen) you can then boot the
virtual machine and do whatever you want with it.

We use it to boot NT. As VMWare support multiplexing of the network
interface, we would like to use that feature to have the NT VM connected
to the net. This works fine when i only start up 1 NT VM (configured
with
a static ip-adress). The host does then have 2 ip adresses (ip-aliasing)
for the only ethernet card present. One for linux, the other for NT.

Now the DHCP problem is the following: We want to run several NT VM
sessions on the host (making NT multitasking with a non-persistent
drive,
yes!), but the problem arises that since the NT configuration has a
statically assigned ip-adres, all the NT VM's would have the same
ip-adress, which of course is not possible.

I am thinking of installing a DHCP server on the linux part of the host,
and configuring the NT VM to ask a ip lease on the net at boot-time.

I see several problems, and since i'm not very familiar to DHCP i
thought
i'd ask it immediatly on this list instead of wasting time testing it
(in
the case it is not possible):

- the NT host will issue a broadcast on the net, through the same
network
interface the DHCP server is listening on. Will the DHCP server 'hear'
and
answer this request?

- the DHCP server should assign several IP-adresses to the same MAC
adress. Is this OK for him?

- if so, will i be able to configure the DHCP server in such a way that
it
only assigns a range of ip-adresses to this mac-adress, and not to other
DHCP clients on the subnet?

i actually already built following dhcp.conf:

option domain-name "esat.kuleuven.ac.be";
option domain-name-servers 134.58.189.140, 134.58.56.153,
134.58.126.129;

subnet 134.58.189.128 netmask 255.255.255.128  {
        option routers 134.58.189.254;
        max-lease-time 1440;
        default-lease-time 1440;
        range 134.58.189.220 134.58.189.223;
        get-lease-hostnames true;

}

thanks in advance for your help,
Sebastien Boving.



--
--

Sebastien Boving.
UNIX System Administrator.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.misc
Subject: Re: pppd in 'setuid-root' mode
Date: 17 Aug 1999 07:49:13 -0500

John Hasler ([EMAIL PROTECTED]) wrote:
: W.G. Unruh writes:
: > They need direct access to the port since that is where the date is
: > written to and read from. And since an suid pppd program gets rid of its
: > root uid as quickly as possible (it is really only needed to set up
: > routes I think)...

: pppd opens the serial port as root.

Only for root or if the device file name comes from a privileged source.

: > ...and since chat never has root permission,...

: chat never needs root.  It talks only to its standard input and standard
: output.

Correct.

: > ...the users HAVE to be able to write to that port.

: They do not.

Yes, they do.  Read the pppd man pages.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Speak softly and carry a +6 two-handed sword. */

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

From: starshum#[EMAIL PROTECTED]
Subject: How to allow sendmail relay
Date: 17 Aug 1999 13:52:21 GMT

Hi,


   How do I allow sendmail relay for users connecting through
an ISP dial-up? I have entered all the IPs of my domain in the
etc/mail/relay-domain file and hosts on my domain are OK. But
anyone connecting to the server throuhg a regular ISP dial-up
can't use it. Anything I can do?

   BTW, I am running a Mandrake Redhat 6.0.


-- 

Stephen Shum


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


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