Solved

Creating a New group in Solaris without Editing Group file

Posted on 2001-07-26
3
280 Views
Last Modified: 2013-12-05
How do you create a new group not user in the etc/group
file without editing and saving the file. Can u do this via the usermod utility or another command line utility.

Have a group I want to create called release to add to the group file.

How would u do this on Solaris via the comman line using a utility.

thanks in advance.

0
Comment
Question by:zipdog44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 50 total points
ID: 6325656
Hi zipdog44,

   You must do this as root.

   you can use a text editor to edit the /etc/group file or:

   type in :

   echo "Group-Name:Group-ID:Members" >> /etc/group

    or,

    type in : admintool <Enter>
    to bring up the adm window to do it.

Regards
   yuzh
0
 
LVL 3

Expert Comment

by:tdaoud
ID: 6325932

On Linux there is a command called "groupadd", I'm not sure if you have the same command on Solaris, but do check.

Tarik
0
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 6326812
Yes, groupadd is on Solaris too.

/usr/sbin/groupadd  [ -g gid  [ -o ]  ] group

-o allows you to reuse an existing GID.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Write an app 10 77
Python Assistance 7 96
Wrap Oraccle SQL*Plus executable Command 4 104
Testing site for http code 200 or curl equiv for Windows 2 90
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question