The UNIX tool vipw is a common tool for directly editing the /etc/passwd file. The use of vipw will ensure that shadow files (where used) will remain current with the passwd file. This is important for security reasons.
/etc/passwd