I have a problem with the PPP-ON and PPP-OFF scripts.  When I am logged in 
a root they work find.  If I am logged in as any one else, they do not 
work.  Does anyone have any ideas?

Thankx in Advance

Ezekiel Urness

/usr/bin> ls ppp* -la
-rwx--x--x   1 root     root         1051 Jun 30 12:09 ppp-off
-rwx--x--x   1 root     root          222 Jul  1 04:19 ppp-on
/etc/ppp> ls ppp* -la
-rwxr-xr-x   1 root     root          838 Jul  1 04:19 ppp-on-dialer

ppp-on is
  #!/bin/sh
  #
  TELEPHONE=xxxxxxxx
  ACCOUNT=xxxxxxxxx
  PASSWORD=xxxxxxxxx

  export TELEPHONE ACCOUNT PASSWORD
  #
  DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
  #
  exec /usr/sbin/pppd /dev/modem connect $DIALER_SCRIPT

ppp-on-dialer is
  #!/bin/sh
  #
  /usr/sbin/chat                                                  \
          TIMEOUT         3                               \
          ABORT           '\nBUSY\r'                      \
          ABORT           '\nNO ANSWER\r'                 \
          ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
          ''              \rAT                            \
          'OK-+++\c-OK'   ATH0                            \
          TIMEOUT         30                              \
          OK              ATDT$TELEPHONE                  \
          CONNECT         ''                              \
          ogin:--ogin:    $ACCOUNT                        \
          assword:        $PASSWORD




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to