Solved

Creating a New group in Solaris without Editing Group file

Posted on 2001-07-26
3
281 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

691 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