Re: Re: Restrict Access to telnet Service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



.



.


.

. 









_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux