[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
es:howtos:slackware_admin:hibernation [2019/02/05 11:24 (UTC)] – [LILO configuration] slackwarespanoles:howtos:slackware_admin:hibernation [2019/04/05 01:06 (UTC)] (actual) – [Con pm-utils] antares_alf
Línea 1: Línea 1:
-<note warning>En proceso de traducción. Victor</note> 
 ====== Hibernación ====== ====== Hibernación ======
 La hibernación (también conocida como suspensión en disco) es un método utilizado para apagar una computadora y preservar el estado del sistema operativo. Una vez encendido, el sistema operativo estará en el estado exacto tal como estaba en el momento de la hibernación. La hibernación (también conocida como suspensión en disco) es un método utilizado para apagar una computadora y preservar el estado del sistema operativo. Una vez encendido, el sistema operativo estará en el estado exacto tal como estaba en el momento de la hibernación.
Línea 72: Línea 71:
 </code> </code>
  
-===== Lock your computer upon resuming =====+===== Bloquea tu computadora al reanudar =====
  
-You may have noticed that when your computer resumesthere is no protection to ensure no one can use your computerAs ''pm-hibernate'' must be run as root, any user that powers up your computer will be granted a root terminal! I'll show you some tricks to ensure a proper lock of the system+Es posible que haya notado que cuando su computadora se reanuda, no hay protección para garantizar que nadie pueda usarlaComo '' pm-hibernate '' debe ejecutarse como root, a cualquier usuario que encienda su computadora se le otorgará un terminal de root. Te mostraré algunos trucos para asegurar un correcto bloqueo del sistema
-<note warning>Security warningwhether you are using the trick from the command-line or from an sessiondon't forget to logout from all other ttys! None of them will get lockedso people issuing <key>CTRL+ALT+F1</key> (ar any Fx keyupon resuming will be able to access themrendering the lock trick totally useless!</note>+<note warning>Advertencia de seguridadsi está utilizando el truco desde la línea de comandos o desde una sesión de X, ¡no olvide cerrar la sesión de todos los demás ttys! Ninguno de ellos se bloquearápor lo que las personas que emitan <key> CTRL + ALT + F1 </key> (con cualquier tecla de Fx) al reanudar el acceso podrán acceder a elloshaciendo que el truco de bloqueo sea totalmente inútil.</note>
  
-==== With pm-utils ====+==== Con pm-utils ====
  
-=== From the command line === +=== Desde la línea de comando === 
-If you dont have an session openthe only way to lock your computer is to logout from your session before hibernationYou can use the following command:+Si no tiene una sesión abiertala única manera de bloquear su computadora es cerrar la sesión de su sesión antes de la hibernaciónPuedes usar el siguiente comando:
 <code>pm-hibernate & logout (OR pm-hibernate & exit)</code> <code>pm-hibernate & logout (OR pm-hibernate & exit)</code>
-It's important to logout from every tty prior to hibernation! ''logout'' will only log you out from the terminal from where you launched the commandPlease read the warning in the following section+¡Es importante cerrar sesión en cada tty antes de la hibernación! ''logout'' solo lo desconectará de la terminal desde donde ejecutó el comandoPor favor lea la advertencia en la siguiente sección
-<note>This trick may not work on fast systemsas ''logout'' may not have enough time to completeYou may think that using '';'' instead of ''&'' could do the trick (as it will log out the user //after// resuming), but it allows the user doing a <key>CTRL+C</key> upon resumingkilling the ''logout'' command.</note>+<note>Es posible que este truco no funcione en sistemas rápidosya que el "cierre de sesión" puede no tener suficiente tiempo para completarsePuede pensar que usar '';'' en lugar de ''&'' podría hacer el truco (ya que desconectará al usuario // después de // reanudar), pero le permite al usuario hacer una <clave> CTRL + C </key> al reanudarmatar el comando ''cerrar sesión''.</note>
  
-=== From an session === +=== De una sesión X === 
-If you want to lock the computer prior hibernationyou can issue the following command (as root of course):\\ +Si desea bloquear el equipo antes de la hibernaciónpuede usar el siguiente comando (como root, por supuesto): \\
 <code># xlock & sleep 5 ; pm-hibernate</code> <code># xlock & sleep 5 ; pm-hibernate</code>
-You can also create the following script:\\ +También puede crear el siguiente script: \\ 
 <code bash>#!/bin/bash <code bash>#!/bin/bash
 echo 'Hibernating in 5 seconds' echo 'Hibernating in 5 seconds'
Línea 94: Línea 93:
 sleep 5 sleep 5
 pm-hibernate</code> pm-hibernate</code>
-''xlock'' is a command that locks your sessionUpon rebootingyou will be asked for the //root// passwordThe ''sleep'' command may be omittedbut I think it's safer to leave itso you are sure that ''xlock'' has enough time to run properlyYou don't have to use ''exit'' (or ''logout''at the end of the command or the scriptas it has no use concerning securityYou may want to use it though to automatically close the xterm on resuming. +''xlock'' es un comando que bloquea tu sesión X. Al reiniciarse le pedirá la contraseña de //root//El comando "sleep" puede omitirsepero creo que es más seguro dejarlopor lo que está seguro de que "xlock" tiene suficiente tiempo para ejecutarse correctamenteNo tiene que usar ''exit'' (''logout''al final del comando o la secuencia de comandosya que no tiene ningún uso con respecto a la seguridadEs posible que desee utilizarlo para cerrar automáticamente el xterm al reanudar.
-<note warning>Security warning: this "trick" will only lock the X system! If you are logged on as root in any of the other ttys, ''xlock'' can be killed, leaving full access to the X session.\\ For people using init3 (no automatic X startup), remember to also logout from the tty from where you launched the X system with ''startx'': hit <key>CTRL+Z</key> (to suspend the task), then ''bg'' (to resume the task in the background), then <key>CTRL+D</key> (or ''logout'') to logout.</note>+
  
-=== An alternate ===+<note warning>Advertencia de seguridad: ¡este "truco" solo bloqueará el sistema X! Si ha iniciado sesión como root en cualquiera de los otros ttys, ''xlock'' puede eliminarse, dejando acceso completo a la sesión de X. \\ Para las personas que usan init3 (sin inicio automático de X), recuerde también cerrar la sesión desde tty desde donde lanzó el sistema X con ''startx'': presione <key>CTRL + Z</key> (para suspender la tarea), luego ''bg'' (para reanudar la tarea en segundo plano), luego <key>CTRL + D</key> (o ''logout'') para cerrar sesión.</note>
  
-If one is a sudoer, ie, can use sudo, then the following can also be used:+=== Una alternativa === 
 + 
 +Si estás usando sudo, entonces también se puede usar lo siguiente:
  
 <code bash>sudo /usr/sbin/pm-hibernate</code> <code bash>sudo /usr/sbin/pm-hibernate</code>
  
  
-===== Further reading =====+===== Lectura adicional =====
  
-  Hibernate to encrypted swap [[http://slackware.osuosl.org/slackware-13.37/README_CRYPT.TXT|README_CRYPT.TXT]]+   Hibernar a swap cifrado. [[http://slackware.osuosl.org/slackware-13.37/README_CRYPT.TXT|README_CRYPT.TXT]]
  
-===== Sources ===== +===== Fuentes ===== 
-  Original source: [[http://www.slackwiki.com/Hibernate]] +    Fuente original:[[http://www.slackwiki.com/Hibernate]] 
-    * Original author unknown - original submissions [[http://www.slackwiki.com/index.php?title=Hibernate&oldid=366|1]],[[http://www.slackwiki.com/index.php?title=Hibernate&oldid=368|2]] +    * Autor original desconocido - presentaciones originales[[http://www.slackwiki.com/index.php?title=Hibernate&oldid=366|1]],[[http://www.slackwiki.com/index.php?title=Hibernate&oldid=368|2]] 
-    * Otherwise [[http://www.slackwiki.com/index.php?title=Hibernate&action=history|rewritten]] by [[wiki:user:yenn|Martin Matějek]] (also on Slackwiki) +    * De otra manera [[http://www.slackwiki.com/index.php?title=Hibernate&action=history|rewritten]] por [[wiki:user:yenn|Martin Matějek]] (también en Slackwiki) 
-    * Hibernate trick by [[wiki:user:zithro|zithro]]+    * Truco de hibernación por [[wiki:user:zithro|zithro]] 
 +    *  Traducido por:  [[wiki:user: slackwarespanol | Victor]]  2019/02/05 11:40 (UTC)
  
 {{tag>howtos hardware hibernation power_saving author_yenn author_zithro}} {{tag>howtos hardware hibernation power_saving author_yenn author_zithro}}
 es:howtos:slackware_admin:hibernation ()