User creation problem


 
Thread Tools Search this Thread
Operating Systems AIX User creation problem
# 1  
Old 07-19-2010
MySQL User creation problem

Hi,

I am getting tired in creating several users in a day. Can anyone have a script to create several users in the same server, as well as, to create one user in several servers.

where i have to put script and how to run the script.

Waiting for your reply.

Thanks in advance
# 2  
Old 07-19-2010
To create several users on a system, create one in smit and then use F6 before you commit / hit enter to see the command so you can script it.

If you want do do this for several systems then let us know what tools you have that can do this like ldap, nis, rsh, Etc.

Last edited by dukessd; 07-19-2010 at 08:41 PM.. Reason: added rsh
This User Gave Thanks to dukessd For This Post:
# 3  
Old 07-19-2010
create one in smit and then use F6 before you commit / hit enter to see the command for script.. where do i put this script..can u elaborate it..
# 4  
Old 07-20-2010
I usually place my scripts in /usr/local/bin then create an alias to execute it from any directory.
# 5  
Old 07-20-2010
can you give the script.. and how to set alias to execute the same from any directory..

Can you explain in step by step..Please...
# 6  
Old 07-21-2010
I don't have a script to set up users, but here is an example of using the alias command
Code:
alias lawobjmv="perl /lsf1/law/logan/edi_bin/lawobjmv"

You would place it in your .profile file in your home directory. Also do man alias to get more information on how to use it and how it works. Good luck.
This User Gave Thanks to jyoung For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

User creation - query

Hi, I want to create a user using useradd -m test. How can I restric the user not to change his directory from his home dir? Thanks, Suresh (2 Replies)
Discussion started by: suresh3566
2 Replies

2. Solaris

NIS user creation

Hi can anyone help me how to create a NIS user by editing the files like Passwd,group, Netgroup,auto.home and Aliases using the "enis" utility? Please do the needful................................ (4 Replies)
Discussion started by: Revathi@1
4 Replies

3. AIX

User creation

hi seniors i want to create the users like when the user try to login it should not should not promt for passwd is it possible to create users like this please help me (6 Replies)
Discussion started by: senmak
6 Replies

4. Solaris

Need help with user creation

Hello guys, i have a problem where i cant create a user and here some problem that i encounter. 1. /etc/passwd seems locked. 2. getting this error UX: useradd: ERROR: Cannot update system files - login cannot be created. # useradd -u 47367 -g 1084 -c "user123" -d /local/home/user123 -s... (2 Replies)
Discussion started by: brew
2 Replies

5. Red Hat

User creation

Hi Thanks in advance. How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies

6. Solaris

Reg user creation

I created a user in my Solaris box , but after creating am not able to login with that user name . Can anyone tell me that i have to change any files for enabling the login. (2 Replies)
Discussion started by: rogerben
2 Replies

7. Solaris

User Creation

i am trying to create a user on solaris 10. it is not taking user name with more than ten characters. which file i need to edit to do this setting. (4 Replies)
Discussion started by: raynu.sharma
4 Replies

8. AIX

User ID creation date

Dear All, I'd like to know is there any way to determine when a user id created in AIX? Thanks, Istvan (2 Replies)
Discussion started by: istvan.banai
2 Replies

9. Solaris

User creation

Hi all, I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin. Name for the user Tivoli Thanks & Regards Babu (7 Replies)
Discussion started by: lbreddy
7 Replies

10. UNIX for Dummies Questions & Answers

user creation problem

hello, Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux). I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Discussion started by: jarkvarma
1 Replies
Login or Register to Ask a Question