BBS水木清华站∶精华区

发信人: speed (如风), 信区: Linux 
标  题: Re: ppp求助 
日  期: Sun May 19 14:02:16 1996 
 
==> cc (猪仔) 提到: 
> 我想把我的LINUX配成PPP SERVER,但在远程手工LOGIN的时候, 
> 总报告 
> "no shell. permission denied." 
> 我在adduser ppp时,将它的login shell设为 
> "路径/pppd 参数". 
> 这样做对吗,谁知道为什么出错吗? 
> 谢谢。 
> -cc 
no, it's wrong. u should make a ppp-login shell. 
just like this 
>-----------------------< 
#!/bin/sh 
# A Script to stat PPP service for a login account 
 
# Shell variables with IP addressess 
  RMTIP="202.113.20.20" 
  LOCIP="202.113.20.1" 
 
  exec /usr/sbin/pppd -detach silent modem crtscts mtu 750 $LOCIP:$RMTIP 
>-----------------end-----------< 
change the ip as u need. 
and make this script as ur shell. 
 
-- 
 ★  ' .   . ★ . ,   . 
 .  ▲      ' . ★ . 
   ▲▲ 
  ▲〓▲  ┯━━━┯              朋友好久不见 
    ┃    │o ┌┐│              有空来坐坐! 
──┸──┴─┴┴┴──────────────────�. 
 
 

BBS水木清华站∶精华区