I would like to remove (or rename) an Ubuntu user I created but the usual solutions don't work as there is a question mark in the username.
$ sudo usermod -l myuser my?user
usermod: user 'my?user' does not exist
I tried with the usual quotes and/or a backslash before the question mark but to no avail.
Is there a way to remove a user based on his UID? That would be a solution as I don't need to enter the username.
Thanks!