On Fri, 2003-03-07 at 17:03, Carlos wrote: > > how do i allow access to sshd and samba to all and ftpd to x.x.x.x.78 and x.x.x.x.77 > only?? i use slackware 8.1.... i tried using: ALL: 127.0.0.1 > > > in.sshd: ALL > > > in.smbd: ALL > > > in.nmbd: ALL > > > in.ftpd:x.x.x.x.78, x.x.x.x.77 > > but it didnt work... and the funny thing is, i administered it remotely.... now i > have to go out of my room and go to the office to fix it!!! help!!!!!
;) i presume you've added this line "ALL:ALL" to /etc/hosts.deny, and
your /etc/hosts.allow rules were skipped (that's why you were denied
access). ssh and samba will not work definitely because they are runned
by rc.sshd and rc.samba respectively in /etc/rc.d/. to make this work
you have to run both through inetd. add a line for ssh and samba in
/etc/inetd.conf and everything will be fine ;) as for ftpd there's
already a line there but it's for proftpd just edit it if you're not
using proftpd (but i suggest you use it).
--
-JhAzEr-
GPG Key: 0xCEC3DFE7
Mobile: 0920-2625725
Slackware Linux 8.1
Gnome 2.2
"...And how can they say i never change,
they're the ones they're still the same."
--John Rzeznik
"Many of the things we cling to as truth,
mainly depend on our point of view."
--Obi Wan Kenobi
signature.asc
Description: This is a digitally signed message part
