nouveau fichier : gitea.sh

nouveau fichier : siotp/sisr1/tp4/Users.csv
	nouveau fichier : siotp/sisr1/tp4/createLogins.sh
	nouveau fichier : siotp/sisr1/tp4/logins.csv
This commit is contained in:
Jarod Pauchet 2024-04-04 14:11:54 +02:00
parent 4d789def5c
commit 0240b7d77a
4 changed files with 81 additions and 0 deletions

5
gitea.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
git pull
git add .
git commit
git push

30
siotp/sisr1/tp4/Users.csv Normal file
View File

@ -0,0 +1,30 @@
Ermengarde,Berthelmot,eberthelmot0@webmd.com,Female,Accountant
Kassi,Bunker,kbunker1@xinhuanet.com,Female,Production
Moises,McCallum,mmccallum2@i2i.jp,Male,Production
Patrizio,Lune,plune3@upenn.edu,Male,Accountant
Blanch,Everix,beverix4@php.net,Female,Accountant
Stafani,Kibbel,skibbel5@marriott.com,Female,Production
Ignacius,Mosdell,imosdell6@cloudflare.com,Male,Management
Jeana,Waller-Bridge,jwallerbridge7@mapy.cz,Female,Management
Elroy,Dressel,edressel8@opera.com,Male,Production
Thea,Strettell,tstrettell9@nature.com,Female,Production
Solomon,Insoll,sinsolla@utexas.edu,Male,Accountant
Carri,Feedome,cfeedomeb@ask.com,Female,Accountant
Padraic,Chetwind,pchetwindc@last.fm,Male,Management
Solly,D'Ugo,sdugod@uiuc.edu,Male,Production
Konstanze,MacCostigan,kmaccostigane@seattletimes.com,Female,Accountant
Roxane,Powlesland,rpowleslandf@pcworld.com,Female,Management
Orelle,Kennealy,okennealyg@arstechnica.com,Female,Production
Sukey,Soitoux,ssoitouxh@shinystat.com,Female,Production
Nelli,Syce,nsycei@blogger.com,Female,Production
Clarisse,Shillam,cshillamj@dailymotion.com,Female,Production
Carin,Gueny,cguenyk@naver.com,Female,Management
Donny,Riepel,driepell@addtoany.com,Male,Production
Daniella,Ralfe,dralfem@wunderground.com,Female,Production
Lexy,Clynmans,lclynmansn@furl.net,Female,Production
Gardiner,Adamthwaite,gadamthwaiteo@spotify.com,Male,Production
Woodman,Lippett,wlippettp@purevolume.com,Male,Production
Nadya,Munnion,nmunnionq@flavors.me,Female,Production
Llewellyn,Habershon,lhabershonr@alibaba.com,Male,Production
Isaak,Greatrex,igreatrexs@seesaa.net,Male,Production
Darill,Frostdyke,dfrostdyket@cafepress.com,Male,Production
1 Ermengarde Berthelmot eberthelmot0@webmd.com Female Accountant
2 Kassi Bunker kbunker1@xinhuanet.com Female Production
3 Moises McCallum mmccallum2@i2i.jp Male Production
4 Patrizio Lune plune3@upenn.edu Male Accountant
5 Blanch Everix beverix4@php.net Female Accountant
6 Stafani Kibbel skibbel5@marriott.com Female Production
7 Ignacius Mosdell imosdell6@cloudflare.com Male Management
8 Jeana Waller-Bridge jwallerbridge7@mapy.cz Female Management
9 Elroy Dressel edressel8@opera.com Male Production
10 Thea Strettell tstrettell9@nature.com Female Production
11 Solomon Insoll sinsolla@utexas.edu Male Accountant
12 Carri Feedome cfeedomeb@ask.com Female Accountant
13 Padraic Chetwind pchetwindc@last.fm Male Management
14 Solly D'Ugo sdugod@uiuc.edu Male Production
15 Konstanze MacCostigan kmaccostigane@seattletimes.com Female Accountant
16 Roxane Powlesland rpowleslandf@pcworld.com Female Management
17 Orelle Kennealy okennealyg@arstechnica.com Female Production
18 Sukey Soitoux ssoitouxh@shinystat.com Female Production
19 Nelli Syce nsycei@blogger.com Female Production
20 Clarisse Shillam cshillamj@dailymotion.com Female Production
21 Carin Gueny cguenyk@naver.com Female Management
22 Donny Riepel driepell@addtoany.com Male Production
23 Daniella Ralfe dralfem@wunderground.com Female Production
24 Lexy Clynmans lclynmansn@furl.net Female Production
25 Gardiner Adamthwaite gadamthwaiteo@spotify.com Male Production
26 Woodman Lippett wlippettp@purevolume.com Male Production
27 Nadya Munnion nmunnionq@flavors.me Female Production
28 Llewellyn Habershon lhabershonr@alibaba.com Male Production
29 Isaak Greatrex igreatrexs@seesaa.net Male Production
30 Darill Frostdyke dfrostdyket@cafepress.com Male Production

View File

@ -0,0 +1,16 @@
#!/bin/bash
#
rm ./logins.csv
while read line
do
echo $line > ./temp.txt
prenom=$(cut -d "," -f 1 ./temp.txt)
nom=$(cut -d "," -f 2 ./temp.txt)
initial=$(cut -c 1 ./temp.txt)
id=$(echo $initial$nom | tr [:upper:] [:lower:])
passwd=$(echo $RANDOM | md5sum | head -c 8)
echo $id","$passwd","$prenom","$nom","$(cut -d "," -f 5 ./temp.txt) >> ./logins.csv
rm ./temp.txt
done < ./Users.csv

View File

@ -0,0 +1,30 @@
eberthelmot,59155498,Ermengarde,Berthelmot,Accountant
kbunker,b9068820,Kassi,Bunker,Production
mmccallum,ee65d788,Moises,McCallum,Production
plune,779b128e,Patrizio,Lune,Accountant
beverix,40741acd,Blanch,Everix,Accountant
skibbel,46353bb2,Stafani,Kibbel,Production
imosdell,8ec4cdc3,Ignacius,Mosdell,Management
jwaller-bridge,ac7367bb,Jeana,Waller-Bridge,Management
edressel,1af39ab6,Elroy,Dressel,Production
tstrettell,1f333d96,Thea,Strettell,Production
sinsoll,9b14d3c8,Solomon,Insoll,Accountant
cfeedome,acc2de2b,Carri,Feedome,Accountant
pchetwind,fcf81634,Padraic,Chetwind,Management
sd'ugo,a6d1382b,Solly,D'Ugo,Production
kmaccostigan,d2531594,Konstanze,MacCostigan,Accountant
rpowlesland,b5049d93,Roxane,Powlesland,Management
okennealy,c03675ff,Orelle,Kennealy,Production
ssoitoux,c4b0dc61,Sukey,Soitoux,Production
nsyce,40b513f5,Nelli,Syce,Production
cshillam,d963042c,Clarisse,Shillam,Production
cgueny,965b0c91,Carin,Gueny,Management
driepel,1fcb2d72,Donny,Riepel,Production
dralfe,8c506545,Daniella,Ralfe,Production
lclynmans,f107ef6e,Lexy,Clynmans,Production
gadamthwaite,87b1a7a0,Gardiner,Adamthwaite,Production
wlippett,c8829ebf,Woodman,Lippett,Production
nmunnion,f874ffce,Nadya,Munnion,Production
lhabershon,529dd157,Llewellyn,Habershon,Production
igreatrex,70d37da4,Isaak,Greatrex,Production
dfrostdyke,83578805,Darill,Frostdyke,Production
1 eberthelmot 59155498 Ermengarde Berthelmot Accountant
2 kbunker b9068820 Kassi Bunker Production
3 mmccallum ee65d788 Moises McCallum Production
4 plune 779b128e Patrizio Lune Accountant
5 beverix 40741acd Blanch Everix Accountant
6 skibbel 46353bb2 Stafani Kibbel Production
7 imosdell 8ec4cdc3 Ignacius Mosdell Management
8 jwaller-bridge ac7367bb Jeana Waller-Bridge Management
9 edressel 1af39ab6 Elroy Dressel Production
10 tstrettell 1f333d96 Thea Strettell Production
11 sinsoll 9b14d3c8 Solomon Insoll Accountant
12 cfeedome acc2de2b Carri Feedome Accountant
13 pchetwind fcf81634 Padraic Chetwind Management
14 sd'ugo a6d1382b Solly D'Ugo Production
15 kmaccostigan d2531594 Konstanze MacCostigan Accountant
16 rpowlesland b5049d93 Roxane Powlesland Management
17 okennealy c03675ff Orelle Kennealy Production
18 ssoitoux c4b0dc61 Sukey Soitoux Production
19 nsyce 40b513f5 Nelli Syce Production
20 cshillam d963042c Clarisse Shillam Production
21 cgueny 965b0c91 Carin Gueny Management
22 driepel 1fcb2d72 Donny Riepel Production
23 dralfe 8c506545 Daniella Ralfe Production
24 lclynmans f107ef6e Lexy Clynmans Production
25 gadamthwaite 87b1a7a0 Gardiner Adamthwaite Production
26 wlippett c8829ebf Woodman Lippett Production
27 nmunnion f874ffce Nadya Munnion Production
28 lhabershon 529dd157 Llewellyn Habershon Production
29 igreatrex 70d37da4 Isaak Greatrex Production
30 dfrostdyke 83578805 Darill Frostdyke Production