[plug] Dialin server help please!
Craig Ringer
craig at postnewspapers.com.au
Fri Feb 20 11:28:58 WST 2004
On Fri, 2004-02-20 at 01:53, Mark J Gaynor wrote:
> I have mgetty installed, its just the configuration to use /etc/passwd
> entries is
> not documented clearly anywhere, and with the dial-in server docs at
> linux.org
> ofline I was starting to get a little discouraged, not to mention running
> up the
> phone bill. At first glance I think the /etc/ppp/options.server file is the
> answer I'm
> looking for.
>
It sounds like you want pppd to use PAM to look up users. It's very
unusual these days for apps to directly access /etc/passwd or
/etc/shadow (what if you need NIS or LDAP auth later?).
On my machine (RH FC1):
[root at albert root]# ldd /usr/sbin/pppd
libpam.so.0 => /lib/libpam.so.0 (0x004ab000)
libdl.so.2 => /lib/libdl.so.2 (0x0088d000)
libutil.so.1 => /lib/libutil.so.1 (0x00d04000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00101000)
libc.so.6 => /lib/tls/libc.so.6 (0x0072e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x001fd000)
PPPd is built against PAM, so it should be possible. See "man pppd" for
details on settings. You'll want /etc/ppp/options and /etc/ppp/peers/*
for configuration.
Craig Ringer
More information about the plug
mailing list