File: jail.bind9.hpux

package info (click to toggle)
bastille 1%3A1.3.0-2.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,576 kB
  • ctags: 397
  • sloc: perl: 8,407; sh: 1,879; ansic: 638; makefile: 203; csh: 17
file content (33 lines) | stat: -rw-r--r-- 886 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Bind 9 Chroot Jail Listing for HP-UX
#
#  all formats explicitly state ownership and permissions except
#  slink as they cannot be set by usual functions.
#  formats:
#   "dir" makes directory in the jail 
#    dir path permissions owner group
#	 dir etc 555 root daemon
#
#   
#   "file" copies source file to destination_dir/destination_file 	
#    file source destiation_dir destination_file permissions owner group
#	file /dev/null etc/passwd 555 root daemon
#
#    slink makes a pseudo link from some location in the jail to 
#     a location outside of the jail.
#    	slink var/run/named.pid /var/run/named.pid
#
# /var/run of chrooted environment
# NOTE: you must create the named user and group first
dir var/run 0755 named named

file /usr/sbin/named usr/sbin/named 0555 2 2
file /etc/protocols etc/protocols 0444 2 2
file /etc/resolv.conf etc/resolv.conf 0444 2 2