version 1.38, 2001/04/27 15:57:31
|
version 1.40, 2001/05/21 21:56:35
|
Line 182 www:!!:500:500:www:/home/www:/bin/bash
|
Line 182 www:!!:500:500:www:/home/www:/bin/bash
|
END |
END |
close OUT; |
close OUT; |
open OUT,">>setup_file_list.txt"; |
open OUT,">>setup_file_list.txt"; |
|
print OUT "BinaryRoot/etc/group\n"; |
|
close OUT; |
|
open OUT,">BinaryRoot/etc/group"; |
|
print OUT<<END; |
|
root::0:root |
|
bin::1:root,bin,daemon |
|
daemon::2:root,bin,daemon |
|
sys::3:root,bin,adm |
|
adm::4:root,adm,daemon |
|
tty::5: |
|
disk::6:root |
|
lp::7:daemon,lp |
|
mem::8: |
|
kmem::9: |
|
wheel::10:root |
|
mail::12:mail |
|
news::13:news |
|
uucp::14:uucp |
|
man::15: |
|
games::20: |
|
gopher::30: |
|
dip::40: |
|
ftp::50: |
|
nobody::99: |
|
users::100: |
|
www::500: |
|
END |
|
close OUT; |
|
open OUT,">>setup_file_list.txt"; |
print OUT "BinaryRoot/etc/hosts.deny\n"; |
print OUT "BinaryRoot/etc/hosts.deny\n"; |
close OUT; |
close OUT; |
open OUT,">BinaryRoot/etc/hosts.deny"; |
open OUT,">BinaryRoot/etc/hosts.deny"; |
Line 190 ALL: ALL
|
Line 219 ALL: ALL
|
END |
END |
close OUT; |
close OUT; |
|
|
`install -o 500 -g 500 -m 0700 -d BinaryRoot/home/www`; |
`install -o www -g users -m 0700 -d BinaryRoot/home/www`; |
open OUT,">>setup_file_list.txt"; |
open OUT,">>setup_file_list.txt"; |
print OUT "BinaryRoot/home/www\n"; |
print OUT "BinaryRoot/home/www\n"; |
close OUT; |
close OUT; |