Bash Scripting (Repost)

Completado Publicado Jul 14, 2012 Pagado a la entrega
Completado

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

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

John,Dakhaloui,emailaddressgoeshere,G5tHut*e!EWa4!!,1125,3-Jul-2012

Sally,Raphael,emailaddressgoeshere,GeEot*e!EWa4!!,1126,6-Jul-2012

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!!

Regards

Please be sure that also uidnumber gets properly incremented

Linux Shell Script Administración de sistemas

Nº del proyecto: #2328108

Sobre el proyecto

2 propuestas Proyecto remoto Activo Jul 15, 2012

Adjudicado a:

parker2012

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

$10 USD / hora
(2 comentarios)
1.4

2 freelancers están ofertando un promedio de $10 / hora por este trabajo

vijaythakur89

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

$10 USD / hora
(0 comentarios)
0.0