1

When I try to make my 'devexe' group it says it exists but when I try to see it via this command :

$ cut -d: -f1 /etc/passwd

it's not in the list.

ekad
  • 14,436
  • 26
  • 44
  • 46

1 Answers1

0

Because groups are stored in /etc/group The correct command to list groups: getent group

Ipor Sircer
  • 3,069
  • 3
  • 10
  • 15
  • thanks @ipor now another question : if a user is in A,B,C,D groups ... and it creates a file with permission code of 770 , would all users of all those groups (A,B,C,D) have access to this file ? – Aneeka Snyder Aug 29 '16 at 10:47