How to change users full name on Debian
The GECOS field in /etc/password
can be modified with the chfn(1)
command.
chfn -f "Joe Blow" jblow
You can do the following
adduser username -c "John Snow" -s /bin/bash
modify
usermod -c "Snow John" username
To verify users' full name finger username