Thnaks for suggestion <br><br> i have create one script with is login in to cisco router through telnet and run desired command not i am getting your point u told me i kick off user from cisco nas thruogh the script but ....okie i will create it but i dont know wheather i put this script so that this script check login user info and i think this script repace checkrad right ???  plz u give me your suggestion wheather i put this script to check login user on NAS <br><br><br><br><b><i>Dennis Skinner <dskinner@bluefrog.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> satish patel wrote:<br>> I am not getting u how do i query from shell script to NAS ??<br><br>See your NAS docs.  SNMP may be an option if the NAS supports it (and FR<br>may be able to handle the query itself as another poster suggested), but<br>there may be other ways....<br><br>For instance, we have a couple
 scripts we use when we want to boot a<br>particular user.  They are simple bash scripts that use "expect" to<br>handle logging into our cisco modems and look for the tty that the user<br>is on and then clear that tty.  It has limitations as the cisco "show<br>users" command only shows so many characters of the username, but it is<br>used rarely and only by me.  This option may work for you depending on<br>your situation.<br><br>>  and what<br>> is FR packet??<br><br>I said that FR (FreeRADIUS) may not hear the stop packet (the stop<br>accounting record) from the NAS.<br><br>> if u have any script example script can u send me ....i<br>> am in problem :(<br><br>Have a look at bash scripting and expect.  It is fairly simple and you<br>may be able to get away with it.<br><br>-- <br>Dennis Skinner<br>Systems Administrator<br>BlueFrog Internet<br>http://www.bluefrog.com<br>- <br>List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html<br></blockquote><br><BR><BR>$ cat ~/satish/url.txt<br><br>System administrator ( Data Center )<br><br>please visit this site<br><br>http://linux.tulipit.com   <p>
        

        
                <hr size=1></hr> 
Here’s a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a>