[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] Telnet and scripts
skhader@xxxxxxxxxx forced the electrons to say:
> Hi Folks,
> I would like to limit the number of telnet connections to my server !
> How do i do that ??
Possibly you can do that by keeping only an exact number of
/dev/[tp]ty[a-ep-z0-9][a-ep-z0-9]. I am not sure - but should work.
> And is it possible that whenever someone logins, I can run a shell script
Why not /etc/profile?
Binand
--
#include <stdio.h> | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c; | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c"; | printing program.
int main(){printf(p,10,34,p,34,10);return 0;} | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.