Bash Scripting (Repost)

Exhibit 1 ([url removed, login to view]):

#First_Name, Last_Name, Email, Password, id, Creation_Date



Exhibit 2 (template-move):

# Entry: cn=$First_Name $Last_Name,ou=Customers,dc=DOMAIN,dc=com

dn: cn=$First_Name $Last_Name,ou=Customers,dc=DOMAIN,dc=com

cn: $First_Name $Last_Name

description: $id-$Creation_Date

gidnumber: 514

givenname: $First_Name

homedirectory: /customer/$id-$INITIALLAST_NAME

loginshell: /bin/false

objectclass: inetOrgPerson

objectclass: posixAccount

objectclass: top

sn: $Last_Name

uid: $Email

uidnumber: 10000

userpassword: $Password

Description: I would like to create a shell script that uses exhibit 2 template to output a finished template per line from a CSV file like so:

# Entry: cn=John Dakhaloui,ou=Customers,dc=DOMAIN,dc=com

dn: cn=John Dakhaloui,ou=Customers,dc=DOMAIN,dc=com

cn: John Dakhaloui

description: 1125-3-July-2012

gidnumber: 514

givenname: John

homedirectory: /customer/1125-jdakhaloui

loginshell: /bin/false

objectclass: inetOrgPerson

objectclass: posixAccount

objectclass: top

sn: Dakhaloui

uid: emailaddressgoeshere

uidnumber: 10000

userpassword: G5tHut*e!EWa4!!


Please be sure that also uidnumber gets properly incremented

Compétences : Linux, Script Shell, Administration Système

en voir plus : dn com, create shell script, shell bash, bash file, bash 0, linux bash script, dn, bash script, create shell script linux, shell script csv, uid email, linux shell script password, linux bash shell, linux shell csv, csv bash, bash script csv, csv file template, july email, linux script move file, linux email template, create csv file template, email 10000, linux shell scripting, script bash, shell script linux

Concernant l'employeur :
( 7 commentaires ) Chicago, United States

Nº du projet : #2328108

Décerné à:


Dear Sir, I am automating database administration for four years using shell scripting. It can be completed in 4 [url removed, login to view] forward for your positive response. Regards, Charan

$10 USD / heure
(2 Commentaires)

2 freelance font une offre moyenne de $10/heure pour ce travail


Hi i am ready to work on this project and complete in the given time.

$10 USD / heure
(0 Commentaires)