Advanced SUSE Linux Enterprise Server Administration (Course 3038)
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
Enterprise Server
Administration (Course 3038)
Chapter 4
Secure a SLES 9 Server
Objectives
Security policy
Determines what security demands are required for
specific data and resources
Should include the analysis of the remaining risk
Describes the current actual state of security
10
11
12
13
14
15
16
17
18
PAM Configuration
PAM modules are located in directory /lib/security
Every filename starts with the prefix pam_.
control-flag
Required, sufficient, optional, etc.
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
19
20
Dictionary attacks
Password cracking program just tries one word after
another from a dictionary file
21
22
23
/etc/shadow
/etc/samba/smbpasswd
Files with Apache passwords
/etc/openldap/slapd.conf
/boot/grub/menu.lst
24
SGID bit
Lets program run under the GID of the group to which
the executable file belongs
Sticky bit
Prevents users from deleting/renaming each others files
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
25
26
Types of users
File owner, group, and other users
Useful when
Replacing Windows server with Linux server
Providing file and print services with Samba
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
27
access ACL
User and group access permissions for all kinds of file
system objects
default ACL
Determine the permissions a file system object inherits
from its parent directory
ACL entry
Contains a type, a qualifier for the user or group to which
the entry refers, and a set of permissions
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
28
ACL Types
Two basic classes of ACLs
Minimum ACL, Extended ACL
29
30
Examples
setfacl -m u:tux:rx my_file
setfacl -m g:accounting:rw my_file
setfacl -m m:rx
31
32
33
34
35
36
37
38
39
40
41
42
43
www.securityfocus.com/
44
45
46