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?
Gracias a todos por sus comentarios. ;)
Heriberto.
=====
Contrary to popular belief, Unix is user friendly. It just happens to be very selective about who it decides to make friends with.
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
mírate /etc/motd (mensaje del día).
También con /etc/issue y /etc/issue.net, controlas lo relacionado con
mensajes de bienvenida
Salud
Un saludo,
Raúl.
> 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
igsai...@telefonica.net
> Ivan Garcia Sainz-Aja
> igsai...@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
--- Fernando R <f...@ricchi.com.ar> escribió: > ----- Original Message -----
=====
Contrary to popular belief, Unix is user friendly. It just happens to be very selective about who it decides to make friends with.
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
> Muchas gracias a todos por sus comentarios, ya modifiqué el script el
> archivo era bootmisc.sh, a la cual hace referencia S55bootmisc.sh como
> mencionó Fernando. :)
Hay una forma mas "elegante" de cambiar eso, en el fichero /etc/default/rcS puedes cambiar la opcion EDITMOTD a no.
=====
Contrary to popular belief, Unix is user friendly. It just happens to be very selective about who it decides to make friends with.
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com