Fecha de última modificación:

8 Agosto, 2010 - 18:05

Como acceder al modo mono-usuario (o al nivel de ejecución 1)

Desde la imagen de arranque de Grub, seleccione la versión del kernel que desee arrancar y pulsar la tecla e para editar. Seleccione la línea que inicia con kernel y pulsar la tecla e para modificar la línea. Vaya al final de la línea y teclee single. Pulse Intro para salir del modo modificar. De vuelta en la pantalla de GRUB, escriba b para arrancar en el modo monousuario. init le quita el control del proceso a sulogin (que es el que pide usuario y contraseña). Si se introduce la contraseña correcta de root abrirá el intérprete de comandos. Para saltarse la contraseña de administrador y pasar al modo multi-usuario use Contrl+D. En los sistemas Suse, Debian y Ubuntu solo se montara la partición root y en solo lectura, utilizando el comando:

mount -o remount -rw / monto / en modo lectura y escritura.

En vez de pasarle al kerner la instrucción de que arranque en modo mono-usuario (single), también se usan:
init=/sbin/init Le dice al kernel que utilice init=/sbin/init como programa de inicio
init=/bin/bash Inicia el shell bash, (utilizados en recuperaciones de emergencia).

También desde la imagen de arranque de Grub, se pude pulsar la tecla c y se entra en modo línea de comandos de Grub.

Se puede acceder al modo mono-usuario desde cualquier nivel de ejecución ejecutando telinit 1

Leer más sobre: 

¿Te resulto útil?: 

1

Comentarios

Buenas noches, cometí el error de agregar en /etc/pam.d/sshd las lineas

domsrv soft nofile 20000
domsrv hard nofile 49152

esto fue debido a que Lotus Domino 8.5.3 FP1 sobre Sles 11 en la consola presentaba el mensaje

WARNING: The maximum number of file handles (ulimit -n) allowed for Domino is 8192. See IBM Lotus Tech Note 1221870 and set the allowable maximum to 20000.

el Tech Note dice

For this case, the default must be overridden by modifying the file /etc/security/limits.conf AND insuring it is respected by the login.
Edit /etc/security/limits.conf using root and add or modify the lines:

domsrvr soft nofile 20000
domsrvr hard nofile 49152

where "domsrvr" is an example of the user id that will run the Domino server.
Specify the UNIX user name in the first column that is the owner of the notesdata directory specified during Domino installation.
If more than one Domino partition exists on the same Linux for zSeries platform, repeat these lines for each user id.
The "soft" value specifies the new default file descriptor limit (ulimit -n), and the "hard" value specifies the maximum file descriptor limit that may be set by the user.

In order for these limits to be respected following logon, insure the following line is in the appropriate pam.d login file:

session required /lib/security/pam_limits.so

For example, if ssh login is used, this line must appear in /etc/pam.d/sshd
If telnet is used, this line must appear in /etc/pam.d/login
If rlogin is used, this line must appear in /etc/pam.d/rlogin

The user id must login after the above changes are made and saved.

No puedo acceder al Sles ni desde putty, ssh o directamente desde la consola.

Si podes darme una mana te lo agradeceré infinitamente.

Gustavo

Envíanos tús preguntas, comentarios o sugerencias

 

Solicita Asistencia

Llámenos al:+54-9-11-32788353

Envíenos un e-mail: consultas@ ---Para enviar el SPAM--- francisconi.org

Skype Status for francisconi.hugo.adrian
 

Suscríbete

Suscríbete y recibe las últimas actualizaciones, noticias y más ...
Zircon - This is a contributing Drupal Theme
Design by WeebPal.