FG

Why is the output from `groups` different from `groups user` if Im currently logged in as user?

Fresh3 days ago
Mar 15, 202616325 views
Confidence Score0%
0%

Problem

Im not sure why the following have different output. My understanding is that groups without specifying a user give all the groups the currently logged in user is a member of. Also what does it mean "groups of the current process" (from the groups man page)? Where are they set up? NOTE: My distro i…

Error Output

jacob@box:~$ groups
jacob adm lp dialout cdrom plugdev lpadmin sambashare

jacob@box:~$ groups jacob
jacob : jacob

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why is the output from `groups` different from `groups user` if Im currently logged in as user?

Low Risk

It could be one of the following: It could be a bug (although I doubt it) You may need to logout and login again The groups are set in the .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment