add administrator user to system


 
Thread Tools Search this Thread
Operating Systems Solaris add administrator user to system
# 8  
Old 10-01-2009
I can do it tanks

You need to do it

if you want to modify user is already in the system you do the next

chmod -l "newuser" "olduser"
passwd "newuser"

cd /etc/ssh
vi sshd_config -> modify the user, add newuser

restart the service

svcs | grep ssh
svcadm restart svc:/network.ssh.default

best regards.
# 9  
Old 10-01-2009
If you have the previous administrator's root password, why not do a "passwd" to change the password then? Isn't it easier? why would you need/like to have 2 root accounts?
# 10  
Old 10-02-2009
I was need it, because tha past administrador had a acount with his name so I was need change for my name or my id and I didnīt know user group, you know how can I search the group for an user?. or how can you add new user in the system?
# 11  
Old 10-02-2009
The only way I know of looking up groups is using the admintool. So try to look for it, and then you can search the group you want.
# 12  
Old 10-02-2009
Another way to display which groups a user belongs to is using the logins command:
Code:
/usr/bin/logins -m

# 13  
Old 10-03-2009
Yesterday I reinstalled my Gentoo and I did something what may help you
Code:
useradd -d /export/home/yourname -m -d /bin/tcsh -g root name

now you simply create password using passwd command

passwd name

and that is that you have new user with root restrictions but is better to modify

/etc/shadow to remove root password and to create a new one Smilie
# 14  
Old 10-05-2009
Tanks Solaris_user, but I have this problem what do you thing, you can see the long is the same first user like second user and I logged in root.

root@admin # useradd -d /export/home/z7895214 -m -d /bin/tcsh -g root z6541236
UX: useradd: z6541236 name too long.
UX: useradd: WARNING: z6541236 has no permissions to use /bin/tcsh.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Becoming a system administrator, need some advice.

I've been learning linux and solaris for the past couple months and have been thinking about seeking a systems admin career. Is it worth it to learn solaris? Do many companies really use it or is it a waste of my time? Would learning just linux be a better idea? I see there's more opportunity as a... (2 Replies)
Discussion started by: austinramsay
2 Replies

2. UNIX for Advanced & Expert Users

Linux System Administrator for a role in CH

Hi guys I hope I will not break any rules and guidelines on the forum with this post. I am Admir, working as a recruiter for execIT Recruitment Zurich, Switzerland. Our client is an urgent need of a linux system administrator/support analyst who has trading floor experience and is eligible... (1 Reply)
Discussion started by: BosAd
1 Replies

3. What is on Your Mind?

Know your System Administrator

Couldn't resist: www.gnu.org/fun/jokes/know.your.sysadmin.html (1 Reply)
Discussion started by: radoulov
1 Replies

4. Shell Programming and Scripting

Shell Scripting for System Administrator

Hello All, If possible can anybody kindly let me know the good shell scripting book for system Administrator. Thanks & Regards, Vinay.K.S (1 Reply)
Discussion started by: vinay_ks
1 Replies

5. Advertise with Us

Needed: Sr. System Administrator

Composite Software, Inc. is hiring! Sr. System Administrator Location: San Mateo, CA REQ: 10-22 Reports to: IT Manager Job Description Composite Software is hiring a full-time System Administrator. The system administrator will be responsible for installing,... (0 Replies)
Discussion started by: Composite SW
0 Replies

6. AIX

Test 223: System p Administrator

Please may you help me with specific study packs, redbooks etc that may help me pass this certification. Also can you advise me the best AIX certification course as I am new to AIX, coming from solaris and networking environments. Thanx (10 Replies)
Discussion started by: Zim-Aix-Guru
10 Replies

7. What is on Your Mind?

I want to become a System Administrator

Has anyone got any advice on how I can get a job as a Unix/Solaris system administrator? My current job is supporting an application that runs on Solaris servers. I have very minimal Solaris/Unix skills but would like to expand on them with the aim of getting a junior sys admin role. I have... (4 Replies)
Discussion started by: Sepia
4 Replies

8. UNIX for Advanced & Expert Users

How to add user on Embedded System

The directions below were provided by someone on the unslung mailing list. unslung is a linux OS for LinkSys's $100 NSLU2 NAS controller. I'm posting the query here because (1) I think it is really a generic linux/unix questions (2) I did not get a response in the unslung mailing list. I... (1 Reply)
Discussion started by: siegfried
1 Replies
Login or Register to Ask a Question