The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Achieving group by logic via Unix sureshg_sampat Shell Programming and Scripting 5 09-04-2007 03:03 AM
Monkcast #12: IBM HW group OEMs Solaris to chagrin of SW group & a ... - ZDNet.com bl iBot UNIX and Linux RSS News 0 08-17-2007 01:30 PM
How Can I Create A Volume Group With Two Hard Disks On Hp-ux C-3750 bala_mes HP-UX 5 07-07-2007 07:25 PM
Unable to create a group m223464 AIX 0 10-10-2006 06:44 AM
listing members of a unix group ovaska UNIX for Dummies Questions & Answers 2 03-09-2005 02:54 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-09-2007
Registered User
 

Join Date: Sep 2007
Location: singapore
Posts: 30
create group in unix

Hi,

I want to create group in unix. what is the command?

how to create a group and add a user into that group?


Thanks in advance
Reply With Quote
Forum Sponsor
  #2  
Old 12-09-2007
encrypted's Avatar
Registered User
 

Join Date: Feb 2004
Location: Oslo, Norway
Posts: 218
groupadd somegroup
useradd -g somegroup -<other_options> username
Reply With Quote
  #3  
Old 12-10-2007
Read Only
 

Join Date: Nov 2007
Posts: 165
I'd say:

groupadd -g SOMEGID somegroup
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0