Background:
group name: ABC
My name : Tim
Recently while trying to use chown, I tried every combination but failed until I did
chown -R abc:abc
The syntax that was supposed to work was chown -R tim:abc
So I entered a few commands to make a sense of the users here
Following are the outputs
IN:
abc@abc-Inspiron-3551:~$ who
OUT:
abc :0 2022-02-09 08:14 (:0)
IN:
abc@abc-Inspiron-3551:~$ getent group abc
OUT:
abc:x:1000:
IN:
abc@abc-Inspiron-3551:~$ groups
OUT:
abc adm cdrom sudo dip plugdev lpadmin sambashare
IN:
abc@abc-Inspiron-3551:~$ groups tim
OUT:
groups: ‘tim’: no such user
Now, I know that tim is a user ( or atleast name of the user ??) because my login screen says tim and users
section of the settings application also says tim.
So what I don't understand is that if tim is a part of the group or not ??
And if not how am I seeing my name on the login screen ?