0 Members and 1 Guest are viewing this topic.
I'm not sure why that's happening if you set both to not auto-login. Let it boot into "happyfamily", then logout instead of rebooting. Should then see login screen where you can choose to boot in as either one of you. Choose "sam-the-editor" and login there. Then do shutdown/reboot from that account and see if it still auto-logs-in to "happyfamily".If not solved, you may want to also post question about that on Lubuntu forums in case nobody here knows the answer. I've never used Lubuntu, so not familiar with how there gui may work. Also not sure what setting "sam-the-editor" to "Desktop user" did and whether that may have affected (or not) the settings specified with the command I specified for setting up that user. The whole point of using the command was to get the account setup exactly the same way as in LL. If their defaults for "Desktop user" are not the same as in the command things may have changed.
Yes, everything looks good now.If you didn't set the password for "sam-the-editor" do that following instructions posted before.If you want to reset a new password for "happyfamily" you can either do it through gui program, or with this terminal command when you're logged-in as "happyfamily":Code: [Select]passwdIt will ask you to enter the current password; then enter new password; then enter new one again to confirm it; done.
passwd
Sorry, I forgot the "sudo" in that command. Try again with this:Code: [Select]sudo useradd -m -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare -s /bin/bash sam-the-editorP.s. Will fix it in original post.
sudo useradd -m -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare -s /bin/bash sam-the-editor
happyfamily@happyfamily-X71Q:~$ sudo useradd -m -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare -s /bin/bash sam-the-editor[sudo] password for happyfamily: happyfamily@happyfamily-X71Q:~$ awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwdnobody:65534:65534happyfamily:1000:1000sam-the-editor:1001:1001
Sorry, I didn't forget about you -- have just been tied-up with other things for past few days."sam-the-editor" is showing in both groups 1001 and 1002, but group 1001 is called "sam".Suggest we start fresh, so before we continue, if there is any data saved to home of "sam-the-editor" in Lubuntu, save it off to a USB stick first. (You can copy it back later.)Boot into Lubuntu as "happyfamily" (not sam-the-editor). Open a terminal and enter this command to delete "sam-the-editor" account including respective home files.Code: [Select]sudo userdel --remove sam-the-editorRun this command again to see who shows up as users on computer (with ID# > 1000):Code: [Select]awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwdHopefully you only see:Code: [Select]nobody:65534:65534happyfamily:1000:1000Assuming that went okay, run this command again to see what groups (with ID# > 1000) are still on computer:Code: [Select]awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/groupI'm guessing it will show:Code: [Select]nogroup:65534happyfamily:1000sam:1001
sudo userdel --remove sam-the-editor
awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwd
nobody:65534:65534happyfamily:1000:1000
awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/group
nogroup:65534happyfamily:1000sam:1001
Now create "sam-the-editor" account again and it should end up with UID and GID both being 1001. Here's the command:Code: [Select] useradd -m -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare -s /bin/bash sam-the-editor
useradd -m -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare -s /bin/bash sam-the-editor
happyfamily@happyfamily-X71Q:~$ useradd -m -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare -s /bin/bash sam-the-editoruseradd: Permission denied.useradd: cannot lock /etc/passwd; try again later.happyfamily@happyfamily-X71Q:~$
sudo groupdel sam
sudo passwd sam-the-editor
happyfamily@happyfamily-X71Q:~$ awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwdnobody:65534:65534happyfamily:1000:1000sam-the-editor:1001:1002happyfamily@happyfamily-X71Q:~$ awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/groupnogroup:65534happyfamily:1000sam:1001sam-the-editor:1002happyfamily@happyfamily-X71Q:~$