If you want him to have ftp access and mail etc I think all you have to do
is
make a replacement in his passwd file where the shell command usually is
with a program that does nothing.

Eg.
If the passwd file has
username:groupname:******:/usr/bin/bash

Replace bash with for example a C program which may be like
main()
{
printf("You dont have telnet privilages\n");
exit(0);
}

I know someone who is doing something just like this.

Regards
Shahed.
-----Original Message-----
From: Ravindra Jaju <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Friday, December 24, 1999 12:30 AM
Subject: Re: [ILUG-BOM] telnet


>
>> How do i stop a specific user from being able to telnet into a linux box?
>>
>
>Can you clarify the question a bit more. Is the specific user on some
>remote machine (who can log into any account on the local machine), or is
>it that you want some particular account on your machine not to be
>accessible from outside, but only from the console?
>
>--jaju
>
>To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the
mailing list button and fill the appropriate information
>and submit. For any other queries contact the ML maintener
>
>

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to