Quote:
If I'm right in thinking that startx is for the linux GUI then I don't start x in a way that I can type it,
|
Im not sure how you would pass that flag to X in runlevel 5, on my Mandrake 9 install the process starts from /etc/rc5.d/S30dm which apparently calls /etc/X11/prefdm I dont know where the trail leads from there.
I also wanted to mention that if you dont really need sendmail you can close port 25 by shutting it down. If you do need to run it, check to see if your vendor
has an update, a recent hole was discovered. Also you might want to read up on sendmail security to make sure you dont accidently have an open relay going.
To shut down portmap "/etc/init.d/portmap stop" Use ntsysv, checkconfig or tksysv whatever comes with suse to prevent it from starting.
To run an ssh daemon from init copy your ssh dir (probably /etc/ssh) to another
location (mine is /etc/sshA) edit the sshd start up file to your liking
custom port, interface etc. and put this in your /etc/inittab (assuming that you new dir is /etc/sshA):
#Emergency sshd
ss:12345:respawn:/usr/sbin/sshd -D -f /etc/sshA/sshd_config
I run this only on the outside interface and run it from init because if the kernel starts running out of memory when the machine is in trouble init is the last thing to be killed.