The 'wheel' group contains all ops and root account.
It allows to use the su command on BSD machines.
Fixes T1778.
Differential D2825
Provision wheel group on FreeBSD servers dereckson on Mar 3 2023, 15:59. Authored by Tags None Referenced Files
Subscribers None
Details
The 'wheel' group contains all ops and root account. Fixes T1778. Tested on Windriver
Diff Detail
Event TimelineComment Actions Before $ id -Gn dereckson nasqueron-irc ops deployment nasquenautes Change $ salt-call --local saltutil.sync_all […] $ salt-call --local state.sls_id group_wheel roles/core/users local: ---------- ID: group_wheel Function: group.present Name: wheel Result: True Comment: The following group attributes are set to be changed: members: ['root', 'dereckson', 'sandlayth'] Started: 15:57:11.960353 Duration: 18.1 ms Changes: ---------- Final: All changes applied successfully Summary for local ------------ Succeeded: 1 (changed=1) Failed: 0 ------------ Total states run: 1 Total run time: 18.100 ms Idempotent change $ salt-call --local state.sls_id group_wheel roles/core/users local: ---------- ID: group_wheel Function: group.present Name: wheel Result: True Comment: Group wheel is present and up to date Started: 16:00:29.633888 Duration: 4.393 ms Changes: Summary for local ------------ Succeeded: 1 Failed: 0 ------------ Total states run: 1 Total run time: 4.393 ms After $ id -Gn dereckson dereckson wheel ops deployment nasquenautes nasqueron-irc $ grep wheel /etc/group wheel:*:0:root,dereckson,sandlayth |