Bug 251179 - su(1) should support substituting group ID
Summary: su(1) should support substituting group ID
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Blocks: 251178
  Show dependency treegraph
Reported: 2020-11-16 06:10 UTC by Xin LI
Modified: 2020-11-17 18:20 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer 2020-11-16 06:10:45 UTC
Related to bug 251178 .

The FreeBSD su(1) does not provide a way to substitute group ID.

This is supported by NetBSD by specifying a group ID after : , and it requires the user to belong to the group.  With coreutils, the user can specify -g (primary group) and -G (supplemental group), but only root can use these.