This issue still exists in the latest 12.04, 14.04, and 14.10 images in Azure
On 12.04: # userdel -f -r azureuser userdel: user azureuser is currently logged in userdel: warning: can't remove /var/mail/azureuser: No such file or directory sent invalidate(passwd) request, exiting sent invalidate(group) request, exiting sent invalidate(passwd) request, exiting sent invalidate(group) request, exiting On 14.04 and 14.10: # userdel -f -r azureuser userdel: user azureuser is currently used by process 1783 userdel: cannot open /etc/subuid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1342875 Title: Unable to delete currently logged in user To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1342875/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
