On Wed, 29 May 2024 at 15:37, Bill Stewart via Cygwin <cygwin@cygwin.com> wrote: > > On Tue, May 28, 2024 at 8:29 PM Dan Shelton wrote: > > Just a couple of ideas: > > - Native Windows doesn't have an easy way to list group memberships > > for the current user, so a WinSG -l to list available groups would be > > good > > > > Maybe you weren't aware of it - 'whoami /groups'
No, that takes the data from the account, and is wildly different from what is in a token (need winsg -l for that!!). > > > - WinSG should be installed in C:\Windows\system32\ alongside cmd.exe > > > > Not IMHO. Why? > > > > - Native Windows utilities use /? for help, not --help > > > > This is really only a loosely followed convention and not all Windows tools > follow it. (Example: Windows PowerShell cmdlet parameters use "-", not "/".) Maybe powershell is just the exception, as they try to compete with bash? Dan -- Dan Shelton - Cluster Specialist Win/Lin/Bsd -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple