Bug 251179

Summary: su(1) should support substituting group ID
Product: Base System Reporter: Xin LI <delphij>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 251178    

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.