Skip to content

Commit

Permalink
Updated sample configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonhardt Wille committed Mar 11, 2010
1 parent acd534b commit 6783e55
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions 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
Expand All @@ -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}"

0 comments on commit 6783e55

Please sign in to comment.