Restrict Access to telnet Service
harald.schwier at freenet.de
harald.schwier at freenet.de
Thu Jul 7 22:12:29 UTC 2005
Hallo,
Thanks for your Replay
> Assuming that your telnet server supports pam and that it's correctly
> configured, you probably want your config file to look something like:
>
> auth required pam_listfile.so item=user sense=deny
> file=/etc/ssh/ssh_denied_users onerr=succeed
> # stack to go through regular auth mechanism, whatever it is...
> auth required pam_stack.so service=system-auth
> auth required pam_nologin.so
> account required pam_stack.so service=system-auth
> password required pam_stack.so service=system-auth
> session required pam_stack.so service=system-auth
> session required pam_limits.so
> session optional pam_console.so
Telnet is restrikted if i put these entries in the /etc/pam.d/login file. But now only
the users in access-file are alowed to log in at the console. How is it possible
to allow to login at the console to everybody?
Thanks in advanced,
Harald
------------------------------------------------------
Jetzt neu: freenetMail Power
+ mehr Speicher geht nicht + eigene Mail-Domain
http://www.freenet.de/tipp/freenetmail/power/?pid=6661
More information about the Pam-list
mailing list