LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 03-04-2011, 10:38 AM   #1
rcforster
LQ Newbie
 
Registered: Mar 2011
Location: Northen Virginia
Posts: 5

Rep: Reputation: 0
Adding a new user to Solaris 9 so that this user can ssh into the server


When trying to add the new user to Solaris 9 it continues to state that I am using the wrong options or options incorrectly, what do I need to type when I try to add a new user to the server, so that the new user can have the ability to login to the server through ssh remotely?
 
Old 03-04-2011, 10:39 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,598

Rep: Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516
It sounds like you are using the command incorrectly. Since you didn't tell us exactly what you ran, here's the usage (see also "man useradd"):

Code:
usage:  useradd [-u uid [-o] | -g group | -G group[[,group]...] | -d dir |
                -s shell | -c comment | -m [-k skel_dir] | -f inactive |
                -e expire | -A authorization [, authorization ...] |
                -P profile [, profile ...] | -R role [, role ...]]
                -p project [, project ...] login
Example:
Code:
useradd -d /home/rcforster -m -c "R.C. Forster" rcforster
 
1 members found this post helpful.
Old 03-14-2011, 06:10 AM   #3
rcforster
LQ Newbie
 
Registered: Mar 2011
Location: Northen Virginia
Posts: 5

Original Poster
Rep: Reputation: 0
AlucardZero,
Yes, this is exactly what I was trying to accomplish, this post helped me better understand how to add certain types of users to the server for certain types of roles they play on the network and the permissions they will need, thank you for the post. I am new when is comes to UNIX as you can tell, but would like to learn how to run the entire network from the UNIX based side, for I have always expressed interest but never have followed through.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding new user in NIS server and Client amit11rhce Linux - Server 7 05-02-2010 04:16 AM
adding LDAP user in server rmugunthan Red Hat 1 03-02-2010 03:04 AM
adding a user to ssh icedfusion Linux - Newbie 3 04-10-2008 08:43 PM
SSH adding user Mojosue Linux - Software 8 02-10-2005 06:41 AM
Adding a new user in Solaris zaicheke Solaris / OpenSolaris 5 10-24-2004 01:04 PM


All times are GMT -5. The time now is 01:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration