[GLLUG] Little help please

Ben Chavez ebcha1974 at hotmail.com
Thu Dec 1 13:03:58 EST 2011


Thank you for all the advices. It is working now. I really appreciate it. 

-----Original Message-----
From: linux-user-bounces at egr.msu.edu [mailto:linux-user-bounces at egr.msu.edu]
On Behalf Of linux-user-request at egr.msu.edu
Sent: Thursday, December 01, 2011 12:00PM
To: linux-user at egr.msu.edu
Subject: linux-user Digest, Vol 104, Issue 1

Send linux-user mailing list submissions to
	linux-user at egr.msu.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.egr.msu.edu/mailman/listinfo/linux-user
or, via email, send a message with subject or body 'help' to
	linux-user-request at egr.msu.edu

You can reach the person managing the list at
	linux-user-owner at egr.msu.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of linux-user digest..."


Today's Topics:

   1. Re: Little help please (Clay Dowling)
   2. Re: Little help please (Marshal Newrock)
   3. Re: Little help please (Richard Houser)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Nov 2011 14:08:56 -0500
From: Clay Dowling <clay at lazarusid.com>
To: linux-user at egr.msu.edu
Subject: Re: [GLLUG] Little help please
Message-ID: <4ED67F48.7090700 at lazarusid.com>
Content-Type: text/plain; charset=ISO-8859-1

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


------------------------------

Message: 2
Date: Wed, 30 Nov 2011 14:38:25 -0500
From: Marshal Newrock <marshal at zordio.com>
To: linux-user at egr.msu.edu
Subject: Re: [GLLUG] Little help please
Message-ID: <20111130143825.69cf9965 at isis>
Content-Type: text/plain; charset="us-ascii"

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/d
35bff98/attachment-0001.bin>

------------------------------

Message: 3
Date: Wed, 30 Nov 2011 16:34:40 -0500
From: Richard Houser <rick at divinesymphony.net>
To: Marshal Newrock <marshal at zordio.com>
Cc: linux-user at egr.msu.edu
Subject: Re: [GLLUG] Little help please
Message-ID:
	<CABFj=bR4u8fzHxpi3AbefyahTcGLM3efy3=NSRE0pdtTK2a6nw at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

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/1
5eb2e63/attachment-0001.html>

------------------------------

_______________________________________________
linux-user mailing list
linux-user at egr.msu.edu
http://mailman.egr.msu.edu/mailman/listinfo/linux-user


End of linux-user Digest, Vol 104, Issue 1
******************************************



More information about the linux-user mailing list