ps awwwfux Look for their shell...then kill away. On May 17, 2011 7:48 PM, "keith smith" wrote: > > > Hi, > > I'm trying to remove a user from a CentOS LAMP server. > > When I run the who command the user is not listed. > > then I run userdel like this and it says the user is logged in. > > [xxxxxx@xxxxxxx ~]$ sudo /usr/sbin/userdel xxxxxxx > userdel: user xxxxxxx is currently logged in > > I tried sudo pkill -u xxxxx which did not work. > > any suggestions? > > Thanks! > > > > ------------------------ > > Keith Smith