Modify a User Account via passmgmt
· Solaris & Sun · Users & security
You can modify a user account with passmgmt. In this example, I'm modifying the comment field. Here's a before and after look.
# more /etc/passwd | grep esofthub
esofthub:x:1006:10:esofthub account:/export/home/esofthub:/bin/csh
# passmgmt -m -c "My SysAd Blog" esofthub
# more /etc/passwd | grep esofthub
esofthub:x:1006:10:My SysAd Blog:/export/home/esofthub:/bin/csh