Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated sample configuration

  • Loading branch information...
commit 6783e552259d405b2af18ddd6fc1914faf074a8a 1 parent acd534b
@lwille authored
Showing with 8 additions and 9 deletions.
  1. +8 −9 etc/security/hosts_allowed.yml
View
17 etc/security/hosts_allowed.yml
@@ -1,9 +1,8 @@
# Configuration file for allow_hosts script by Leo
# Allowed hostnames
hostnames:
- emma: emma-mobil.kicks-ass.net
- erich: erich.homelinux.org
- flo: flobraeuer.dyndns.info
+ fred: fred.homelinux.org
+ eric: eric.kicks-ass.net
# Files to change
# The script looks after a BEGIN allowed_hosts ... END allowed_hosts block in each file
@@ -14,14 +13,14 @@ hostnames:
# ip
# host
# name
-# After each line, a newline character is automatically inserted.
+# After each line, a newline character is inserted automatically.
files:
- ssh:
- path: 'access.conf'
- comment: "# #{name}/#{host}"
- line: "+ : root : #{ip}"
postgres:
- path: 'pg_hba.conf'
+ path: '/etc/postgresql/8.3/main/pg_hba.conf'
comment: "# #{name}/#{host}"
line: "hostssl\tall\t\tall\t\t#{ip}/32\tmd5"
+ ssh:
+ path: '/etc/security/access.conf'
+ comment: "# #{name}/#{host}"
+ line: "+ : root : #{ip}"
Please sign in to comment.
Something went wrong with that request. Please try again.