Package: adduser
Version: 3.153
Severity: minor

Since shadow upstream is unwilling to help 
(https://github.com/shadow-maint/shadow/issues/1361), we must work on 
getting rid of the message "usermod: no changes" when creating a user 
without comment:

# adduser --comment="" --disabled-password foo2
usermod: no changes

I thing the best idea would be to simply not call usermod if no change 
to the comment is to be done. Since we are creating the user, there is 
probably not even a need to read back the comment before changing it, we 
can safely assume it's empty and so just not call usermod if the "new" 
comment is empty.

Greetings
Marc

Reply via email to