Solved

create user in 2.4

Posted on 2002-06-24
4
222 Views
Last Modified: 2013-12-27
HI...

 A)how to create user in Solaris
2.4 and assignit to staff group.
if possible , teach me to
create using;
1) command line
2) GUI

 b)What are the limitation of staff group.

 appreciate any helps.

 tq

 
0
Comment
Question by:maliksl4141
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 20 total points
ID: 7106404
You need to login as "root" or su as root, to do the job

1.use command line command "useradd" command to add user:
NAME
     useradd - administer a new user login on the system

SYNOPSIS
     useradd  [ -c comment ]   [  -d dir  ]   [  -e expire  ]   [
     -f inactive ]  [ -g group ]  [ -G group  [ , group ...  ]  ]
     [ -m  [ -k skel_dir ]  ]  [ -u uid  [ -o ]  ]  [ -s shell  ]
     login

     useradd -D  [ -b base_dir ]  [ -e expire ]  [ -f inactive  ]
     [ -g group ]

  do a "man useradd" to findout more details.

2. GUI tool:"admintool"

   type: admintool & <enter>
   to bring up the admintool, default is going to the user manger window,
   click on menu bar Edit, choose add, then fill up the information about the new user.
   then ok, and click on [FILE], exit to exit from the admintool.



0
 
LVL 1

Expert Comment

by:m4rc
ID: 7150384
a common problem with ppl creating users from the command line at first is that they do not create the user's home directory.  this is a pet peeve of mine.  using the -m flag will create the directory.

the -s can set your shell to something more friendly, like bash
ex.

# useradd -d /export/home/marc -m -s /usr/local/bin/bash marc

then dont forget to set the password for the account

# passwd marc
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7540039

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- Answered by: yuzh

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
0
 

Expert Comment

by:modulo
ID: 7590964
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 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…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now