> to all pluggers,
>                      good day to all!
> i have two modems attach to my server, one for dial-out and the other is
> for my dial-ins(ppp0-dialout/ppp1-dial-ins). is it possible to make a
> crontab schedule in every two hours my dial-in clients will be
> disconnected. i'm find it hard what command should i issue and services
> to be turn off or to be cut-off. i tried the command "killall pppd" but
> all are cut off from my dial-out connections to my dial-ins. please
> advice on what to do.
>
> p.s. im using mgetty
>
> thanks,
> arvin

Try greping the username of the remote user

%killall pppd | grep -v -e grep | grep <remoteuser> | awk '{print $1}'

or try remove the user you dial-out

%killall pppd | grep -v -e grep | grep -v -e <dial-out username> | awk
'{print $1}'

HTH



-- 
Jimmy Lim
Operation & Support Team Leader
Tricom


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to