Help about first installation...
Hi all. I´m newbie in Linux and i need help in basic matters. 1) I need to execute some code when starts my Suse 7.1. Where i need to put the code? In what file i can enter the code? 2) i use SSH to remotly log to my Linux. How can i put restrictions for only allow connections from my remote pc IP. thanks in advance. PD: If you know some URL for how to´s about this subjects... please i want to read them. thanks again and exuse my english (really sucks).
Rodrigo wrote:
Hi all. I´m newbie in Linux and i need help in basic matters.
1) I need to execute some code when starts my Suse 7.1. Where i need to put the code? In what file i can enter the code?
check /etc/init.d/boot.local
2) i use SSH to remotly log to my Linux. How can i put restrictions for only allow connections from my remote pc IP.
Check /etc/hosts.allow and it starts with SSHD:xxx.xxx.xxx.xxx Not sure how to add more ip's.
thanks in advance.
PD: If you know some URL for how to´s about this subjects... please i want to read them. thanks again and exuse my english (really sucks).
Matt
Hi Rodrigo, I'm going to ask you in Spanish because you said that you have some problems with your English, I hope that you haven't any problem with your Spanish :) --ed
Hi all. I´m newbie in Linux and i need help in basic matters.
hola Rodrigo... espero que hables español ya que veo que tu ultima linea dice que tienes problemitas con el Inglés :) veamos a ver
1) I need to execute some code when starts my Suse 7.1. Where i need to put the code? In what file i can enter the code?
/etc/rc.d/rc5.d y ahi colocas tu script para que se ejecute cada vez que SuSE levanta, como recomendación sigue la nomenclatura Standard de Linux con tu script: ej: si tu script se llama /home/rodrigo/hola.exe entonces creas en /etc/rc.d/rc5.d un "soft link" que se llame S99hola.exe y que apunte a donde se encuntra tu script. Esto para que se ejecute cada vez que se levanta el servidor.
2) i use SSH to remotly log to my Linux. How can i put restrictions for only allow connections from my remote pc IP.
/etc/hosts.allow /etc/hosts.deny y ahi pones quienes quieres que se puedan conectar y quienes no, sea por IP o por nombre.
thanks in advance.
PD: If you know some URL for how to´s about this subjects... please i want to read them. thanks again and exuse my english (really sucks).
espero que esta información te sirva de algo, y cualquier cosa aca estamos para en lo que pueda ayudarte. bye --ed
participants (3)
-
Linux - User
-
Rodrigo
-
StarTux