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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 08-16-2007, 06:40 AM   #1 (permalink)
RichardIII
Guest
 
Posts: n/a
OS:


Exclamation Removed myself from groups that I need (Ubuntu)

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!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 08-16-2007, 06:48 AM   #2 (permalink)
Registered User
 
Join Date: Aug 2007
Location: North West England
Posts: 8
OS: Ubuntu/SuSE/XP/Solaris 10


Send a message via MSN to mike.lamb Send a message via Skype™ to mike.lamb
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
This will display all groups on your computer..... When you can see the groups that you whish to be a member of run this command.
Code:
sudo usermod -g <group_name> <user_name>
e.g.
Code:
sudo usermod -g admin mike
Hope this helps
mike.lamb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-16-2007, 07:50 AM   #3 (permalink)
RichardIII
Guest
 
Posts: n/a
OS:


Grin Re: Removed myself from groups that I need (Ubuntu)

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
Which did the trick; log off, log on and all is back to normal!

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!!!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-16-2007, 08:03 AM   #4 (permalink)
Registered User
 
Join Date: Aug 2007
Location: North West England
Posts: 8
OS: Ubuntu/SuSE/XP/Solaris 10


Send a message via MSN to mike.lamb Send a message via Skype™ to mike.lamb
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!!!!!
-----------------------------------------------
mike.lamb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-16-2007, 11:00 AM   #5 (permalink)
RichardIII
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
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 01:57 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85