Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

bash script to add user

Posted on 2004-08-30
2
Medium Priority
?
650 Views
Last Modified: 2013-12-16
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
Comment
Question by:iqula
2 Comments
 
LVL 11

Expert Comment

by:Jase-Coder
ID: 11935029
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
 
LVL 38

Accepted Solution

by:
yuzh earned 2000 total points
ID: 11939028
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 1 hour left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question