• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 671
  • Last Modified:

bash script to add user

Hi, I am looking for a linux script that accepts a username and password and runs the commands to add the user in a hardcoded group.
0
iqula
Asked:
iqula
1 Solution
 
Jase-CoderCommented:
Hi, what distro are you using because slackware has a script. If you are running slackware type:

adduser

I dont know if it works with other distros of linux
0
 
yuzhCommented:
use "useradd" command
man useradd

Please have a look at the answer in the following page:

http:Q_20925430.html
http:Q_20409885.html
http:Q_10674741.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now