[Ilugc] One Day One GNU/Linux Command (GROUPADD)

  • From: knura@xxxxxxxxx (Arun Khan)
  • Date: Tue Aug 19 09:01:41 2008

On Tuesday 19 Aug 2008, Ramprasad Rajendran wrote:

On Mon, 18 Aug 2008, Kenneth Gonsalves wrote:
 > > groupadd -- Create a new group
 >
 > can you add a user to more than one group? if so how?

# usermod -G grp1,grp2,grp3  user

or one can use gpasswd too.

or editing /etc/group

yes, but if and only if you know exactly the changes to be made.  the 
preferred method would be to use the utils included in the system.

-- 
Arun Khan

Other related posts: