Hi Solene!
Solene Rapenne wrote:
The names in login.conf are classes, this is not related to groups.
You can find in which class your user by looking at the 5th field of
your username in /etc/master.passwd. You can use the following command:
$ doas awk -F':' '/^YOUR_USER/ { print $5 }' /etc/master.passwd
If it returns "staff" then you should have the correct limits from
/etc/login.conf
thanks for the hint, I got side-tracked by the name of the class being
the same as group.
Your command does not return anything, so the solution was as simple as
sudo usermod -L staff <myuser>
and now your command returns "staff"... fine!
I won't set any defaults for classes, since it is only me that needs
this for now.
Thanks,
Riccardo