• Every user of a Linux server belongs to one or more groups.
    To see your user and your groups, you use the command id like this:

    netops@automation:~$ id
    uid=1000(netops) gid=1000(netops) groups=1000(netops),27(sudo)

    The output of id in three parts: uid=1000(netops) is your user, gid=1000(netops) is your main group, and groups=1000(netops),27(sudo) lists all your groups, sudo is one of them

    Figure 1 - The Output of id

    To see the groups of another user, you add its name, like id lea.

    In the lab, look at the groups of the users lea and marc.

    Answer the question below

    Which group are lea and marc both in?