Bad Username
Hin cheuk Lam (hilam@leahi.kcc.hawaii.edu)
Fri, 29 Jan 1999 23:53:53 -1000
Just installed mgetty. It does recieve the incoming calls, but it does
not let me use AutoPPP. The following is the mgetty.ttys0 log. it looks
fine.
But in the /var/log/messages, it says something about Bad Username.
Please take a look at the following logs.
--
01/29 23:32:50 ##### data dev=ttyS0, pid=14855, caller=none,
conn='28800/ARQ', n
ame='', cmd='/bin/login', user='/AutoPPP/'
--
01/29 23:36:50 ##### data dev=ttyS0, pid=14856, caller=none,
conn='28800/ARQ', n
ame='', cmd='/bin/login', user='/AutoPPP/'
=============================================================
----/var/log/messages----------------
Jan 29 23:36:50 cyberspace PAM_pwdb[14856]: bad username [/AutoPPP/]
Jan 29 23:36:50 cyberspace PAM_pwdb[14856]: FAILED LOGIN 1 FROM (null) FOR
/Auto
PPP/, User not known to the underlying authentication module
Jan 29 23:36:53 cyberspace PAM_pwdb[14856]: bad username [~^?}#@!}!]
Jan 29 23:36:53 cyberspace PAM_pwdb[14856]: FAILED LOGIN 2 FROM (null) FOR
~^?}#
@!}!, User not known to the underlying authentication module
Jan 29 23:36:53 cyberspace PAM_pwdb[14856]: bad username [}#}]
Jan 29 23:36:53 cyberspace PAM_pwdb[14856]: FAILED LOGIN 3 FROM (null) FOR
}#},
User not known to the underlying authentication module
Jan 29 23:36:53 cyberspace PAM_pwdb[14856]: bad username [ }7}"}&} }*} }
}%}&} ^
A}]=}'}"}(}"}-}#}&]
Jan 29 23:36:53 cyberspace PAM_pwdb[14856]: FAILED LOGIN SESSION FROM
(null) FOR
}7}"}&} }*} } }%}&} ^A}]=}'}"}(}"}-}#}&, User not known to the
underlying auth
entication module
===========================================================================
I used one of the regular login 'lhc' as my username on Win95 side. But
it keeps saying that bad username. What's wrong?
The following is how I put my /AutoPPP/ statment in login.conf.
/AutoPPP/ - - /usr/sbin/pppd auth modem crtscts lock -chap +pap
login proxyarp
==========================================================================
Any help would be greatly appreciated. Looking forward to any help.
BTW, I'm running Linux 2.0.35 with IP_Masq enabled. Just wanna be able to
dialup from somewhere to share the connection from my cable modem on my
Linux box. Just wondering if mgetty would do the job. I don't have any
valid IP address to give my 95 box once connected. Would a 192.168.0.X
kind of IP do the job? Please clarify.
-Max
hilam@leahi.kcc.hawaii.edu