09-21-2016, 03:41 PM
(This post was last modified: 09-21-2016, 04:46 PM by gold_finger.)
It's generally frowned upon to create usernames with capital letters -- they're supposed to be composed of lowercase letters, numbers, and I believe you can also have "-" and "_" characters also. Honestly, I don't know if using capital letters in the username will eventually cause some kind of problem. If someone else knows the answer to that please chime in here.
If your son hasn't already done a lot of customizing of the LL system, you may want to consider deleting the "SamTheEditor" user and creating a new one with "sam-the-editor" instead. (Or "samtheeditor", "sam_the_editor", etc.) (EDIT: Please see trinidad's post below warning about potential problems with using caps in the username. It would definitely be best to re-create your son's LL username to one with no caps. Copy off anything he wants saved in his home folder, delete the "SamTheEditor" account and it's home folder/files, make new one with no caps, copy back saved data into new home.)
I'll give instructions using "SamTheEditor" because that is what you've already got setup in LL.
In Lubuntu, this will create the new user and his home folders (on his first login):
You'll be prompted to enter a password for the user. Then it will ask if you want to set other user info (eg. full name, phone #, etc.). You can just hit <ENTER> at each of the info prompts to leave blank if you don't want to fill them in.
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.)
Assuming correct UID and GID of 1001 shows above, use this command to add him to the other groups (matching what you did in LL):
(NOTE: there are no spaces in the comma-separated list of groups.)
P.s. If you do decide to delete "SamTheEditor" from LL and replace with new username, use same commands listed above for Lubuntu but you can drop the "--force-badname" part of the first command.
If your son hasn't already done a lot of customizing of the LL system, you may want to consider deleting the "SamTheEditor" user and creating a new one with "sam-the-editor" instead. (Or "samtheeditor", "sam_the_editor", etc.) (EDIT: Please see trinidad's post below warning about potential problems with using caps in the username. It would definitely be best to re-create your son's LL username to one with no caps. Copy off anything he wants saved in his home folder, delete the "SamTheEditor" account and it's home folder/files, make new one with no caps, copy back saved data into new home.)
I'll give instructions using "SamTheEditor" because that is what you've already got setup in LL.
In Lubuntu, this will create the new user and his home folders (on his first login):
Code:
sudo adduser --force-badname SamTheEditor
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.)
Code:
id SamTheEditor
Assuming correct UID and GID of 1001 shows above, use this command to add him to the other groups (matching what you did in LL):
Code:
sudo usermod -a -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare SamTheEditor
P.s. If you do decide to delete "SamTheEditor" from LL and replace with new username, use same commands listed above for Lubuntu but you can drop the "--force-badname" part of the first command.
Try Linux Beginner Search Engine for answers to Linux questions.