Then PAM will help you, you can restrict user access by changing PAM modules and their sequence in /etc/pam.d/<service> file, #man pam
Regards Ritesh S. K. Goel wrote: > Actually I want > > User X, Y and Z to be use telnet but not ssh. > while user A, B and C can be use ssh but not telnet > > > [S K Goel] > On Sat, 2005-04-23 at 02:41 -0700, Mithun Bhattacharya wrote: > > >>One reason I could think of is if you wish to allow some users to >>tunnel connections through ssh and not allow the others - in such a >>case telnet and ssh would provide similar features. >> >> >>Mithun >> >>--- Amit Goel <[EMAIL PROTECTED]> wrote: >> >>>S. K. Goel wrote: >>> >>> >>>>Hi List, >>>> >>>> >>>>I want to give telnet access to some specified users and ssh access >>> >>>to >>> >>>>some other users, Is there is any file like telnet.allow / >>> >>>ssh.allow, So >>> >>>>that I can defined the same user wise. >>>> >>>> >>> >>>TELNET !!!!! Please use only ssh. >> >>__________________________________________________ >>Do You Yahoo!? >>Tired of spam? Yahoo! Mail has the best spam protection around >>http://mail.yahoo.com >> >>_______________________________________________ >>ilugd mailinglist -- [email protected] >>http://frodo.hserus.net/mailman/listinfo/ilugd >>Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi >>http://www.mail-archive.com/[email protected]/ > > _______________________________________________ > ilugd mailinglist -- [email protected] > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/[email protected]/ > -- Regards Ritesh Agrawal Senior Engineer-Systems Net 4 India Ltd, B-4/47, Safdarjung Enclave, New Delhi- 110 029, India --------------------------------------------------- There are 10 types of people in this world, those who understand binary and those who don't --------------------------------------------------- _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
