# usermod -c "User1 Name" user1
Alternatively, you can edit directly at the /etc/passwd 5th column
user1:x:524:100:User1 Name:/home/user1:/bin/bash
You can verify by fingering
# finger user1
Linux Toolkits Blog is a scratch-pad of tips and findings on Linux
# usermod -c "User1 Name" user1
user1:x:524:100:User1 Name:/home/user1:/bin/bash
# finger user1
No comments:
Post a Comment