Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux groups show name, password, id, members list

cat /etc/group

cat /etc/groups | grep <groupname>
  
# Example:
cat /etc/groups | grep sudo
# Output
sudo:x:27:<user1>, <user2>, <user3>...

# sudo : group name
# x : password (encrypted for security reasons)
# 27 : could be another number, represents group ID
# list of users in group
Comment

PREVIOUS NEXT
Code Example
Shell :: linux filter groups 
Shell :: ubuntu unable to write file 
Shell :: install deb package 
Shell :: restart network raspberry pi 
Shell :: upgrade nltk version 
Shell :: git rename commit message 
Shell :: git sync local branch with remote 
Shell :: bash display items in array 
Shell :: convert back to sh from zsh 
Shell :: vlc media player download ubuntu 
Shell :: linux install vi 
Shell :: restart network linux 
Shell :: Check cpu raspberry pi 
Shell :: wsl shutdown reboot 
Shell :: git global ignore 
Shell :: last 2 git log entries 
Shell :: sudo amazon-linux-extras install 
Shell :: scikit learn pip 
Shell :: how to open file explorer with sudo ubuntu 
Shell :: install vinagre ubuntu 
Shell :: git ignore whitespace 
Shell :: mongodb log directory missing ubuntu 
Shell :: windows fatal: unable to access SSL certificate problem: unable to get local issuer certificate 
Shell :: how to access postgres CLI 
Shell :: git rename remote branch 
Shell :: pwd as string powershell 
Shell :: npm install @ngx-translate/http-loader 
Shell :: docker-compose permission denied 
Shell :: psycopg2.OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? 
Shell :: python3.8 install pip 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =