{"id":938,"date":"2016-05-17T14:17:09","date_gmt":"2016-05-17T14:17:09","guid":{"rendered":"http:\/\/hardsoftsecurity.es\/?p=938"},"modified":"2016-05-17T14:17:09","modified_gmt":"2016-05-17T14:17:09","slug":"script-en-shell-script-para-hacer-copias-de-seguridad-linux","status":"publish","type":"post","link":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/","title":{"rendered":"Script en shell script, para hacer copias de seguridad. Linux."},"content":{"rendered":"<p>Hola muy buenas tardes a todos, hoy vengo a presentaros un script creado con el lenguaje shell script, el script consiste en listar los usuarios que tenemos en el directorio &#8220;\/home&#8221;, una vez introducido el usuario, crear\u00e1 un .tar en una carpeta en &#8220;\/home\/copiaseg&#8221; con el nombre del usuario y la fecha en la que se creo la copia de seguridad.<\/p>\n<p><!--more--><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" data-attachment-id=\"837\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/cropped-cropped-unix-jpg\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?fit=1920%2C850&amp;ssl=1\" data-orig-size=\"1920,850\" data-comments-opened=\"1\" data-image-title=\"cropped-cropped-unix.jpg\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?fit=800%2C354&amp;ssl=1\" class=\"size-full wp-image-837 aligncenter\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?resize=800%2C354&#038;ssl=1\" alt=\"cropped-cropped-unix.jpg\" width=\"800\" height=\"354\" srcset=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?resize=300%2C133&amp;ssl=1 300w, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?resize=768%2C340&amp;ssl=1 768w, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?resize=1024%2C453&amp;ssl=1 1024w, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?resize=750%2C332&amp;ssl=1 750w, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-cropped-unix.jpg?w=1600&amp;ssl=1 1600w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>A continuaci\u00f3n os muestro el c\u00f3digo:<\/p>\n<blockquote><p>#!\/bin\/bash<\/p>\n<p>############## COMPROBACI\u00d3N DEL DIRECTORIO DE COPIAS #################<br \/>\nif [ -d &#8220;\/home\/copiaseg&#8221; ]; then<br \/>\necho &#8220;el directorio existe&#8221;<br \/>\necho &#8220;####################&#8221;<br \/>\nelse<br \/>\n`sudo mkdir \/home\/copiaseg`<br \/>\nfi<br \/>\n######################################################################<br \/>\nusu=`ls -1 \/home`<\/p>\n<p>echo Los usuarios existentes en home son:<br \/>\necho $usu<br \/>\necho Selecciona un usuario:<br \/>\nread usuario<\/p>\n<p>fecha=`date +&#8221;%Y-%m-%d&#8221;`<\/p>\n<p>#####COMPROBACI\u00d3N DE EXISTENCIA DE USUARIO Y CREACI\u00d3N DE LA COPIA ########<br \/>\nif [ -d &#8220;\/home\/$usuario&#8221; ]; then<br \/>\necho &#8220;el usuario existe&#8221;<br \/>\necho &#8220;####################&#8221;<br \/>\n`sudo tar -cf \/home\/copiaseg\/$usuario$fecha.tar \/home\/$usuario`<\/p>\n<p>else<br \/>\necho &#8220;El usuario no existe&#8221;<br \/>\nexit<br \/>\nfi<br \/>\n###########################################################################<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>Gracias por leer el blog. Saludos, @DavidDeMaya.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hola muy buenas tardes a todos, hoy vengo a presentaros un script creado con el lenguaje shell script, el script consiste en listar los usuarios que tenemos en el directorio &#8230;<\/p>\n","protected":false},"author":1,"featured_media":827,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3,7],"tags":[67,34,66],"class_list":["post-938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guias","category-seguridad-informatica","tag-copias-de-seguridad","tag-linux","tag-shell-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Script en shell script, para hacer copias de seguridad. Linux. - Hardsoft Security<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Script en shell script, para hacer copias de seguridad. Linux. - Hardsoft Security\" \/>\n<meta property=\"og:description\" content=\"Hola muy buenas tardes a todos, hoy vengo a presentaros un script creado con el lenguaje shell script, el script consiste en listar los usuarios que tenemos en el directorio ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Hardsoft Security\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/HardSoftDavid\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-17T14:17:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-unix.jpg?fit=1000%2C287&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"287\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"david\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DavidDeMaya\" \/>\n<meta name=\"twitter:site\" content=\"@DavidDeMaya\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"david\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/\"},\"author\":{\"name\":\"david\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\"},\"headline\":\"Script en shell script, para hacer copias de seguridad. Linux.\",\"datePublished\":\"2016-05-17T14:17:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/\"},\"wordCount\":176,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/cropped-unix.jpg?fit=1000%2C287&ssl=1\",\"keywords\":[\"copias de seguridad\",\"Linux\",\"shell script\"],\"articleSection\":[\"Gu\u00edas\",\"Seguridad inform\u00e1tica\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/\",\"url\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/\",\"name\":\"Script en shell script, para hacer copias de seguridad. Linux. - Hardsoft Security\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/cropped-unix.jpg?fit=1000%2C287&ssl=1\",\"datePublished\":\"2016-05-17T14:17:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/cropped-unix.jpg?fit=1000%2C287&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/cropped-unix.jpg?fit=1000%2C287&ssl=1\",\"width\":1000,\"height\":287},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2016\\\/05\\\/17\\\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/hardsoftsecurity.es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Script en shell script, para hacer copias de seguridad. Linux.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#website\",\"url\":\"https:\\\/\\\/hardsoftsecurity.es\\\/\",\"name\":\"Hardsoft Security\",\"description\":\"Chasing (In)Security\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hardsoftsecurity.es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\",\"name\":\"david\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"caption\":\"david\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Script en shell script, para hacer copias de seguridad. Linux. - Hardsoft Security","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/","og_locale":"es_ES","og_type":"article","og_title":"Script en shell script, para hacer copias de seguridad. Linux. - Hardsoft Security","og_description":"Hola muy buenas tardes a todos, hoy vengo a presentaros un script creado con el lenguaje shell script, el script consiste en listar los usuarios que tenemos en el directorio ...","og_url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/","og_site_name":"Hardsoft Security","article_publisher":"https:\/\/www.facebook.com\/HardSoftDavid","article_published_time":"2016-05-17T14:17:09+00:00","og_image":[{"width":1000,"height":287,"url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-unix.jpg?fit=1000%2C287&ssl=1","type":"image\/jpeg"}],"author":"david","twitter_card":"summary_large_image","twitter_creator":"@DavidDeMaya","twitter_site":"@DavidDeMaya","twitter_misc":{"Escrito por":"david","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#article","isPartOf":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/"},"author":{"name":"david","@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a"},"headline":"Script en shell script, para hacer copias de seguridad. Linux.","datePublished":"2016-05-17T14:17:09+00:00","mainEntityOfPage":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/"},"wordCount":176,"commentCount":0,"image":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-unix.jpg?fit=1000%2C287&ssl=1","keywords":["copias de seguridad","Linux","shell script"],"articleSection":["Gu\u00edas","Seguridad inform\u00e1tica"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/","url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/","name":"Script en shell script, para hacer copias de seguridad. Linux. - Hardsoft Security","isPartOf":{"@id":"https:\/\/hardsoftsecurity.es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#primaryimage"},"image":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-unix.jpg?fit=1000%2C287&ssl=1","datePublished":"2016-05-17T14:17:09+00:00","author":{"@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a"},"breadcrumb":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#primaryimage","url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-unix.jpg?fit=1000%2C287&ssl=1","contentUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-unix.jpg?fit=1000%2C287&ssl=1","width":1000,"height":287},{"@type":"BreadcrumbList","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/05\/17\/script-en-shell-script-para-hacer-copias-de-seguridad-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/hardsoftsecurity.es\/"},{"@type":"ListItem","position":2,"name":"Script en shell script, para hacer copias de seguridad. Linux."}]},{"@type":"WebSite","@id":"https:\/\/hardsoftsecurity.es\/#website","url":"https:\/\/hardsoftsecurity.es\/","name":"Hardsoft Security","description":"Chasing (In)Security","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hardsoftsecurity.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a","name":"david","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","caption":"david"}}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7xGFx-f8","jetpack-related-posts":[{"id":1057,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/10\/12\/automatizar-copias-de-seguridad-con-crontab\/","url_meta":{"origin":938,"position":0},"title":"Automatizar Copias De Seguridad Con Crontab.","author":"david","date":"octubre 12, 2016","format":false,"excerpt":"En este peque\u00f1o manual, lo que explicar\u00e9 ser\u00e1 como automatizar una serie de copias de seguridad completas e incrementales, con ayuda de dos grandes herramientas de los sistemas operativos basados en LINUX, llamados CRONTAB y SHELLSCRIPT. Descripci\u00f3n del script: Una breve explicaci\u00f3n del script realizado ser\u00eda la siguiente, el script\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/10\/backup-three-laptops-plugged-into-word.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/10\/backup-three-laptops-plugged-into-word.jpg?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/10\/backup-three-laptops-plugged-into-word.jpg?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/10\/backup-three-laptops-plugged-into-word.jpg?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/10\/backup-three-laptops-plugged-into-word.jpg?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1033,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/09\/17\/scripts-en-batch-msdos\/","url_meta":{"origin":938,"position":1},"title":"Scripts en batch. MSDOS.","author":"david","date":"septiembre 17, 2016","format":false,"excerpt":"Hola hoy os traigo un par de scripts en batch. Espero que os sean \u00fatiles. Gracias. 1.- Compruebe si existe un fichero emitiendo un mensaje si existe.\u00a0 (If Exist) @echo off rem ************************************************************************ rem EJERCICIO 1 COMPRUEBA SI EXISTE UN FICHERO EMIIENO UN MENSAJE SI EXISTE. rem DAVID DE MAYA\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/09\/Windows-8.1.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/09\/Windows-8.1.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/09\/Windows-8.1.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/09\/Windows-8.1.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/09\/Windows-8.1.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":329,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2015\/01\/27\/instalacion-y-gestion-de-recursos-compartidos-con-samba-gnulinux\/","url_meta":{"origin":938,"position":2},"title":"Instalaci\u00f3n y gesti\u00f3n de recursos compartidos con samba GNU\/Linux","author":"david","date":"enero 27, 2015","format":false,"excerpt":"INSTALACI\u00d3N DE SAMBA Comando: - sudo dpkg -l * Este comando realiza una lista de los paquetes instalados en el sistema. - sudo apt-get install samba * Este comando instala todos los paquetes samba. REINICIO DEL SERVICIO SAMBA Comando: - sudo service smbd start\/stop o restart * Este comando inicia,\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"Logo_Samba","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/01\/logo_samba.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/01\/logo_samba.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/01\/logo_samba.png?resize=525%2C300 1.5x"},"classes":[]},{"id":1611,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2018\/06\/25\/explicacion-de-honeypot-e-instalacion-de-kippo-y-kippo-graph\/","url_meta":{"origin":938,"position":3},"title":"Explicaci\u00f3n de Honeypot e instalaci\u00f3n de kippo y kippo-graph.","author":"david","date":"junio 25, 2018","format":false,"excerpt":"Hola tod@s, hoy os traigo una entrada, donde explico que es un honeypot, creo que es muy importante implementar este tipo de soluciones en nuestra red, ya que nos permite simular servicios en producci\u00f3n y as\u00ed poder analizar los ataques de los ciberdelincuentes y poder endurecer los servicios que est\u00e1n\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2018\/06\/honeypot_big_logo-c551a80e.png?fit=1000%2C715&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2018\/06\/honeypot_big_logo-c551a80e.png?fit=1000%2C715&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2018\/06\/honeypot_big_logo-c551a80e.png?fit=1000%2C715&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2018\/06\/honeypot_big_logo-c551a80e.png?fit=1000%2C715&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1465,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2018\/02\/13\/como-hacer-mysql-mas-seguro\/","url_meta":{"origin":938,"position":4},"title":"\u00bfC\u00f3mo hacer MySQL m\u00e1s seguro?","author":"david","date":"febrero 13, 2018","format":false,"excerpt":"Hola a tod@s hoy os traigo una peque\u00f1a entrada donde vamos a ver como hacer nuestro servidor de MySQL m\u00e1s seguro, esto nos permitir\u00e1 tener un control completo de nuestro servidor, ya que en estos tiempos existen much\u00edsimos bots continuamente escaneando la red para atacar nuestros servicios. Voy a dar\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/06\/mysql-logo-1329320869.jpg?fit=800%2C413&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/06\/mysql-logo-1329320869.jpg?fit=800%2C413&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/06\/mysql-logo-1329320869.jpg?fit=800%2C413&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/06\/mysql-logo-1329320869.jpg?fit=800%2C413&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1134,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2017\/04\/12\/instalacion-de-nessus-vulnerability-scanner-en-kali-linux-2-0\/","url_meta":{"origin":938,"position":5},"title":"Instalaci\u00f3n de Nessus Vulnerability Scanner en Kali Linux 2.0.","author":"david","date":"abril 12, 2017","format":false,"excerpt":"Hola hoy os traigo una entrada de como instalar nessus este esc\u00e1ner de vulnerabilidades tan potente, en este caso lo vamos a instalar sobre Kali Linux. \"Nessus es un programa de escaneo de vulnerabilidades en diversos sistemas operativos. Consiste en un demonio o diablo, nessusd, que realiza el escaneo en\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2017\/04\/Screenshot-at-abr-10-16-08-00.png?fit=1104%2C479&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2017\/04\/Screenshot-at-abr-10-16-08-00.png?fit=1104%2C479&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2017\/04\/Screenshot-at-abr-10-16-08-00.png?fit=1104%2C479&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2017\/04\/Screenshot-at-abr-10-16-08-00.png?fit=1104%2C479&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2017\/04\/Screenshot-at-abr-10-16-08-00.png?fit=1104%2C479&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/09\/cropped-unix.jpg?fit=1000%2C287&ssl=1","_links":{"self":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/comments?post=938"}],"version-history":[{"count":2,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/938\/revisions"}],"predecessor-version":[{"id":940,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/938\/revisions\/940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/media\/827"}],"wp:attachment":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/media?parent=938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/categories?post=938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/tags?post=938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}