Default users group setup
So I messed with something I probably shouldn't have messed with and now I'm paying the price. if someone using slackware (to be sure groups are the right groups) how can I put my groups back to the default I tried adding myself to video group for my normal user but I did both
usermod -G video shawn along with usermod -a -G video shawn from what I can tell users in the group I should be using primarily so i went back and did usermod -G users shawn I'm sure video isn't part of my groups and I added that manually but can't seem to get rid of it now I don't need it anymore. How can I get back to the default group setup in every way I ruined it I'm assuming I have my primary group back to normal but maybe I'm wrong. I just need to get things back to normal if possible if I must I will just update all my files and redo the system but thats all I've done that would effect my groups that i haven't for sure put back to normal. I tried editing /etc/group and taking my name off video but i'm still in video group but before today mplayer couldn't access my soundcard because alsa but now it can since I given myself permission to video i can access alsa and don't know how to reverse all of this |
Here is the groups my user belongs to.
Quote:
What 'problems' are you having that you think are group related? |
Code:
# usermod -g users shawn |
If it was me, I would tar.gz all your used data in a temp dir, delete the user with deluser, recreate the user with adduser making sure you add yourself to _all_ additional groups, restore data from the archive. I think this is also a good way to get rid of clutter.
|
I've reinstalled my OS to fix the issue and also have fixed many other issues I was having at the same time guys so I'm all good now on this issue.
|
Quote:
So, I hope you get my drift here. :) Cause I am here to tell you, you will get tired of re-installing just to fix stuff you "shouldn't have messed with". |
haha I'm working on writing a backup script taking sometime but i'm getting there but i do have a backup currently don't worry :P I decided I needed to start doing that :P
|
Yeah,
I had to restrain myself from flaming the hell out of you. :tisk: "Help!..." said the poster. "Restore from backup...", I urged. "I have no backups...", he replied. "Now you have two problems." nuff said. Peace! |
haha Yeah I know :P I made a backup :P NOW
|
All times are GMT -5. The time now is 11:42 PM. |