Restrict Access to telnet Service
harald.schwier at freenet.de
harald.schwier at freenet.de
Thu Jul 7 21:39:04 UTC 2005
Thanks for your reply.
> > i want to restrict the login via telnet to an user account. All users
> > should be able to login via sshd, but only one user via in.telnetd. Is
> > it possible to configure this with pam?
>
> You probably want pam_listfile.
I have just read about pam_listfile and it sounds very promissing.
I have created a file /etc/pam.d/telnet with the line:
account required /lib/security/pam_listfile.so file=/etc/telnet.acl item=user sense=allow onerr=fail
and a file /etc/telnet.acl with the name og the user who should be allowed to use telnet.
But it doesen't work :-(
Is it the wrong configuration file? Or ist the configuration wrong?
Or is Fedoras in.telnetd not using pam?
ldd /usr/sbin/in.telnetd dosen't say anything about being linkt
to pam.
Any more ideas?
Thanks in advanced,
Harald
.
.
.
.
More information about the Pam-list
mailing list