hey...
i've done that too... ( changed the deamon to that similar script )
and the comment, "if you really need to get access...you should already
know how to do it"
and the other comment to add... please use ssh instead ...
and boy do some people get annoyed when they get that message ...
hi ya Mike
setup /etc/hosts.allow and /etc/hosts.deny
cat /etc/hosts.deny
# turn everything off
ALL: ALL
cat /etc/hosts.allow
# allow only your ip# to telnet in
in.telnetd: 192.168.1.1 10.0.1.1
restart inetd for those changes to take effect
-- taking out
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 - Ass
Hi all...
I have a bunch of users on my linux box that have
access
to some samba shares ftp to their home
directoriesetc...
What do you suggest I do to stop them from
accessing the system
via telnet or ssh?
(just in case some of them are curiousdon't
want them looking in /etc
4 matches
Mail list logo