RecordEvolution / ReswarmOS

A small, customized host operating system for IoT devices meeting the needs of Reswarm
Apache License 2.0
5 stars 0 forks source link

user and groups #7

Closed mario-fink closed 3 years ago

mario-fink commented 4 years ago

set up proper user and groups, i.e. custom user including its own group, add custom user to sudoer list

markope commented 4 years ago

All of this will be handled by the reswarm_agent. By default there should be no user/group for users.

mario-fink commented 4 years ago

This addresses only the Unix Users/Groups on the system itself. Since we have to have at least ONE SINGLE user able to access the OS via ssh and have root permissions, this user also has to have a group assigned, which usually is a group of the same name. In release 0.0.1 the configured user is simply in group sudo which works fine, but is not the most clean solution...

mario-fink commented 3 years ago

82674cee237b64909770ded25243ec2d21554e97