Script for Creating more users like 50 in one server


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Script for Creating more users like 50 in one server
# 1  
Old 02-29-2016
Script for Creating more users like 50 in one server

Hi friends could you please share me the script to create more users in one server except newusers, is there any option to change secondary group and how to print passwd and changing the age all these things how can i edit in newsers.. please help me
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Creating a group of users with script

Hi, I have a file with usernames, and the comment section, e.g : Data removed by request of sanchitadutta91, 20 May 2020 I need to add these users into a server. Is it possible to use a script to create the users, together with the comment ? From the commandline to add one user, the... (2 Replies)
Discussion started by: anaigini45
2 Replies

2. Shell Programming and Scripting

Shell script for creating multiple users with password

for UserName in `cat users` ; do useradd -d /u02 -s /usr/libexec/openssh/sftp-server -G ftp-users $UserName ; PassWord=$( echo $( tr '' '' <<< ${UserName:0:1} )${UserName:1} ) ; echo "$PassWord@123" | passwd $UserName --stdin ; done can some one explain what the bold text do Please use... (5 Replies)
Discussion started by: James0806
5 Replies

3. Shell Programming and Scripting

Creating new users using a text file as imput (using only shell script and/or awk)

I need somebody who could help with an exercise. You have a text file called users.txt with this info inside: users.txt: user1:1234:/home/homedir1 ; user2:1234:/home/homedir2 ; user3:1234:/home/homedir3 ; user4:1234:/home/homedir4 ; The script should create an user using the... (2 Replies)
Discussion started by: marcosruiz
2 Replies

4. Shell Programming and Scripting

Writing a script on creating and comparing users

Hello Everybody i am a newbie to the bash scripting.please can someone help me out here.i want to write a script on creating 10 users with passwords and comparing the users to the ones in /etc/passwd file.am i gonna use arrays in creating the 10 users or what?and again, how do i compare both... (1 Reply)
Discussion started by: bruno_brunt
1 Replies

5. Shell Programming and Scripting

Shell Script to filter users and create them again from a back-up server

This is a script to filter the users out of etc/passwd and etc/group. So if you want to migrate of restore a server you can use this script from a backup to restore and make the same users on you had.. Please feedback and comments. #!/bin/bash prompt_list () { # haal uit de argumenten de... (5 Replies)
Discussion started by: dannyvdberg
5 Replies

6. UNIX for Dummies Questions & Answers

Script for creating users

Hi, I wants to create the users for multiple machine from single main server using the shell script ,can you please help me on this.... (2 Replies)
Discussion started by: Rahulne25
2 Replies

7. Shell Programming and Scripting

Script in bash wchich creating a new users...

Hi, I am a new on this forum but i like :) I need a script in bash which will be crating a new user with folder for websites. For example: I will run this program and he creating a new user(with my name) and folder whcich name like user and if i will localho/~user in browser, she show me files from... (1 Reply)
Discussion started by: puclavv
1 Replies

8. Shell Programming and Scripting

Script Help -- documenting specific users that log into server

Hello All, I am trying trying to write a shell script that will do a couple things: 1.) Identify any username that logs into the server. 2.) When the user logs out, send them an email detailing their log in/out times, duration logged in, and what processes they ran. Basically,... (3 Replies)
Discussion started by: SecureScript
3 Replies

9. BSD

Creating an array out of users: shell script

I want to create a shell script for a menu selection consisting of users defined on the machine. To an administrator having the privileges, the selection menu will look as follows: Select the user you want to define the variables for: 1) my-username-1 2) my-username-2 etc Then there would be a... (7 Replies)
Discussion started by: figaro
7 Replies

10. Shell Programming and Scripting

Help with shell script - creating users

echo -e "Enter in a username : \c" read username grep "^$username:" /etc/passwdWhat I'm trying to do is take in a username from my script and I need to be able to check if that username already exists. If it does the script should display a message saying that the user already exists and exit. ... (2 Replies)
Discussion started by: shadowcat
2 Replies
Login or Register to Ask a Question
Jifty::Script::Server(3pm)				User Contributed Perl Documentation				Jifty::Script::Server(3pm)

NAME
Jifty::Script::Server - A standalone webserver for your Jifty application SYNOPSIS
jifty server jifty server --port 6666 jifty server --stop DESCRIPTION
Starts and stops Jifty's standalone web server. options --port The port to run the server on. Overrides the port in the config file, if it is set there. The default port is 8888. --user USER The user to become after binding to the port. It is advised that you use this when binding to low ports, instead of running as "root". This option only works if the server is using a Net::Server subclass. --group GROUP The group to become after binding to the port. Like "--user", this option only works if the server is using a Net::Server subclass. --host HOSTNAME The host to bind to. This option only works if the server is using a Net::Server subclass. --stop Stops the server, if it is running. This is accomplished by reading the PID from "var/jifty-server.pid" --restart restart the server, if it is running. This is accomplished by killing the child pid, and let parent pid create a new one --sigready SIGNAL Sets the signal number that should be sent to the server's parent process when the server is ready to accept connections. --quiet Reduces the amount of debug output sent by the server --dbiprof Turns on DBI profiling; see DBI::ProfileDumper. --help Print a brief help message and exits. --man Prints the manual page and exits. DESCRIPTION
When you're getting started with Jifty, this is the server you want. It's lightweight and easy to work with. METHODS
run "run" takes no arguments, but starts up a Jifty server process for you. perl v5.14.2 2010-12-08 Jifty::Script::Server(3pm)