{"id":353786,"date":"2024-09-11T13:51:17","date_gmt":"2024-09-11T13:51:17","guid":{"rendered":"https:\/\/www.ninjaone.com\/script-hub\/habilitar-cuentas-de-usuario\/"},"modified":"2024-10-13T19:08:11","modified_gmt":"2024-10-13T19:08:11","slug":"habilitar-cuentas-de-usuario","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/es\/script-hub\/habilitar-cuentas-de-usuario\/","title":{"rendered":"C\u00f3mo habilitar cuentas de usuario en Linux mediante un script Bash automatizado"},"content":{"rendered":"<p>La gesti\u00f3n eficaz de las cuentas de usuario es una tarea crucial para los profesionales de TI y los <a href=\"https:\/\/www.ninjaone.com\/es\/que-es-un-msp\" target=\"_blank\" rel=\"noopener\">proveedores de servicios gestionados (MSP)<\/a>. Una parte importante de esto implica habilitar y deshabilitar cuentas de usuario seg\u00fan sea necesario. Este post tratar\u00e1 sobre un script Bash que simplifica el proceso de <strong>habilitar cuentas de usuario en sistemas Linux<\/strong>. Al comprender y utilizar este script, los profesionales de TI pueden agilizar la gesti\u00f3n de usuarios, <a href=\"https:\/\/www.ninjaone.com\/blog\/defeat-cyber-security-threats\/\" target=\"_blank\" rel=\"noopener\">mejorar la seguridad del sistema<\/a> y garantizar un funcionamiento sin problemas.<\/p>\n<h2>Contexto<\/h2>\n<p>La gesti\u00f3n de cuentas de usuario en Linux es una responsabilidad fundamental para los administradores de sistemas. Garantizar que s\u00f3lo los usuarios autorizados tengan acceso a los recursos del sistema es vital para mantener la seguridad y la integridad operativa. Este script Bash est\u00e1 dise\u00f1ado para habilitar cuentas de usuario cambiando su shell de inicio de sesi\u00f3n a \/bin\/bash y desbloqueando la cuenta. Esta automatizaci\u00f3n puede ahorrar tiempo, reducir los errores humanos y aplicar pr\u00e1cticas de seguridad coherentes en varios sistemas.<\/p>\n<h2>El script para habilitar cuentas de usuario en Linux<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">#!\/usr\/bin\/env bash\r\n\r\n# Description: Enables a user account by changing its shell to \/bin\/bash and unlocking the account.\r\n#\r\n# Release Notes: Initial Release\r\n# By using this script, you indicate your acceptance of the following legal terms as well as our Terms of Use at https:\/\/www.ninjaone.com\/terms-of-use.\r\n# Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms. \r\n# Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party. \r\n# Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library or website belonging to or under the control of any other software provider. \r\n# Warranty Disclaimer: The script is provided \u201cas is\u201d and \u201cas available\u201d, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations. \r\n# Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks. \r\n# Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script. \r\n# EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).\r\n#\r\n# Below are all the valid parameters for this script.\r\n#\r\n# Preset Parameter: \"ReplaceMeWithUsernameToEnable\"\r\n#   Username of the user you would like to enable.\r\n#\r\n\r\n# Help text function for when invalid input is encountered\r\nprint_help() {\r\n  printf '\\n### Below are all the valid parameters for this script. ###\\n'\r\n  printf '\\nPreset Parameter: \"ReplaceMeWithUsernameToEnable\" \\n'\r\n  printf '\\t%s\\n' \"Username of the user you would like to enable.\"\r\n}\r\n\r\n# Determines whether or not help text is nessessary and routes the output to stderr\r\ndie() {\r\n  local _ret=\"${2:-1}\"\r\n  echo \"$1\" &gt;&amp;2\r\n  test \"${_PRINT_HELP:-no}\" = yes &amp;&amp; print_help &gt;&amp;2\r\n  exit \"${_ret}\"\r\n}\r\n\r\n_arg_userToEnable=\r\n\r\n# Grabbing the parameters and parsing through them.\r\nparse_commandline() {\r\n  while test $# -gt 0; do\r\n    _key=\"$1\"\r\n    case \"$_key\" in\r\n    --help | -h)\r\n      _PRINT_HELP=yes die 0\r\n      ;;\r\n    --*)\r\n      _PRINT_HELP=yes die \"FATAL ERROR: Got an unexpected argument '$1'\" 1\r\n      ;;\r\n    *)\r\n      if [[ -z $_arg_userToEnable ]]; then\r\n        _arg_userToEnable=$1\r\n      else\r\n        _PRINT_HELP=yes die \"FATAL ERROR: Got an unexpected argument '$1' but user '$_arg_userToEnable' was already specified!\" 1\r\n      fi\r\n      ;;\r\n    esac\r\n    shift\r\n  done\r\n}\r\n\r\n# Parse the command-line arguments passed to the script.\r\nparse_commandline \"$@\"\r\n\r\nif [[ -n $usernameToEnable ]]; then\r\n  _arg_userToEnable=\"$usernameToEnable\"\r\nfi\r\n\r\n# Check if the username to disable is empty and display an error if it is.\r\nif [[ -z $_arg_userToEnable ]]; then\r\n  _PRINT_HELP=yes die \"[Error] The username of the user you would like to disable is required!'\" 1\r\nfi\r\n\r\n# Validate the username to ensure it only contains lowercase letters, digits, hyphens, and underscores.\r\nif [[ ! $_arg_userToEnable =~ ^[a-z0-9_-]+$ ]]; then\r\n  _PRINT_HELP=no die \"[Error] Invalid characters detected in '$_arg_userToEnable' usernames can only have a-z, 0-9 or -, _ characters!\" 1\r\nfi\r\n\r\n# Search for the user in the \/etc\/passwd file.\r\npasswdEntry=$(grep -w \"$_arg_userToEnable\" \/etc\/passwd)\r\nif [[ -z $passwdEntry ]]; then\r\n  _PRINT_HELP=no die \"[Error] User '$_arg_userToEnable' does not exist.\" 1\r\nfi\r\n\r\n# Check to see if account is expired\r\naccountExpiration=$(chage -l \"$_arg_userToEnable\" | grep \"Account expires\" | grep -v 'never' | cut -d \":\" -f2 | xargs)\r\nif [[ -n $accountExpiration ]]; then\r\n  accountExpirationSeconds=$(date -d \"$accountExpiration\" +\"%s\")\r\n  \r\n  currentTime=$(date +\"%s\")\r\n  # Warn if account is expired\r\n  if [[ $accountExpirationSeconds -le $currentTime ]]; then\r\n    echo \"WARNING: The account for '$_arg_userToEnable' is currently expired as of '$accountExpiration'. You may need to set a new expiration date.\"\r\n  fi\r\nfi\r\n\r\nnoLogin=$(grep -w \"$_arg_userToEnable\" \/etc\/passwd | grep \"nologin\")\r\nunlockedaccount=$(passwd -S \"$_arg_userToEnable\" | cut -f2 -d \" \" | grep -v \"L\")\r\nif [[ -z $noLogin &amp;&amp; -n $unlockedaccount ]]; then\r\n  _PRINT_HELP=no die \"[Error] User '$_arg_userToEnable' is already enabled.\" 1\r\nfi\r\n\r\nif [[ -f \/bin\/bash ]]; then\r\n  preferredShell=\"\/bin\/bash\"\r\nelif [[ -f \/bin\/sh ]]; then\r\n  preferredShell=\"\/bin\/sh\"\r\nfi\r\n\r\n# Attempt to change the shell of the user to \/bin\/bash to enable login capabilities.\r\nif ! usermod \"$_arg_userToEnable\" -s \"$preferredShell\"; then\r\n  _PRINT_HELP=no die \"[Error] Failed to change the shell for '$_arg_userToEnable' to '$preferredShell'.\" 1\r\nfi\r\n\r\n# Attempt to unlock the user account using usermod.\r\nif ! usermod -U \"$_arg_userToEnable\"; then\r\n  _PRINT_HELP=no die \"[Error] Failed to unlock '$_arg_userToEnable' using usermod.\" 1\r\nfi\r\n\r\n# Check if the user has been successfully enabled by confirming 'nologin' is no longer set.\r\nenabledUser=$(grep -w \"$_arg_userToEnable\" \/etc\/passwd | grep -v \"nologin\")\r\nif [[ -n $enabledUser ]]; then\r\n  echo \"Successfully enabled '$_arg_userToEnable'.\"\r\nelse\r\n  _PRINT_HELP=no die \"[Error] Failed to enable '$_arg_userToEnable'.\" 1\r\nfi<\/pre>\n<p>&nbsp;<\/p>\n\n<div class=\"blog-cta-new blog-cta-style-1\"><div class=\"cta-left\"><h2><\/h2><p><\/p><\/div><div class=\"cta-right\"><a class=\"button\" href=\"\"><\/a><\/div><\/div>\n<h2>An\u00e1lisis detallado<\/h2>\n<p>El script Bash proporcionado realiza su tarea a trav\u00e9s de varios pasos bien definidos. Desglosemos cada parte del script para habilitar cuentas de usuario para entender su funcionalidad:<\/p>\n<p><strong>1. Texto de ayuda y funciones de gesti\u00f3n de errores<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"2\">El script comienza definiendo funciones para mostrar texto de ayuda (print_help) y manejar errores (die). Estas funciones garantizan que el usuario est\u00e9 informado sobre el uso correcto del script para habilitar cuentas de usuario y pueda solucionar los problemas de forma eficaz.<\/li>\n<\/ul>\n<p><strong>2. An\u00e1lisis de par\u00e1metros<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"2\">La funci\u00f3n parse_commandline procesa los argumentos de la l\u00ednea de comandos del script para habilitar cuentas de usuario. Comprueba el indicador &#8211;help, los argumentos inesperados y se asegura de que s\u00f3lo se proporciona un nombre de usuario.<\/li>\n<\/ul>\n<p><strong>3. Validaci\u00f3n del nombre de usuario<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"2\">El script valida el nombre de usuario proporcionado para asegurarse de que s\u00f3lo contiene letras min\u00fasculas, d\u00edgitos, guiones y guiones bajos. Este paso evita posibles problemas de seguridad derivados de caracteres no v\u00e1lidos.<\/li>\n<\/ul>\n<p><strong>4. Comprobaci\u00f3n de existencia de usuario<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"2\">El script para habilitar cuentas de usuario comprueba si el usuario existe en el archivo \/etc\/passwd. Si el usuario no existe, sale con un mensaje de error.<\/li>\n<\/ul>\n<p><strong>5. Comprobaci\u00f3n de la caducidad de la cuenta<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"2\">El script utiliza el comando chage para determinar si la cuenta ha caducado. Si caduca, avisa al usuario, aunque sigue intentando habilitar la cuenta.<\/li>\n<\/ul>\n<p><strong>6. Shell de inicio de sesi\u00f3n y comprobaci\u00f3n del estado de la cuenta<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"6\" data-aria-level=\"2\">Verifica si el shell de inicio de sesi\u00f3n del usuario est\u00e1 configurado como nologin y si la cuenta ya est\u00e1 desbloqueada. Si el usuario ya est\u00e1 habilitado, sale con un error.<\/li>\n<\/ul>\n<p><strong>7. Selecci\u00f3n de shells<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"7\" data-aria-level=\"2\">El script para habilitar cuentas de usuario comprueba la existencia de \/bin\/bash y \/bin\/sh, prefiriendo \/bin\/bash si est\u00e1 disponible.<\/li>\n<\/ul>\n<p><strong>8. Cambio del shell y desbloqueo de la cuenta<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"8\" data-aria-level=\"2\">El script intenta cambiar el shell de inicio de sesi\u00f3n del usuario al shell preferido y desbloquear la cuenta utilizando el comando usermod.<\/li>\n<\/ul>\n<p><strong>9. Verificaci\u00f3n final<\/strong>:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"9\" data-aria-level=\"2\">Verifica si el usuario ha sido habilitado con \u00e9xito comprobando que nologin ya no est\u00e1 establecido. Si tiene \u00e9xito, imprime un mensaje de confirmaci\u00f3n.<\/li>\n<\/ul>\n<h2>Posibles casos de uso<\/h2>\n<p>Imagina un escenario en el que un profesional de TI gestiona un gran equipo con frecuentes cambios de personal. Un empleado que se reincorpora tras un permiso prolongado necesita volver a activar su cuenta. Con este script para habilitar cuentas de usuario, el profesional de TI puede activar r\u00e1pidamente la cuenta sin tener que navegar manualmente por m\u00faltiples comandos, lo que garantiza que el proceso sea r\u00e1pido y sin errores.<\/p>\n<h2>Comparaciones<\/h2>\n<p>Este script para habilitar cuentas de usuario proporciona un enfoque racionalizado y automatizado para habilitar cuentas de usuario en comparaci\u00f3n con los m\u00e9todos manuales. Habilitar manualmente un usuario implica varios pasos: editar \/etc\/passwd, cambiar el shell y desbloquear la cuenta. Cada paso es susceptible de error humano. En cambio, este script encapsula todos estos pasos en un \u00fanico proceso repetible, lo que aumenta la fiabilidad y la eficacia.<\/p>\n<h2>FAQ<\/h2>\n<h3>1) \u00bfQu\u00e9 ocurre si el nombre de usuario no es v\u00e1lido?<\/h3>\n<p>El script para habilitar cuentas de usuario sale con un mensaje de error indicando que el nombre de usuario contiene caracteres no v\u00e1lidos.<\/p>\n<h3>2) \u00bfSe puede utilizar este script para habilitar varios usuarios a la vez?<\/h3>\n<p>No, el script est\u00e1 dise\u00f1ado para permitir un usuario a la vez para garantizar la precisi\u00f3n y la seguridad.<\/p>\n<h3>3) \u00bfQu\u00e9 pasa si el shell preferido \/bin\/bash no est\u00e1 disponible?<\/h3>\n<p>El script vuelve a \/bin\/sh si no encuentra \/bin\/bash.<\/p>\n<h3>4) \u00bfEl script para habilitar cuentas de usuario gestiona todos los errores relacionados con la cuenta?<\/h3>\n<p>El script gestiona errores comunes como nombres de usuario no v\u00e1lidos, usuarios inexistentes y cuentas ya habilitadas.<\/p>\n<h2>Implicaciones<\/h2>\n<p>Habilitar cuentas de usuario de forma segura es fundamental para mantener la integridad del sistema. Los scripts automatizados de este tipo <a href=\"https:\/\/www.ninjaone.com\/blog\/how-human-error-relates-to-cybersecurity-risks\/\" target=\"_blank\" rel=\"noopener\">reducen el riesgo de error humano<\/a>, garantizando que las cuentas se activen correcta y r\u00e1pidamente. Esto contribuye a la seguridad general del sistema y a la eficiencia operativa, que son primordiales en cualquier entorno inform\u00e1tico.<\/p>\n<h2>Recomendaciones<\/h2>\n<p>Cuando utilices este script para habilitar cuentas de usuario, sigue estas pr\u00e1cticas recomendadas:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><strong>Haz pruebas en un entorno controlado<\/strong>: antes de desplegar el script en un entorno de producci\u00f3n, pru\u00e9balo en un entorno controlado para asegurarte de que se comporta como se espera.<\/li>\n<\/ul>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Realiza auditor\u00edas de forma peri\u00f3dica<\/strong>: revisa peri\u00f3dicamente las cuentas de usuario y la funcionalidad del script para garantizar el cumplimiento de las pol\u00edticas de seguridad.<\/li>\n<\/ul>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\"><strong>Documentaci\u00f3n<\/strong>: cnserva documentaci\u00f3n detallada de cualquier personalizaci\u00f3n realizada en el script para facilitar el mantenimiento futuro.<\/li>\n<\/ul>\n<h2>Reflexiones finales<\/h2>\n<p>La gesti\u00f3n eficaz de las cuentas de usuario es esencial para mantener un entorno inform\u00e1tico seguro y eficiente. Este script Bash ofrece una soluci\u00f3n fiable y <a href=\"https:\/\/www.ninjaone.com\/es\/rmm\/automatizacion-de-ti\" target=\"_blank\" rel=\"noopener\">automatizada<\/a> para habilitar cuentas de usuario en Linux. Para las organizaciones que buscan agilizar a\u00fan m\u00e1s sus operaciones de TI, herramientas como <a href=\"https:\/\/www.ninjaone.com\/es\/\" target=\"_blank\" rel=\"noopener\">NinjaOne<\/a> pueden proporcionar soluciones integrales de gesti\u00f3n, <a href=\"https:\/\/www.ninjaone.com\/es\/eficiencia\" target=\"_blank\" rel=\"noopener\">mejorando la eficiencia<\/a> y la seguridad en todos los \u00e1mbitos.<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_lmt_disableupdate":"","_lmt_disable":""},"operating_system":[4211],"use_cases":[4267],"class_list":["post-353786","script_hub","type-script_hub","status-publish","hentry","script_hub_category-linux","use_cases-gestion-de-usuarios-y-accesos"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/script_hub\/353786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/comments?post=353786"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/media?parent=353786"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/operating_system?post=353786"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/es\/wp-json\/wp\/v2\/use_cases?post=353786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}