Re: Eliminar Mensaje de Bienvenida por SSH
----- Original Message -----
From: <igsainz-aja@telefonica.net>
To: <debian-user-spanish@lists.debian.org>
Sent: Thursday, November 07, 2002 4:28 PM
Subject: Re: Eliminar Mensaje de Bienvenida por SSH
> Hola a todos,
> el 07 de nov de 02, a las 12:08 -0600, Heriberto escribio:
>
> > Saludos Debianitas,
> >
> > El día de ayer por fin logré configurar un shell restringido para
ciertos
> > usuarios dentro del sistema, se planea que se firmen al servidor por
medio
> > de secure shell, al firmarse aparece la siguiente leyenda:
> >
> > Linux debian 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown
> >
> > Most of the programs included with the Debian GNU/Linux system are
> > freely redistributable; the exact distribution terms for each program
> > are described in the individual files in /usr/share/doc/*/copyright
> >
> > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> > permitted by applicable law.
> >
> > ¿Existe alguna forma de quitar o sustituir esa leyenda?
>
> El mensaje que aparece cuando te conectas por ssh esta escrito en
/etc/motd
> PERO aunque lo modifiques el nuevo mensaje (el tuyo) solo dura hasta que
> reinicies ya que este se genera cada vez que arrancas la maquina y ahora
> no me acuerdo a partir de que archivo se generaba.
>
> Siento no poder decirte mas.
> Un saludo.
>
> Ivan Garcia Sainz-Aja
> igsainz-aja@telefonica.net
>
Yo te digo mas ...
debian:~# cd /etc/
debian:/etc# l -d rc*
drwxr-xr-x 2 root root 4096 Nov 11 2001 rc.boot
drwxr-xr-x 2 root root 4096 Oct 7 10:54 rc0.d
drwxr-xr-x 2 root root 4096 Oct 7 10:54 rc1.d
drwxr-xr-x 2 root root 4096 Oct 7 10:54 rc2.d
drwxr-xr-x 2 root root 4096 Oct 7 10:54 rc3.d
drwxr-xr-x 2 root root 4096 Oct 7 10:54 rc4.d
drwxr-xr-x 2 root root 4096 Oct 7 10:54 rc5.d
drwxr-xr-x 2 root root 4096 Oct 7 10:54 rc6.d
drwxr-xr-x 2 root root 4096 Jul 4 16:45 rcS.d
debian:/etc# l rc.boot
total 0
debian:/etc# cd rcS.d/
debian:/etc/rcS.d# grep motd *
S55bootmisc.sh:# Update /etc/motd.
S55bootmisc.sh: uname -a > /etc/motd.tmp
S55bootmisc.sh: sed 1d /etc/motd >> /etc/motd.tmp
S55bootmisc.sh: mv /etc/motd.tmp /etc/motd
debian:/etc/rcS.d#
mmm... parece que S55bootmisc.sh esta regenerando el /etc/motd ...
Saludos
Fernando
Reply to: