Permissions Question ppp

Permissions Question ppp

Post by smith.. » Mon, 10 Apr 2000 04:00:00



Could someone please advise on the sensible permissions for all users
on  my home PC to have access to the internet.

drwxrrwxrwx or 777 format

ppp-on
ppp-off
ppp-on-dialer
chap-secrets
connect-errors
ip-down
ip-up
options
pap-secrets
(folder) scripts
(folder) etc

Have I missed anything?

Currently only root has access

MANY THANKS !  simo

 
 
 

Permissions Question ppp

Post by Bill Unr » Mon, 10 Apr 2000 04:00:00


]Could someone please advise on the sensible permissions for all users
]on  my home PC to have access to the internet.

]drwxrrwxrwx or 777 format

]ppp-on
]ppp-off
]ppp-on-dialer
rwxr-xr-x
for all three

]chap-secrets
rwx------ (owned by root)
]connect-errors
??
]ip-down
]ip-up
Both rwx------ root
]options
rw------- rot
]pap-secrets
rw------- root
](folder) scripts
](folder) etc
??
and /usr/sbin/pppd r-s--x--x root
/usr/sbin/chat  r-x--x--x root

]Have I missed anything?

]Currently only root has access

 
 
 

1. PPP - sh: /etc/ppp/ppp-on-dialer: Permission denied HELP!

I can manually set up a PPP connection by following the PPP-HOWTO, but
when I try to run the automated scripts I get this permission denied
error.  The scripts are all chmod'ed 777, and I'm running them as
root.  In /var/log/messages, pppd says that the chatscript
(ppp-on-dialer) failed.

Here's my ppp-on script:
#!/bin/sh
TELEPHONE=XXX-XXXX      # Left out number for posting
ACCOUNT=XXXXX                # Left out account name for posting
PASSWORD=XXXXX            #Left out password for posting
LOCAL_IP=0.0.0.0                
REMOTE_IP=0.0.0.0    
NETMASK=255.255.255.0  
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/chatscript
exec /usr/sbin/pppd -d -detach lock modem crtscts /dev/ttyS3 38400 \
        asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
        noipdefault netmask $NETMASK connect $DIALER_SCRIPT

Here is my ppp-on-dialer script:
#!/bin/sh
exec /usr/sbin/chat -v                                  \
        TIMEOUT         6                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rATZ                           \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        CONNECT         ''                              \
        ogin:--ogin:    $ACCOUNT                        \
        assword:        $PASSWORD                       \
        >               ppp  

I run ppp-on and then almost immeadiately it gives me the permission
denied error.

Any help would be appreciated.
Steve Hodgson

2. FreeBSD 2.1.6: Why are things getting reniced automatically ?

3. gnome-ppp, kppp for users? Permission question.

4. cd replication

5. PPP Question - Dial-Up permission

6. Java in Linux?

7. Port permissions, PPP question, and admin help!

8. NIS... which one????

9. PPP and PPP and PPP and PPP and PPP and HEADACHE

10. ppp-up, down says permission denied

11. VPN using ppp+ssh question (ppp-2.3.5 does not support pty)

12. PPP Question (ppp-on script)

13. PPP permissions