El dom, 29-01-2006 a las 21:18 +0100, Jon escribió: > > > Bueno, no sé qué paquete ha podido ser. > > Un apt-get -f install no me ayuda nada. > > Y el fichero /etc/init.d/rmnologin tampoco me ayuda demasiado. > > Ahora tengo que borrar a mano el /etc/nologin para poder entrar. Algo es > algo, pero chapuza, no? > > Adjunto el script "/etc/init.d/rmnologin" > > Por mucho que lo borre me vuelve a aparecer. ??? NO tenes que borrar /etc/init.d/rmnologin. Justamente lo que hace este script es borrar el /etc/nologin (lee la descripcion) Fijate si tenes un script nologin en /var/lib/initscripts/ y chequea que rmnologin tenga los links correspondientes en cada runlevel > > Cómo puedo saber quién me lo está regenerando una y otra vez? > documento de texto sencillo adjunto (rmnologin) > #! /bin/sh > ### BEGIN INIT INFO > # Provides: rmnologin > # Required-Start: $local_fs $remote_fs > # Required-Stop: > # Should-Start: kdm xdm gdm $syslog > # Default-Start: 0 1 2 3 4 5 6 > # Default-Stop: > # Short-Description: Remove /etc/nologin at boot > # Description: This script removes the /etc/nologin file as the > # last step in the boot process, if DELAYLOGIN=yes. > # If DELAYLOGIN=no, /etc/nologin was not created by > # bootmisc earlier in the boot process. > ### END INIT INFO > > PATH=/sbin:/bin > [ "$DELAYLOGIN" ] || DELAYLOGIN=yes > . /lib/init/vars.sh > > do_start () { > # > # If login delaying is enabled then remove the flag file > # > case "$DELAYLOGIN" in > Y*|y*) > rm -f /var/lib/initscripts/nologin > ;; > esac > } > > case "$1" in > start) > do_start > ;; > restart|reload|force-reload) > echo "Error: argument '$1' not supported" >&2 > exit 3 > ;; > stop) > # No-op > ;; > *) > echo "Usage: $0 start|stop" >&2 > exit 3 > ;; > esac > > : -- Angel Claudio Alvarez Usuario Linux Registrado 143466 GPG Public Key en http://pgp.mit.edu key fingerprint = 3AED D95B 7E2D E954 61C8 F505 1884 473C FC8C 8AC4
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente