How to Add an Existing User to an Existing Group
Command
/usr/sbin/usermod -G adm www-data
Purpose
My purpose of adding www-data to adm was so that www-data could read the web logs. Caution: you may not want to be this liberal.
NOTE: I had to restart the apache server before the cgi script was aware of the permission changes that enabled it to read the log file.
Showing changes from previous revision. Removed | Added
