How one can use the teams command: 2-Minute Linux Suggestions

Hello, that is Sandra Henry-Stocker, creator of the “Unix as a Second Language” weblog on NetworkWorld.
On this Linux tip, we’re going to take a look at the teams command that gives an inventory of the teams {that a} person is a member of. It does this by pulling data from the /and many others/group and /and many others/passwd information. Right here’s an instance:
The username is proven on the left and the group checklist on the suitable. That is simpler to see when there’s multiple group:
As you most likely know, the first group assigned to every person on most Linux methods at present is identical because the individual’s username.
If you happen to run the teams command with out an argument, it would checklist the teams that you’re a member of – whichever account you’re at present logged into or utilizing.
Notice that the teams command solely lists group memberships. It doesn’t inform you something extra about person privileges that could be offered together with a few of these group memberships.
That’s your Linux tip for the teams command.
In case you have questions or want to recommend a subject, please add a remark beneath.
And don’t overlook to subscribe to the IDG Tech(speak) channel on YouTube.
If you happen to favored this video, please hit the like and share buttons. For extra Linux ideas, you’ll want to observe us on Fb, YouTube and NetworkWorld.com.

Supply

Germany Devoted Server

Leave a Reply