On Sun, 17 Jul 2005, sly wrote:
M. Lewis wrote:
sly wrote:
Damian Menscher wrote:
On Sun, 17 Jul 2005, sly wrote:
M. Lewis wrote:
sly wrote:
M. Lewis wrote:
sly wrote:
on the stkserver i shared with nfs the folder /mnt/stuff
Jul 17 17:30:51 stkserver portmap[2894]: connect from 222.169.100.101
to getport(nfs): request from unauthorized host
# cat /etc/hosts.allow
portmap: 222.168.100. : 127.
i modified the /etc/hosts.deny file to deny nothing and now it works!
You never told us you had an /etc/hosts.deny file. Out of curiosity,
what was in it? Not that it should have mattered here anyway.... I
i followed the instructions from a book, and it said the /etc/hosts.deny
should have:
portmap: ALL
and as soon as i deleted this line it worked!
/etc/hosts.deny
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
So what you had (portmap: ALL) explicitly said to NOT allow portmap from
ANYONE.
Wrong. The hosts.allow is read first.
well, it was intended to deny all and allow only what was needed.
Your intentions were correct. Your typing, however, needs some
improvement. Note that your portmap allows stuff from 222.168.100.*,
but you're trying to mount from 222.169.100.101.
Fix your hosts.allow file and put the hosts.deny back in place. And
remember to actually read error messages in the future. Every
character. Some characters are important, even if it's a single bit.
Damian Menscher
--
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <menscher@xxxxxxxx> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-