Hi, On 4/21/05, anuraag chowdhry <[EMAIL PROTECTED]> wrote: > hi , > have u tried the /etc/securetty file?
/etc/securetty file is used to restrict the terminals from where root user can logon. You can restrict telnet from certain hosts/ips but not a selected list/group of users really. IMHO the only way to do this is to create a special default shell for each user (may be a shell script) and then checking how the user is connecting and then may be exec that shell with bash or ksh or csh or zsh. Is it just for the sake of experiment or you really want to use telnet. IF you want to use telnet, I would recommend running it on some other port, rather than leaving it on the default port. This wont make it more secure in any way but there would be less chances of people knowing that the telnet service is running on the machine. For restricting ssh access to certain user check the man pages for AllowGroup parameter. > --- "S. K. Goel" <[EMAIL PROTECTED]> 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 HTH -- Regards. Ajitabh Pandey http://www.geocities.com/ajitabhpandey ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
