how to add user


 
Thread Tools Search this Thread
Operating Systems Solaris how to add user
# 1  
Old 05-03-2006
how to add user

hey...I am new in solaris...so how can I add user on my sun solaris system I have root user I would like one more user similar to root...as I understand root is super user...how can I do that I know that there is useradd command but can anyone give me an example...

thanks,

cheers,
# 2  
Old 05-03-2006
It's hard to understand your English. I think your asking if you can create another user like root. The answer is yes.

As root:

1. useradd -u 0 -g 1 -c "Another Super-User" - s /bin/ksh root1
2. passwd root1

/etc/passwd file should have an entry like this below

root1:x:0:1:Another Super-User:/:/bin/ksh

-X
# 3  
Old 05-03-2006
Of course, just because something can be done, doesn't mean it should. This would be a security concern on most servers. Suggest you create a normal user that has su privs or put the new user in the wheel group (there are other options also - but without knowing what version of Solaris...)
# 4  
Old 05-04-2006
thanks my friends...Smilie I was not sure that this was a way of adding new user...

Thanks a lot..

cheers,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Add a user with no password

I want to add a user like below in Linux. Please assist Below is the information from /etc/passwd file ---------- Post updated at 02:04 PM ---------- Previous update was at 10:05 AM ---------- Not sure why there is X in shadow file (6 Replies)
Discussion started by: prash358
6 Replies

2. Red Hat

User add problem

I could not create the user name with the number infront of... useradd 8siva useradd: Invalid account name `8siva' (3 Replies)
Discussion started by: gsiva
3 Replies

3. UNIX for Dummies Questions & Answers

User Add and Rights

Dears, I want to add a user and give him rights only for a spesific folder and take the files via ftp. The user shouldn't see the other files above or belov his folder. lets say I have "user". my directories: /a /b/d /c when I connect to the system I want this "user" to connect... (3 Replies)
Discussion started by: hubatuwang
3 Replies

4. Homework & Coursework Questions

Help on Add User Scripts

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: for each user Create a account formatted as last name first initial. Example (southerm) Ensure no... (0 Replies)
Discussion started by: moosemd
0 Replies

5. UNIX for Dummies Questions & Answers

Add new User in Unix ?!

Hello Experts, Guide me how to add new users (user id , passwd) in unix/Linux with different privileges like --> 1> It can be accessible by telnet (or where i should check/change to give different privileges like telnet or ssh2 or FTP) 2> can run only 1 command / script (2 Replies)
Discussion started by: darshak
2 Replies

6. UNIX for Advanced & Expert Users

Add User Problem

Hi all, I got a preconfigured Debian 4 (etch) box. When I add a user, it tells me it added and I can "su" as a new user but I can't login with it through SSH, SFTP, etc. Why? Thanks for your help. (30 Replies)
Discussion started by: mjdousti
30 Replies

7. AIX

Add user with restiction

Hi, I have created a directory and chown it to a group "test". I want to create a user with smit user and attribute to this user access only to this directory. Is this possible? Thanks. (6 Replies)
Discussion started by: simo
6 Replies

8. UNIX for Dummies Questions & Answers

add user

hi ..m new to linux..i want to know d shell script to add new user to the system without using adduser command.. (1 Reply)
Discussion started by: jaini
1 Replies

9. UNIX for Dummies Questions & Answers

add user from web

I am trying to figure out how to add a user from the web (w/ PHP or PERL): is it possible? (2 Replies)
Discussion started by: ryanroth
2 Replies

10. UNIX for Dummies Questions & Answers

Add User and Password

hello i have some probelm in the Unix Sun system ....so anyone can u help me how to sovle the problem : 1.how to add the user name and password. 2.list out the command.. Thank You (1 Reply)
Discussion started by: alan thui
1 Replies
Login or Register to Ask a Question