Re: stop users telnet
Use /bin/false as the users' shell, or alternatively write your own (more
informative) one to tell them what's up:
#!/usr/bin/perl -w
print "Sorry... Mike doesn't want you logging into this machine.\n";
exit 1;
---------------------------------------------------------
Andrew J. Perrin - Assistant Professor of Sociology
University of North Carolina, Chapel Hill
269 Hamilton Hall CB#3210, Chapel Hill, NC 27599-3210 USA
andrew_perrin@unc.edu - http://www.unc.edu/~aperrin
On Thu, 31 May 2001, Mike Egglestone wrote:
> Hi all...
>
> I have a bunch of users on my linux box that have access
> to some samba shares.... ftp to their home directories....etc...
>
> What do you suggest I do to stop them from accessing the system
> via telnet or ssh?
> (just in case some of them are curious....don't want them looking in /etc)
>
> However... I still want myself to be able to login via telnet or ssh....
> Can I block certain users from such access?
>
> Thanks
> Mike
>
Reply to: