[GLLUG] Little help please
Clay Dowling
clay at lazarusid.com
Wed Nov 30 14:08:56 EST 2011
On 11/30/11 11:58 AM, Ben Chavez wrote:
> Hi Linux Users.
> I would appreciate an advice, my problem started when I was trying to add my
> user to a new group. The command I issued was usermod -G groupname username.
> However the usermod -G removed my user from the all other groups I was in,
> as result when I type my login info I am not able to access anything. I
> would like to issue the command again but I am not sure what is the syntax I
> should be typing to gain full access to everything again.
> I will appreciate your help. Thank you in advance.
I don't have my box in front of me at the moment, so I'm not sure what
groups you should be a member of on a typical Linux box.
In the future, however, you should just edit /etc/groups to add yourself
to a group. It's usually safer.
Clay
More information about the linux-user
mailing list