I've had a PPP server setup for quite some time using mgetty 1.1.18-1, and it works great, BUT i just noticed today that it is doing no password authentication. Any user/pw will work to login. Security isn't a huge issue but i'd like to get it so i can track who logs in! AutoPPP is *on* when i turn it off the system doesn't allow a login(wether the password is right or not)
/var/log/messages when a user logs in: [...] Oct 4 08:09:55 wpp-22 pppd[20816]: pppd 2.3.5 started by a_ppp, uid 0 Oct 4 08:09:56 wpp-22 pppd[20816]: Using interface ppp0 Oct 4 08:09:56 wpp-22 pppd[20816]: Connect: ppp0 <--> /dev/ttyS1 Oct 4 08:09:59 wpp-22 pppd[20816]: CCP terminated by peer Oct 4 08:09:59 wpp-22 pppd[20816]: Compression disabled by peer. Oct 4 08:10:02 wpp-22 pppd[20816]: found interface eth0 for proxy arp Oct 4 08:10:02 wpp-22 pppd[20816]: local IP address 216.128.8.22 Oct 4 08:10:02 wpp-22 pppd[20816]: remote IP address 216.128.8.254 /var/log/mgetty/mg_ttyS1.log when a user logs in: [...] 10/04 08:09:39 yS1 waiting for ``CONNECT'' 10/04 08:09:39 yS1 got: ATA[0d] 10/04 08:09:39 yS1 CND: OKATA[0d][0a]CONNECT ** found ** 10/04 08:09:52 yS1 send: 10/04 08:09:52 yS1 waiting for ``_'' 10/04 08:09:52 yS1 got: 33600/ARQ/V34/LAPM/V42BIS[0d] 10/04 08:09:52 yS1 CND: CONNECT 33600/ARQ/V34/LAPM/V42BIS 10/04 08:09:52 yS1 CND: found: 33600/ARQ/V34/LAPM/V42BIS[0a] ** found ** 10/04 08:09:52 yS1 waiting for line to clear (VTIME), read: ~[ff]}#[c0]!}!}!} }7}"}&} }*} } }%}&} }8+}8}'}"}(}"}-}#}&}-}-~ 10/04 08:09:53 yS1 looking for utmp entry... (my PID: 20816) 10/04 08:09:53 yS1 utmp + wtmp entry made 10/04 08:09:53 yS1 tio_set_flow_control( HARD ) 10/04 08:09:53 yS1 print welcome banner (/etc/issue) 10/04 08:09:53 yS1 getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]! 10/04 08:09:55 yS1 input finished with '\r', setting ICRNL ONLCR 10/04 08:09:55 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD 10/04 08:09:55 yS1 login: use login config file /etc/mgetty/login.config 10/04 08:09:55 yS1 match: user='/AutoPPP/', key='' 10/04 08:09:55 yS1 match: user='/AutoPPP/', key='' 10/04 08:09:55 yS1 match: user='/AutoPPP/', key='/AutoPPP/'*** hit! 10/04 08:09:55 yS1 login: utmp entry: a_ppp 10/04 08:09:55 yS1 looking for utmp entry... (my PID: 20816) 10/04 08:09:55 yS1 utmp + wtmp entry made 10/04 08:09:55 yS1 calling login: cmd='/usr/sbin/pppd', argv[]='pppd crtscts modem ms-dns 208.222.179.31 lock proxyarp 216.128.8.22:216.128.8.254' 10/04 08:09:55 ##### data dev=ttyS1, pid=20816, caller='none', conn='33600/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/' 10/04 08:09:55 yS1 setenv: 'CALLER_ID=none' 10/04 08:09:55 yS1 setenv: 'CONNECT=33600/ARQ/V34/LAPM/V42BIS' This is how i start mgetty (/etc/inittab) T3:23:respawn:/sbin/mgetty -D -m '"" ATZ OK ' -s 38400 ttyS1 kernel 2.2.12 with pppd 2.3.5 This is the only un-commented line in my /etc/mgetty/login.config : /AutoPPP/ - a_ppp /usr/sbin/pppd crtscts modem ms-dns 208.222.179.31 lock proxyarp 216.128.8.22:216.128.8.254 -- Any ideas ? [EMAIL PROTECTED] ----------------------------------------[mailto:[EMAIL PROTECTED] ]-- Linux System Administrator http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336 http://www.linuxpowered.net/ Powered By: http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/ -----------------------------------------[mailto:[EMAIL PROTECTED] ]--