libuser-lid

Display a user's groups or a group's users. On Fedora and Arch Linux, this program is installed as lid. More information: <https://manned.org/lid.8>.

Install

All systems
curl cmd.cat/libuser-lid.sh
Debian Debian
apt-get install libuser
Ubuntu
apt-get install libuser
image/svg+xml Kali Linux
apt-get install libuser
CentOS
yum install libuser
Fedora
dnf install libuser
Windows (WSL2)
sudo apt-get update sudo apt-get install libuser
Raspbian
apt-get install libuser

Display a user's groups or a group's users. On Fedora and Arch Linux, this program is installed as lid. More information: <https://manned.org/lid.8>.

  • List primary and secondary groups of a specific user:
    sudo lid username
  • List users of a specific group:
    sudo lid --group name

© tl;dr; authors and contributors