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
(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-editor
uid=1001(sam-the-editor) gid=1002(sam-the-editor) groups=1002(sam-the-editor)
happyfamily@happyfamily-X71Q:~$
mike
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.
@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/passwd
nobody: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:~$
(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.