ubuntu get all users compgen -u

ubuntu get all gropus compgen -g

check ownership od directory and files ls -l

add existing user to group sudo usermod -a -G groupName userName

list users in a group getent group groupname

Advertisements