![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Guest
Posts: n/a
OS:
|
Hi to all,
I am in bad trouble; getting to know an OS is trying things... I tried this morning things in the "Users & Groups", and removed myself from groups that I - obviously - need... I don't even see the "Users & Groups" any longer in the system maintenance menu. I still have root access through the console, but I wasn't able to find out how to get myself back in the groups that I need... If anyone knows... please help me out of this... Life is a bit "limited" now!
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
|
Re: Removed myself from groups that I need (Ubuntu)
Hi Richard,
To see what groups you are in open a terminal and run the command Code:
sudo more /etc/group Code:
sudo usermod -g <group_name> <user_name> Code:
sudo usermod -g admin mike
|
|
|
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
OS:
|
Hi Mike,
Two important commands learned today: the first one to list the groups and their members (which was a few times very useful), and the "usermod" command; although I used it a bit different: Code:
sudo usermod -a -G admin richard The usermod command as given in your reply didn't seem to give any results, the list command still showed the 'admin' group empty. Another important lesson learned: Make sure you have an 'admin' backup user when 'fiddling around'!!! Thank you very much for the assistance!!! |
|
|
|
#4 (permalink) |
|
Registered User
|
Re: Removed myself from groups that I need (Ubuntu)
The file only shows your secondary groups when added through the GUI, this file "/etc/group" can also be edited directly by entering the the user at the end of the line for each group you want that user to becom a member of.
Another good forum fo you to join would be HTML Code:
http://ubuntuforums.org
__________________
----------------------------------------------- Ensure you are making mistakes... Its the only way you will learn!!!!! ----------------------------------------------- |
|
|
|
|
|
#5 (permalink) |
|
Guest
Posts: n/a
OS:
|
Re: Removed myself from groups that I need (Ubuntu)
Hi Mike,
Thanks for the suggestion about the 'groups' file, I'll keep that in mind. I will join the Ubuntu forum tonight, I am now in a kind of a hurry! Hey, I like the signature, may snatch it
|
|
![]() |
| Thread Tools | |
|
|