[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Shells /bin/badsh



Badsh is a perl script that does nothing more than echo out a statement and
then exit 1.  It's done fairly often in the ISP world and other shell
services to block telnet access to certain users...script is posted below.

#!/usr/bin/perl

print "
************************* Access Denied *************************
*                                                               *
* Sorry, you do not have telnet/shell access to this Cobalt     *
* server.                                                       *
*                                                               *
*****************************************************************

";
exit 1;


At this point it's a cobalt product, but not native to cobalt.  I've done it
on various systems as far back as 1994.

Derek Belrose
derek_belrose@xxxxxxxx

Danny Daniels wrote:

> Question:
>
> I have not seen this shell before /bin/badsh. Is this a cobalt convention
> or is it part of the standard linux disribution.
> The reason I ask is because I would like to use this on another RH linux
> box.
>
> -Danny
>  dcd@xxxxxxxxxxxxxxxxxx
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users