Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to create user and groups in solaris 10 in gui mode

Posted on 2006-11-10
3
Medium Priority
?
23,677 Views
Last Modified: 2013-12-21
hi there
i am trying to create user in solaris 10 but i cant find GUI tool to create
like in solaris 9 i seen administrative tool but in solaris 10 i cant find the option to create in GUI mode

through note  i know so far is
firs i need to create a group then a user in that group

command is
groupadd -g 200 accounting
where -g means groupid which is  200( why 200 ?)
then  i being told is
0-60000  for groups
0-99 - reserved for OS
100-60000 -can be used to create groups

can any one explain me clear what that number are . and they really important .

if possible compare with window users . it will give me a good idea.
and the excat commands so that i use same for rest of the time

thanks very much
0
Comment
Question by:javeedabdul
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 800 total points
ID: 17927407
In Solaris 10, you can use Solaris Management Console (GUI):

/usr/sadm/bin/smc &

to add user or group, or perform other task,

Please read the Sun doc:
http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5lc?a=view

the Full doc:
http://docs.sun.com/app/docs/doc/817-1985

other Solaris 10 docs: (you can download thr PDF files)
http://docs.sun.com/app/docs/coll/47.16

>>where -g means groupid which is  200( why 200 ?)

the syntax for groupadd is:
/usr/sbin/groupadd [-g gid [-o]] group
man groupadd to learn more details

200 is the GID, you need you have a look at /etc/group file to make sure 200 is available for you.

you can also do:
groupadd accounting

the system will automatically give you a valid group id.


0
 
LVL 6

Author Comment

by:javeedabdul
ID: 17931215
what is the procedure now

do i need to create user first or do i need to create group

are these same to compare with windows
like we create user1,2,3,4,5 ----  and give profile (sales)

in windows to my knowledge (sales) is a profile which is assigned to user1 2 3 4 ---
if iam rong correct me

in the same way in solaris 10 do i need to create group(sales)
and then assign user to that group

what if i create every user1 in a new group
u1-g1
u2-g2
and go on

or do i need to make my mind to create group first and then assign into the users

can you please explain. in briefly
0
 
LVL 38

Expert Comment

by:yuzh
ID: 17935231
You need to create the group, before you can add newer users to that group, does it make sense to you?

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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
Course of the Month11 days, 8 hours left to enroll

916 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