| 
		
	
	
	
		
	Posts: 1,529 
	Threads: 145 
	Joined: Mar 2016
	
 Reputation: 
3 
	
	
		On the few office servers that I attend to I usually assign user names by my own code like 0deb1 being root, 1deb1 sudo, 1deb2 2nd sudo, and 2deb1 first general user. Can always alias them to freaky stuff for ordinary users without issues.
 TC
 
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 
	
	
	
		
	Posts: 893 
	Threads: 197 
	Joined: Jul 2014
	
 Reputation: 
0 
	
		
		
		09-22-2016, 09:06 AM 
(This post was last modified: 09-22-2016, 09:08 AM by m654321.)
		
	 
		 (09-21-2016, 03:41 PM)gold_finger link Wrote:  At this point, run following command to make sure his user(SamTheEditor) and group(SamTheEditor) show the UID and GID = 1001.  (It should if you were the only user account setup on that system.  Having same username, UID and GID as he's using on LL will ensure easier sharing of files between the two systems, especially if you've got a shared data partition to be used by both.)
 Gold_finger, according to your advice I've deleted the old SamTheEditor accounts in LL & Zorin, replacing them with sam-the-editor to avoid potential problems developing later, as you & Trinidad outlined.  I've set up a sam-the-editor account for him in Lubuntu , using the terminal. However, when I enter 'id sam-the-editor', the UID & GID output are not the same - what does this mean?...
 Code: happyfamily@happyfamily-X71Q:~$ id sam-the-editoruid=1001(sam-the-editor) gid=1002(sam-the-editor) groups=1002(sam-the-editor)
 happyfamily@happyfamily-X71Q:~$
mike
	 
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy  mode on MBR-formatted SSDs (except pi  which uses a micro SDHC card): 
2017 - Raspberry pi 3B  (4cores) ~ [email protected]  - LibreElec , used for upgrading our Samsung TV (excellent for the task)    
2012 - Lenovo G580 2689  (2cores; 4threads] ~ [email protected]  - LL3.8/Win8.1  dual-boot (LL working smoothly)  
2011 - Samsung NP-N145 Plus  (1core; 2threads) ~ Intel Atom [email protected]  - LL 3.8 32-bit  (64-bit too 'laggy')  
2008 - Asus X71Q  (2cores) ~ Intel [email protected]  - LL4.6/Win8.1  dual-boot, LL works fine with kernel 4.15 
2007 - Dell Latitude D630  (2cores) ~ Intel [email protected]  - LL4.6 , works well with kernel 4.4; 4.15 doesn't work
 
	
	
	
		
	Posts: 1,094 
	Threads: 19 
	Joined: Feb 2014
	
 Reputation: 
0 
	
	
		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:
 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.
	 
	
	
	
		
	Posts: 893 
	Threads: 197 
	Joined: Jul 2014
	
 Reputation: 
0 
	
		
		
		09-30-2016, 08:19 AM 
(This post was last modified: 09-30-2016, 08:31 AM by m654321.)
		
	 
		@gold_finger  - my apologies for the delay in getting back to you. In reply to your previous post
 Quote:Code: [quote author=gold_finger link=topic=3428.msg26357#msg26357 date=1474551628]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 [i]id[/i] command in both Zorin and LL it shows UID and GID = 1001.  Correct?
 
Yes, that's correct...
 Quote: 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.
 
The output from Lubuntu's terminal is as follows:
 Code: happyfamily@happyfamily-X71Q:~$ awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwdnobody:65534:65534
 happyfamily:1000:1000
 sam-the-editor:1001:1002
 happyfamily@happyfamily-X71Q:~$ awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/group
 nogroup:65534
 happyfamily:1000
 sam:1001
 sam-the-editor:1002
 happyfamily@happyfamily-X71Q:~$
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy  mode on MBR-formatted SSDs (except pi  which uses a micro SDHC card): 
2017 - Raspberry pi 3B  (4cores) ~ [email protected]  - LibreElec , used for upgrading our Samsung TV (excellent for the task)    
2012 - Lenovo G580 2689  (2cores; 4threads] ~ [email protected]  - LL3.8/Win8.1  dual-boot (LL working smoothly)  
2011 - Samsung NP-N145 Plus  (1core; 2threads) ~ Intel Atom [email protected]  - LL 3.8 32-bit  (64-bit too 'laggy')  
2008 - Asus X71Q  (2cores) ~ Intel [email protected]  - LL4.6/Win8.1  dual-boot, LL works fine with kernel 4.15 
2007 - Dell Latitude D630  (2cores) ~ Intel [email protected]  - LL4.6 , works well with kernel 4.4; 4.15 doesn't work
 
	
	
	
		
	Posts: 1,094 
	Threads: 19 
	Joined: Feb 2014
	
 Reputation: 
0 
	
	
		In case anyone was following this, the final answer is here:  https://dfgkh547-jsdfv8.iyhkj.tk/forums/insta...n#msg26511 
	
	
	
		
	Posts: 893 
	Threads: 197 
	Joined: Jul 2014
	
 Reputation: 
0 
	
		
		
		10-08-2016, 01:23 AM 
(This post was last modified: 10-08-2016, 01:30 AM by m654321.)
		
	 
		 (10-08-2016, 12:23 AM)Alan Keno link Wrote:  I apologize ahead of time if I missed the answer, but how might I change the boot order so that Windows is the default?TIA, Alan
 Hi Alan, 
The 'answer' is in the link given by gold_finger in Reply #14, but this addressed a different question to the one you're asking. It looked at creating a 'user account' in Lubuntu.  I suggest you start a separate thread to address the specific question you want answered.  I'm sorry I'm unable to help further but I'm sure you'll find others here who're more than competent enough to help
 
Regards 
Mike.
	 
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy  mode on MBR-formatted SSDs (except pi  which uses a micro SDHC card): 
2017 - Raspberry pi 3B  (4cores) ~ [email protected]  - LibreElec , used for upgrading our Samsung TV (excellent for the task)    
2012 - Lenovo G580 2689  (2cores; 4threads] ~ [email protected]  - LL3.8/Win8.1  dual-boot (LL working smoothly)  
2011 - Samsung NP-N145 Plus  (1core; 2threads) ~ Intel Atom [email protected]  - LL 3.8 32-bit  (64-bit too 'laggy')  
2008 - Asus X71Q  (2cores) ~ Intel [email protected]  - LL4.6/Win8.1  dual-boot, LL works fine with kernel 4.15 
2007 - Dell Latitude D630  (2cores) ~ Intel [email protected]  - LL4.6 , works well with kernel 4.4; 4.15 doesn't work
 |