adduser does not clarify if was sussesfull.. result operation are not 0 errors
this could let a user when no clear message are show, result are 10,
so not sussess on operation but user was created, in the operation
the result if password does not match are 10 but user was created..
i dont know if this are good behaviour… by example i could change mind
and later change the name to “general2” so thinking “general” not
exits
a user are present without really knows:
<code class="text">
root@alpine:~/alpineinstalls/informes$ adduser general
New password:
Retype new password:
Sorry, passwords do not match.
passwd: Failed preliminary check by password service
passwd: password unchanged
root@alpine:~/alpineinstalls/informes$ echo $?
10
root@alpine:~/alpineinstalls/informes$ adduser general
adduser: user 'general' in use
root@alpine:~/alpineinstalls/informes$
</code>
(from redmine: issue id 9854, created on 2019-01-13)