I run mgetty + pppd. Users authenticate via pap (/etc/ppp/pap-secrets).
They get an ip-address based on /etc/ppp/options.ttySx, but I'd like to
give them an ip-address based on their userid in pap-secrets.
I know I can add an ip-address in pap-secrets, but it's just one more
security thing, the dial-in account still gets the ip-address in
options.ttySx.
The ip-address based on the userid is neccessary. How can I achieve
this?