09-22-2016, 01:40 PM
I forgot you had Zorin on there as well, but see that you went ahead and changed that too. Good job.
As I understand it, when you run id command in both Zorin and LL it shows UID and GID = 1001. Correct? However, Lubuntu is showing UID=1001 and GID=1002 -- correct? If so, run these two commands in Lubuntu terminal and let's see who shows up as GID=1001.
List users (and their respective UID, GID) with a UID equal to or greater than 1000 as listed in /etc/passwd file:
List groups with a GID equal to or greater than 1000 as listed in /etc/group file:
Copy/Paste results back here.
As I understand it, when you run id command in both Zorin and LL it shows UID and GID = 1001. Correct? However, Lubuntu is showing UID=1001 and GID=1002 -- correct? If so, run these two commands in Lubuntu terminal and let's see who shows up as GID=1001.
List users (and their respective UID, GID) with a UID equal to or greater than 1000 as listed in /etc/passwd file:
Code:
awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwd
List groups with a GID equal to or greater than 1000 as listed in /etc/group file:
Code:
awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/group
Copy/Paste results back here.
Try Linux Beginner Search Engine for answers to Linux questions.