RSSAmplifier

Posts - Scott Robinson · @ssxio · Aug 29, 2020

Show user groups on Linux

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

On most standard Linux operating systems you can view the current users’ group membership with: id -nG or if you’re currently logged in as root then you can just tag the user that you want to view on the end of the command. For example, if I’m logged in as root and want to see the groups that john is a member of: id -nG john which will then output: root@mimas:~ # id -nG john john docker

Read on dor.ky

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.