Page MenuHomeFreeBSD

su(1): Add -g flag
AcceptedPublic

Authored by fernape on Aug 1 2025, 4:26 PM.
Tags
None
Referenced Files
F164715473: D51683.id159582.diff
Mon, Aug 3, 7:58 AM
Unknown Object (File)
Sun, Aug 2, 5:32 AM
Unknown Object (File)
Fri, Jul 31, 1:22 PM
Unknown Object (File)
Thu, Jul 23, 5:00 AM
Unknown Object (File)
Sun, Jul 19, 6:58 PM
Unknown Object (File)
Sun, Jul 19, 3:26 PM
Unknown Object (File)
Wed, Jul 8, 1:19 AM
Unknown Object (File)
Jun 11 2026, 6:19 PM

Details

Reviewers
0mp
bcr
carlavilla
Group Reviewers
manpages
Src Committers
Summary

As an alias to -c to avoid confusion with the flag provided by most shells.

This should avoid confusion when using two -c in one command.

While here improve the manual page a bit

Comes from: https://reviews.freebsd.org/D26941 done by @0mp

Test Plan

Apply patch.

Test commands from the EXAMPLES section.
mandoc -T lint clean.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65899
Build 62782: arc lint + arc unit