Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Linux System Administration - Linux Network Administration - Lecture Slides, Slides of Computer Security

The key points in the computer security are:Linux System Administration, Setting the Run Level, System Services, User Management, Network Settings, Scheduling Jobs, Quota Management, Backup and Restore, Adding and Removing Software, Setting a Printer

Typology: Slides

2012/2013

Uploaded on 04/22/2013

sathaye
sathaye 🇮🇳

4.8

(8)

106 documents

1 / 15

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linux System Administration
LINUX SYSTEM
ADMINISTRATION
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Linux System Administration - Linux Network Administration - Lecture Slides and more Slides Computer Security in PDF only on Docsity!

LINUX SYSTEM

ADMINISTRATION

SYS ADMIN TASKS

Setting the Run Level

System Services

User Management

Network Settings

Scheduling Jobs

Quota Management

Backup and Restore

Adding and Removing software/packages

Setting a Printer

Monitoring the system (general, logs)

Monitoring any specific services running. Eg. DNS, DHCP, Web, NIS, NPT, Proxy etc.

Init Runlevels

Desktop Configuration

The default runlevel for a system to boot to is configured in /etc/inittab.

id:5:initdefault:

In GUI: Applications  System Settings  Server Settings Services Generally, Linux operates in runlevel 3 or 5.

Linux Services

There are 113 deamons, Out of them, the following are most widely used:

apmd : Power Management

autofs : Automount services

crond : Periodic Command Scheduler

cups : Common Unix Printing System

dhcpd : The DHCP server

dovecot : IMAP (Internet Message Access Protocol) and POP3 (Post Office Protocol) server

gpm : Mouse

httpd : Apache Web server

Linux Services

sendmail : Sendmail Mail Server

smb : Samba Network Services

snmpd : Simple Network Management Protocol

squid : Squid Proxy Server

sshd : Open SSH and SFTP server

syslog : System Logging

xinetd : Provides support for telnet, ftp, talk, tftp etc.

ypbind : NIS Server

Creating a new User Account

Add an entry in /etc/passwd and /etc/shadow file

(use next uid and suitable gid). You will have to

create the user directory and assign a password to

the user

Use useradd or adduser command to create a new

user (useradd –g -d -c

-s login-name) and groupadd

to create a new group (groupadd group-name). You

will have to assign a password (passwd login-

name)

In GUI: Applications  System Settings  Users

and Groups Docsity.com

/etc/shadow File

/etc/shadow Contains the encrypted password

information for users' accounts and optionally the

password aging information. Included fields are:

Login name Encrypted password Days since Jan 1, 1970 that password was last changed Days before password may not be changed Days after which password must be changed Days before password is to expire that user is warned Days after password expires that account is disabled Days since Jan 1, 1970 that account is disabled

Suspending a User Account

Put a * as start of Password field in /etc/shadow

Change login shell to /sbin/nologin

Use GUI to suspend the user