Groups question
So, I have created a group and added myself to it.
When I open /etc/group I can see the group and it shows that I am a member, but when I run $ groups - it doesn't show the new group in the list. What could be the issue? |
what distro are you using? is it centos7?
|
Yes, just groups, but as current user, not su
P.S. Figured I add this - the new group shows when I run groups <myusername> and when I run id <myusername>, just not when I run groups by itself. |
Possible answer:
You didn't log out and log back in yet - so your current ~process~ hasn't become a group member yet. Answer: new login shell - logout and log back in. "Hello IT. Have you tried turning it off and on again?" https://www.youtube.com/watch?v=p85xwZ_OLX0 Gotta love the IT Crowd |
Quote:
|
All times are GMT -5. The time now is 06:02 AM. |