Linux and network security - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

Linux and network security

Description:

A short two-part talk introducing: Basic Linux/Unix system administration (CentOS/RHEL5) ... Linux Documentation Project. http://newton.ex.ac.uk/LDP/ Search Engines! ... – PowerPoint PPT presentation

Number of Views:91
Avg rating:3.0/5.0
Slides: 22
Provided by: CSIT3
Category:

less

Transcript and Presenter's Notes

Title: Linux and network security


1
Linux and network security
  • A short two-part talk introducing
  • Basic Linux/Unix system administration
    (CentOS/RHEL5)
  • General Computer/Network security
  • for the G53SEC module.
  • Nick Reynolds.

CentOS 5
2
Adding Accounts
  • Need entry in /etc/passwd
  • Need password in /etc/shadow
  • Need home directory /home/username
  • Correct Permissions
  • man adduser
  • adduser ltusernamegt
  • man passwd
  • passwd ltusernamegt

Gui Alternative redhat-config-users
3
The Telnet Server (telnetd)
  • Runs on receiving a connection
  • man xinted
  • Start with
  • chkconfig krb5-telnet on
  • Stop with
  • chkconfig krb5-telnet off

4
Configuring the Telnet Server
  • Read manual page
  • man telnetd
  • Set up accounts using
  • adduser
  • Change account shell
  • chsh ltusernamegt
  • (Tip man ssh, chkconfig sshd on/off)

5
Other Services
  • ftp server
  • httpd server (apache)
  • ssh server

6
Network Configuration (Optional)
  • redhat-config-network-gui

7
Software Installs Distribution
  • Searching
  • yum search string
  • Installing
  • yum install package
  • Staying up to date
  • yum update
  • Lots more!
  • man yum man yum.conf

8
Monitoring The System
  • Check logs
  • /var/log/
  • Monitor network activity
  • tcpdump
  • Monitor processes
  • ps
  • top

9
Useful Commands
  • Move between accounts
  • /bin/su username
  • Permissions and ownership
  • chmod ltmodegt ltfilenamegt
  • chgrp ltgroupgt ltfilenamegt
  • chown ltusergt ltfilenamegt
  • Manual pages
  • man ltcommandgt

10
Useful Resources
  • CentOS5 (RedHat EE) Documentation
  • http//netlab-gw.cs.nott.ac.uk/centos/5/docs/
  • http//ftp.cs.nott.ac.uk/centos/5/docs/
  • Linux Documentation Project
  • http//newton.ex.ac.uk/LDP/
  • Search Engines!

11
Final CentOS Notes
  • Many ways to achieve the same result.
  • Experiment within a user account.
  • Dont make to many changes in one go.
  • Stay up to date (yum update)
  • Advanced methods to configure servers
  • man pam

12
General Network/Computer Security
  • Encryption
  • Access Permissions
  • Who/what do you trust?
  • Network Infrastructure

13
Encryption

14
Encryption
Use secure Protocols Insecure Secure telnet
ssh ftp scp imap imaps http https
15
Access Permissions
16
Access Permissions
  • File/directory permissions
  • Firewalls

17
Who/What do you trust?
18
Who/What do you trust?
  • DHCP?
  • IP Addresses?

19
Network Infrastructure
20
Network Infrastructure
  • Where does your data go?
  • Switches? Hubs? Which route?
  • Wi-fi

21
The End!
Write a Comment
User Comments (0)
About PowerShow.com