Solved

create user in 2.4

Posted on 2002-06-24
4
227 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
[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
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

622 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