Skip to content

Add multiple users in Linux from file in format csv.

License

Notifications You must be signed in to change notification settings

jhg/multiuseradd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux script for add multiple news users from file in csv format.

Multiuseradd (C) 2012 Jesús Hernández Gormaz
This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License as
  published by the Free Software Foundation; either version 3, or
  (at your option) any later version.
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


The file in CSV format must use commas as separators.
Need Perl interpreter for run.

Use:
  ./multiuseradd.sh <file_csv> <parameters...>
Parameters is all useradd parameter or files in the work directory (./file)
  that wish copy in the home directory of new user.

About

Add multiple users in Linux from file in format csv.

Resources

License

Stars

Watchers

Forks

Packages

No packages published