Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, that's odd, because the user who "doesn't connect" is a member of more groups than the one who can. If you are sure you have this the right way round, read on.
jim3744harp (who can use the net) is a member of the group admin and barb10jim09 is not.
So we can try adding barb10jim09 to the group admin like this:
Make sure barb10jim09 is not logged in
Login as jim3744harp
Give this command in a terminal
Code:
sudo usermod -aG admin barb10jim09
You'll have to give jim3744harp's password.
Now login as barb10jim09 and see if the network works any better.
As an aside, can the user jim3744harp use the sound device? Because he is not a member of the audio group.
I don't understand how your default groups got to be messed up like this.
I tried your instructions several times without the expected result. Tried it with double spaces between the commands, which looks to be correct, also tried single spaces in case I was misreading something. Tried exiting on the next line after entering the commands, tried it without exiting. Every trial showed disconnected-offline.
Here is the return after logging in as barb10jim09and running groups in a terminal, it appears admin has been added, but still no connection.
barb10jim09@jim:~$ groups
barb10jim09 adm dialout fax cdrom tape audio video plugdev fuse netdev admin
barb10jim09@jim:~$
No the sound device was not working, at least when I tried to play a you tube I got no sound. That was to be the next project, but looks like it is part of this one.
I don't know how the mixup happened either. so far as I know all I did was enter the first user and after getting it connected, add the second one. It's easy to see that I don't know much about it, I have only been working with Ubuntu since last Tuesday, at least I learned how to open a terminal today.
Do you think it's time to remove one or both of the users and start over? I'll not try that without a go ahead from someone who knows the subject. I certainly appreciate your trying to help.
I tried your instructions several times without the expected result. Tried it with double spaces between the commands, which looks to be correct, also tried single spaces in case I was misreading something.
The number of spaces don't matter, I just double spaced the command so you'd notice the spaces.
Technically, it did work, because barb10jim09 is now a member of the admin group, but that hasn't solved your problems.
Quote:
Do you think it's time to remove one or both of the users and start over?
I think it is time for a re-install. It's easy to mess things up when you are just starting with linux. I think I needed three reinstalls in my first week because I kept playing (& learning!) until I broke it.
Plug everything in (router, printer etc) and turn it all on. Reboot from your CD and reinstall.
Once you have done that, the first thing it'll want to do is fetch updates - let it, then reboot, then add your other users and start configuring things.
Remember the first user registered will have admin and sudo privileges, the rest will have the privileges you assign them when you create each additional user, so take care with these.
On my 'buntu systems, (6.06, 8.4) the network comes up at boot, and all users can use it. I don't have to turn the network on, it's just there as long as my ethernet cable is plugged in.
Ok I reinstalled and updated, entered a single user with an easier login name. I ran groups and got about the same list as on the first install, the only difference was the addition of lpadmin. I have no ides what most of these are for.
Using sudo I added audio and video, then installed adobe flash player, I now have sound and video. Here is the latest groups report.
jim@jim-desktop:~$ groups
jim adm dialout cdrom audio video plugdev lpadmin admin sambashare
jim@jim-desktop:~
My searches have failed to find a list of commands and what they do. could someone help me with that. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.