Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forceful logout from SUN solaris

Status
Not open for further replies.

smitanav

Programmer
Mar 10, 2003
28
0
0
IN

Hi all ,

pl,ease let me know how to make some user forcefull logout from the telnet session ??
is there i should need to write a script to do that , is so please help me to write it down

Thanks in advance !

Smitanav
 
The [tt]pkill[/tt] command can terminate processes by userid, terminal, command, or a whole list of other criteria. Some examples...
Code:
   # All processes owned by "someuser"
   pkill -KILL -u someuser

   # All processes associated with terminal pts/8
   pkill -KILL -t pts/8

   # All vi commands run by "someuser"
   pkill -KILL -u username vi
Hope this helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top