Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 654
  • 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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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