Ubuntu Linux Add a User To Group www-data ( Apache Group )

  1. Open the terminal application.
  2. Login to Ubuntu server using ssh.
  3. Add a new user named foo to www-data group by running useradd -g www-data foo command.
  4. Add an existing user bar to Apache’s www-data group on Ubuntu using usermod -a -G www-data bar command.
  5. Verify new modification on Linux by using the id command.

Leave a Reply

Your email address will not be published. Required fields are marked *