diff --git a/torreblam-tp12-reponses.txt b/torreblam-tp12-reponses.txt deleted file mode 100644 index e7396e4..0000000 --- a/torreblam-tp12-reponses.txt +++ /dev/null @@ -1,138 +0,0 @@ -Les expressions régulières -Les commandes grep - sed - -III. -1. grep "\.ipv[46]\." sysctl.conf - -[torreblam@salle231-06 DIR]$ grep ".ipv[4-6]." sysctl.conf -net.ipv4.tcp_syncookies = 1 -#net.ipv4.conf.all.log_martians = 1 -#net.ipv4.conf.all.accept_redirects = 0 -#net.ipv4.conf.all.accept_source_route = 0 -#net.ipv6.conf.all.accept_redirects = 0 -#net.ipv6.conf.all.accept_source_route = 0 -net.ipv4.ip_forward = 0 -net.ipv6.conf.all.forwarding = 0 -net.ipv6.conf.default.use_tempaddr = 2 -net.ipv6.conf.all.use_tempaddr = 2 -#net.ipv4.ip_local_port_range = 32768 61000 - - -2. grep -v "^#" sysctl.conf - -[torreblam@salle231-06 DIR]$ grep -v "#" sysctl.conf - - -net.ipv4.tcp_syncookies = 1 - - - -net.ipv4.ip_forward = 0 -net.ipv6.conf.all.forwarding = 0 - -net.ipv6.conf.default.use_tempaddr = 2 -net.ipv6.conf.all.use_tempaddr = 2 - - - - - -kernel.sysrq = 0 - - - - - - - - - - - -3. grep -i "_root_" ca-certificates.conf - -[torreblam@salle231-06 DIR]$ grep -i "_root_" ca-certificates.conf -mozilla/America_Online_Root_Certification_Authority_1.crt -mozilla/America_Online_Root_Certification_Authority_2.crt -mozilla/Certum_Root_CA.crt -mozilla/Chambers_of_Commerce_Root_-_2008.crt -mozilla/DST_Root_CA_X3.crt -mozilla/Deutsche_Telekom_Root_CA_2.crt -mozilla/DigiCert_Assured_ID_Root_CA.crt -mozilla/DigiCert_Global_Root_CA.crt -mozilla/DigiCert_High_Assurance_EV_Root_CA.crt -mozilla/Entrust_Root_Certification_Authority.crt -mozilla/Firmaprofesional_Root_CA.crt -mozilla/GlobalSign_Root_CA.crt -mozilla/GlobalSign_Root_CA_-_R2.crt -mozilla/GlobalSign_Root_CA_-_R3.crt -mozilla/Global_Chambersign_Root_-_2008.crt -mozilla/Go_Daddy_Root_Certificate_Authority_-_G2.crt -mozilla/Hongkong_Post_Root_CA_1.crt -mozilla/Microsec_e-Szigno_Root_CA.crt -mozilla/Microsec_e-Szigno_Root_CA_2009.crt -mozilla/OISTE_WISeKey_Global_Root_GA_CA.crt -mozilla/QuoVadis_Root_CA.crt -mozilla/QuoVadis_Root_CA_2.crt -mozilla/QuoVadis_Root_CA_3.crt -mozilla/RSA_Root_Certificate_1.crt -mozilla/S-TRUST_Authentication_and_Encryption_Root_CA_2005_PN.crt -mozilla/Security_Communication_Root_CA.crt -mozilla/Sonera_Class_1_Root_CA.crt -mozilla/Sonera_Class_2_Root_CA.crt -mozilla/Staat_der_Nederlanden_Root_CA.crt -mozilla/Staat_der_Nederlanden_Root_CA_-_G2.crt -mozilla/Starfield_Root_Certificate_Authority_-_G2.crt -mozilla/Starfield_Services_Root_Certificate_Authority_-_G2.crt -mozilla/Swisscom_Root_CA_1.crt -mozilla/TDC_Internet_Root_CA.crt -mozilla/TDC_OCES_Root_CA.crt -mozilla/TURKTRUST_Certificate_Services_Provider_Root_1.crt -mozilla/TURKTRUST_Certificate_Services_Provider_Root_2.crt -mozilla/TWCA_Root_Certification_Authority.crt -mozilla/UTN_DATACorp_SGC_Root_CA.crt -mozilla/UTN_USERFirst_Email_Root_CA.crt -mozilla/UTN_USERFirst_Hardware_Root_CA.crt -mozilla/VeriSign_Universal_Root_Certification_Authority.crt -mozilla/WellsSecure_Public_Root_Certificate_Authority.crt -mozilla/Wells_Fargo_Root_CA.crt -mozilla/certSIGN_ROOT_CA.crt -mozilla/ePKI_Root_Certification_Authority.crt -mozilla/thawte_Primary_Root_CA.crt -mozilla/thawte_Primary_Root_CA_-_G2.crt -mozilla/thawte_Primary_Root_CA_-_G3.crt - - -4. grep "_Class_[::digit::]" ca-certificates.conf - -[torreblam@salle231-06 DIR]$ grep "_Class_[[:digit:]]" ca-certificates.conf -mozilla/Buypass_Class_2_CA_1.crt -mozilla/Buypass_Class_3_CA_1.crt -mozilla/Certplus_Class_2_Primary_CA.crt -mozilla/Go_Daddy_Class_2_CA.crt -mozilla/Sonera_Class_1_Root_CA.crt -mozilla/Sonera_Class_2_Root_CA.crt -mozilla/Starfield_Class_2_CA.crt -mozilla/TC_TrustCenter_Class_2_CA_II.crt -mozilla/TC_TrustCenter_Class_3_CA_II.crt -mozilla/ValiCert_Class_1_VA.crt -mozilla/ValiCert_Class_2_VA.crt -mozilla/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.crt -mozilla/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.crt -mozilla/Verisign_Class_1_Public_Primary_Certification_Authority.crt -mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.crt -mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.crt -mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G2.crt -mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.crt -mozilla/Verisign_Class_3_Public_Primary_Certification_Authority.crt -mozilla/Verisign_Class_3_Public_Primary_Certification_Authority_-_G2.crt -mozilla/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.crt -mozilla/Verisign_Class_4_Public_Primary_Certification_Authority_-_G3.crt - -5. grep -rl KEYMAP . - -[torreblam@salle231-06 DIR]$ grep -rl KEYMAP . -./vconsole.conf - - -6. \ No newline at end of file