On Mon, 24 Sep 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <fd7cgr$qcp$(E-Mail Removed)>, John wrote:
>Under Redhat 9
Red Hat 9 was obsolete at the end of April 2004, and even the very
limited back-port support at fedoralegacy.org ended over 14 months
ago. Find a current (supported) distribution.
>I want to let 192.168.0.0/24 to enter to the server through
>sshd, and both hosts.allow and hosts.deny filesare set as follows.
>
>hosts.allow
>sshd: 192.168.0.0/24
man 5 hosts_access Your syntax is wrong.
>host.deny
>sshd:ALL
man 5 hosts_access Your syntax is wrong.
>However, all computers even with ip 192.168.0.0./24 cannot enter to the
>server. Why?
hosts.allow
sshd: 192.168.0.
host.deny
ALL: ALL
>Also, as we know, the root account are not allowed to enter to the
>server by default.
>For sshd, if the root account other than the server are not allowed to
>the server, how can we do?
[compton ~]$ whatis su
su (1) - run a shell with substitute user and group IDs
[compton ~]$
Old guy
|