Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Security guidelines for Gentoo
Date: Thu, 14 Mar 2002 04:10:53
Message-Id: 1016100663.6515.35.camel@workshop.saharact.lan
In Reply to: Re: [gentoo-dev] Security guidelines for Gentoo by Einar Karttunen
1 On Thu, 2002-03-14 at 11:29, Einar Karttunen wrote:
2 > On 14.03.02 10:11 +0100(+0000), kn@××××××××××.dk wrote:
3 > > Considerations before installation
4 > > BIOS password
5 > If the machine is a server set the bios password only to guard
6 > against modifying the settings i.e. it should not be asked on
7 > startup because of remote reboots. Also make sure the machine
8 > will not boot from floppy/cd/network.
9 >
10 > > Password policy
11 > Gentoo could have a stricter pam config on this
12 > because currently very weak passwords get through.
13 >
14
15 Hi, this is in the works with masked pam-0.75-r4 and shadow-4.0.2.
16 It uses pam_stack.so and libcrack to check for weak passwords.
17
18 If you want to help test these, just merge them, update the stuff
19 in /etc/pam.d and give it a reboot (for libcrack to kick in) and
20 let me know.
21
22 > > Tightening the security after/during installation
23 > > /etc/make.conf
24 > To this I would like to add signed ebuilds.
25 >
26 > > Grub/Lilo password
27 > Against modifications yes, but not hindering the boot.
28 >
29 > > More Logging
30 > Add log rotation to this
31 >
32 > > -noexec
33 > Noexec is no real solution on linux.
34 >
35 > > PAM
36 > Should be IMHO tighter by default.
37 >
38 > > Kernel security
39 > > /proc
40 > Some form restricting proc i.e. all
41 > users but those belonging to one group
42 > cannot see *anything* they don't need.
43 >
44 > > Kernel patches
45 > > Grsecurity
46 > Currently fails against the gentoo kernel
47 > (see some posts this week about it on the
48 > gentoo-dev list)
49 >
50 > > Using xinetd
51 > Or using no inetd at all. Many servers/home machines
52 > which run only http, ssh and mail do not imho need
53 > inetd at all.
54 >
55 > > X
56 > Make sure the default installation does not listen to tcp.
57 >
58 > > Lpd
59 > For home users pdq is more easy.
60 >
61 > > FTP
62 > oftpd
63 >
64 > > Mail
65 > On desktop machines the mail daemon should not accept connections
66 > from outside.
67 >
68 > > Chroot
69 > I have an jail ebuild if someone is interested.
70 >
71 > - Einar Karttunen
72 > _______________________________________________
73 > gentoo-dev mailing list
74 > gentoo-dev@g.o
75 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
76 --
77 Martin Schlemmer
78 Gentoo Linux Developer, Desktop Team
79 Cape Town, South Africa