skip to main | skip to sidebar

unixstars

Start With VI

Welcome


Tuesday, September 16, 2008

Killing an unwanted user by giving "w" commands

KILL A USER, IN THE UNIX SENSE
To kill all the processes associated with a particular user
simply:

# kill -9 `ps -aefgrep jondoe awk '{ print $2 }'`
Posted by unixson at 12:42 AM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Hit count

hit counter

Blog Archive

  • ►  2013 (1)
    • ►  05/26 - 06/02 (1)
  • ►  2012 (3)
    • ►  02/05 - 02/12 (2)
    • ►  01/08 - 01/15 (1)
  • ►  2011 (3)
    • ►  11/06 - 11/13 (1)
    • ►  02/20 - 02/27 (2)
  • ►  2009 (4)
    • ►  05/24 - 05/31 (1)
    • ►  05/03 - 05/10 (2)
    • ►  01/04 - 01/11 (1)
  • ▼  2008 (6)
    • ►  12/21 - 12/28 (2)
    • ►  11/02 - 11/09 (1)
    • ►  09/21 - 09/28 (1)
    • ▼  09/14 - 09/21 (1)
      • Killing an unwanted user by giving "w" commands
    • ►  09/07 - 09/14 (1)

Your IP