HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL
SHELL SCRIPT?

Answer Posted / pitambar mishra

My dear friends,
you have used 'useradd' command in the script through which we can only add the user name. But for adding password you should use 'passwd' command because password is also mandatory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by $1 in shell script?

628


Print the 10th line without using tail and head command.

1786


How to open a read-only file in the shell?

720


What is the syntax of "nested if statement" in shell scripting?

703


Explain about shebang?

690






How do I run a shell script on a mac?

725


What is sed in shell script?

653


Write down the syntax for all the loops in shell scripting.

744


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

5533


What are the advantages of using shell scripts?

660


What is web script?

661


Explain about stdin, stdout and stderr?

713


What does sh mean?

697


how to get part of string variable with echo command only?

667


What happens when you type ls?

642