Bumping this bug, as it's in effect.

The user I'm trying to delete is "rtc" and I'm logged in as "watcher".
Here's some output:

~: cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"

~: w
 22:46:07 up 8 days, 10:09,  3 users,  load average: 0.04, 0.23, 0.12
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
watcher  pts/0    99.230.244.23    22:34    0.00s  0.20s  0.00s w

~: who
watcher  pts/0        Oct 27 22:34 (99.230.244.23)

~: ps -U rtc -a
  PID TTY          TIME CMD
 9991 pts/0    00:00:00 ps
 
~: pkill -KILL -u rtc

~: sudo deluser rtc
Removing user `rtc' ...
userdel: user rtc is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel rtc' returned error code 8. Exiting.

~: sudo userdel rtc
userdel: user rtc is currently logged in

-- 
Can not delete new user which use "adduser"
https://bugs.launchpad.net/bugs/239069
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to