[GLLUG] Little help please

Marshal Newrock marshal at zordio.com
Wed Nov 30 14:38:25 EST 2011


On Wed, 30 Nov 2011 14:08:56 -0500
Clay Dowling <clay at lazarusid.com> wrote:

> 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.

Even better is using gpasswd, eg 'gpasswd -a user group' to add a user
to a group.

Probably you have a group with the same name as your username that you
need to belong to.  In addition, on my computer, 'groups' tell me:
cdrom floppy sudo audio dip video plugdev netdev fuse

Marshal

-- 
Marshal Newrock
Zordio, LLC - http://www.zordio.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mailman.egr.msu.edu/mailman/public/linux-user/attachments/20111130/d35bff98/attachment.bin>


More information about the linux-user mailing list