freet15@moon:~$ sudo deluser test1
Removing user `test1' ...
userdel: user test1 is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel test1' returned error code 8. Exiting.
freet15@moon:~$ sudo userdel test1
userdel: user test1 is currently logged in
freet15@moon:~$ who
freet15 tty7 Jun 11 09:58 (:0)
freet15 pts/1 Jun 11 11:09 (:0.0)
freet15 pts/2 Jun 11 13:21 (:0.0)
freet15 pts/3 Jun 11 11:11 (:0.0)
freet15@moon:~$ ps -aux |grep test
freet15 19820 0.0 0.0 1784 548 pts/3 S+ 14:59 0:00 grep test
================================================
so, I have tried again, still get it.
freet15@moon:~$ sudo deluser test1
Removing user `test1' ...
userdel: user test1 is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel test1' returned error code 8. Exiting.
freet15@moon:~$ sudo userdel test1
userdel: user test1 is currently logged in
freet15@moon:~$ who
freet15 tty7 Jun 11 09:58 (:0)
freet15 pts/1 Jun 11 11:09 (:0.0)
freet15 pts/2 Jun 11 13:21 (:0.0)
freet15 pts/3 Jun 11 11:11 (:0.0)
freet15@moon:~$ ps -aux |grep test ======= ======= ======= ======= ======= ======
freet15 19820 0.0 0.0 1784 548 pts/3 S+ 14:59 0:00 grep test
=======
so, I have tried again, still get it.