Sometime ago for who knows which testing purposes I added
www-data to a group of developers called
devs. I want to remove it now but it don't let me with the following message:
$ sudo deluser www-data devs /usr/sbin/deluser: The user `wwww-data' does not exist.
However, it does exist:
$ cat /etc/passwd | grep www-data www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
and it certainly belongs to the group:
$ cat /etc/group | grep devs devs:x:1004:www-data,other_user
I could of course edit the file manually but, what is going on?
PD: Ubuntu 14.04.