creating a new unix user account


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers creating a new unix user account
# 1  
Old 12-11-2006
creating a new unix user account

Smilie Hi guis,
I would like to Know how to create a new user account with examples.
I refered some books ,but they r not clear.
Can any body of u provide me a shell script to create a new user account.


any help pls Smilie





cheers
Ravi Raj Kumar
# 2  
Old 12-11-2006
The O/S might help us here!!!!
# 3  
Old 12-11-2006
well,
I know that we can create by using "useradd" command.But i want it to be done by a shell script.









cheers
Ravi raj kumar
# 4  
Old 12-11-2006
First of all I would recommend you to read the rules of these forums, specially Rule # 9 which states
Quote:
(9) Edit your posts if you see spelling or grammar errors (don't write in cyberchat or cyberpunk style). English only.
Secondaly, I would ask the same question which johnf has asked you earlier, i.e. which OS?
# 5  
Old 12-11-2006
Smilie
hi,
Thank you for your kind recommendation.
I am using SCO unix.












cheers
Ravi Raj Kumar
# 6  
Old 12-11-2006
why don't you try to merge all the questions that you have in one post ? I got confused when surfing through the threads.
Script ? Hm.. useradd is script. On most Unix system is interactive :
HTML Code:
useradd ravi 
Please choose home dir :
etc.....otherwise use man useradd and see the available options, put them in simple shell script and call it.
My point is that there are many ways to do it ( more than one "Perl" Smilie ) so use the freedom that UNIX gives to explore, search, try, fail, try again, read the man, etc. That's the most exciting part of *X
# 7  
Old 12-15-2006
A a superuser, use the 'scoadmin' command, then select 'account manager', Select 'Add new user' under the 'User' tab.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Creating user account in Solaris

Hi I need to create a new user account in salaries. Can anyone tell me the cmd to create the new user acc. But the main thing is it should same permissions ,same group etc of already existing group. For example we have already one user in name “comp” so the newly created user should also have... (3 Replies)
Discussion started by: kkalyan
3 Replies

2. Solaris

Creating User account with limited permission

Hi All, I want to create an user account which can only excute "df -kh" and "prstat -a" command. The user will not be able to perform "rm" and other critical commands. Is there a way to do it? rgds, Ronny (2 Replies)
Discussion started by: ronny_nch
2 Replies

3. Programming

Creating email account prgramatically + java ?

Dear Friend, I am working on java application which requires that after successful registration an email account is created (say username@mydomain.com) for user. Is is possible to create e-mail account programatically ? Enviornment - CentOs, Tomcat Web server. CPanel is available, but... (0 Replies)
Discussion started by: reckless_jack
0 Replies

4. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

5. UNIX for Dummies Questions & Answers

Creating a new account

Hi How do I create a new account with a specific group and home directory specified? TIA (2 Replies)
Discussion started by: domburf69
2 Replies

6. UNIX for Dummies Questions & Answers

UNIX user account craziness!

Hi! I'm new here so please let me know if this topic is in the wrong place. I have very little experience with UNIX systems, but my father has one running on his PC at work which he uses to browse through old reports related to his work. The PC is rather old (in computer years :) ) I think he... (3 Replies)
Discussion started by: GIJane
3 Replies

7. UNIX for Dummies Questions & Answers

creating admin account

does any know how I can create more admin login accounts in unix? would there be a file somewhere that would have a list of these accounts? thanks, gammaman (3 Replies)
Discussion started by: gammaman
3 Replies

8. Post Here to Contact Site Administrators and Moderators

Error creating new account

I tried to create an account, user name Ralph.Armstrong using my corporate e-mail address. Unfortunately, I think my company's e-mail server must have blocked the confirming e-mail because I never got it. I then created another account, user name Ralph Armstrong using my personnal e-mail... (0 Replies)
Discussion started by: Ralph Armstrong
0 Replies

9. UNIX for Dummies Questions & Answers

Creating a manager account

Dear All, This is my first post, so greetings to you all! :cool: I have root access to a UNIX system, yet I would like to be able to create user accounts with special privileges and roles such i.e. a User Manager account a Print Manager Account or even an account with the same roles and... (2 Replies)
Discussion started by: neked
2 Replies

10. UNIX for Advanced & Expert Users

Creating a 'catchall' account in Sendmail

Is there any way of creating a 'catchall' or a default account that all undelivered mail can go to ? eg if we have 3 user accounts (user1, user2, admin) already set up, but someone sends an email to user3@mydomain.com, can sendmail figure out that it doesn't match any existing users and deliver... (6 Replies)
Discussion started by: captainash
6 Replies
Login or Register to Ask a Question