[GLLUG] Little help please

Richard Houser rick at divinesymphony.net
Wed Nov 30 16:34:40 EST 2011


Add a dummy account, copy the default groups, then remove the account.  Do
not directly edit /etc/groups on a modern system as that can hose shadow
group files, etc.  Ben, your command was just missing the -a.
On Nov 30, 2011 2:38 PM, "Marshal Newrock" <marshal at zordio.com> wrote:
>
> 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
>
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://mailman.egr.msu.edu/mailman/listinfo/linux-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.egr.msu.edu/mailman/public/linux-user/attachments/20111130/15eb2e63/attachment.html>


More information about the linux-user mailing list