3 ms·
You can use sudo for that, by allowing certain commands to be run by the PI, eg.: pi_account ALL= (root) groupadd course_* pi_account ALL= (root) usermod -
by icebraining 11y ago
You can use sudo for that, by allowing certain commands to be run by the PI, eg.:
pi_account ALL= (root) groupadd course_*
pi_account ALL= (root) usermod -a -G course_* *
This would allow the PI to create groups with a certain prefix, and to add users to it.