diff options
author | Florin Grad <florin@mandriva.com> | 2001-11-30 12:32:02 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-11-30 12:32:02 +0000 |
commit | 37b9eb060db83ca0966974295136edab17774473 (patch) | |
tree | 2e3e0423089462c995b4943cd0db56ca38dfa656 /init-sh | |
parent | 25e9f23d9c0ffceb4ddf1d1d9ce81ede75a1bbbf (diff) | |
download | msec-37b9eb060db83ca0966974295136edab17774473.tar msec-37b9eb060db83ca0966974295136edab17774473.tar.gz msec-37b9eb060db83ca0966974295136edab17774473.tar.bz2 msec-37b9eb060db83ca0966974295136edab17774473.tar.xz msec-37b9eb060db83ca0966974295136edab17774473.zip |
allow the ssh connexions from everywhere
Diffstat (limited to 'init-sh')
-rwxr-xr-x | init-sh/levelsnf.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init-sh/levelsnf.sh b/init-sh/levelsnf.sh index a4c592f..349d200 100755 --- a/init-sh/levelsnf.sh +++ b/init-sh/levelsnf.sh @@ -24,6 +24,10 @@ AddRules "*.* /dev/tty12" /etc/syslog.conf echo "Denying all kind of connection except localhost : " AddRules "ALL:ALL EXCEPT localhost:DENY" /etc/hosts.deny +# Allow all the ssh connexions from anywhere +echo "Allowing the ssh connexions from everywhere : " +AddRules "ALL:sshd ALL" /etc/hosts.allow + # Login as root on the console allowed : echo "Denying login as root (except on the console) :" AddRules "tty1" /etc/securetty quiet |