July 2015


linux

Samba File Share Service

Install and start samba server: # yum install samba # service smb start # chkconfig smb on   Add users and group: # useradd user01 # passwd user01 # useradd user02 # passwd user02 #…


linux

Redhat Linux sudo users

This page gives basic information about Sudo users. The file used by sudo is /etc/sudoers Never use vi to open this file. Use the command “visudo” user1 ALL=/usr/sbin/useradd By adding this in sido file user1…



firewall

Linux iptables as a Router

Netfilter : The actual filtering in a Linux box is done using Netfilter. Iptables : is the tool used to create this filters. Iptables maintain state-full firewall. Ipchains does not maintain state-full firewall The module…


is

NIS : Network Information Service

An NIS system maintains and distributes a central directory of user and group information, hostnames, e-mail aliases and other text-based information in a network. Though not the core purpose, NIS can be used for centralized…


fileshare

NFS : Network File System

A network file system is a computer file system that supports sharing of files, printers, etc over a computer network. Package : nfs-utils.rpm Configuration file : /etc/exports Daemon : nfs Procedure to share a folder…


terminal

Linux SSH (Secure Shell)

SSH is a network protocol. It allows data to be exchanged using a secure channel between two networked devices. Same protocol is used for: ssh sftp scp RPM packages required to rum ssh includes: Openssh.rpm…


file tansfer

File Transfer Protocol (FTP)

Package: vsftpd—-.rpm Configuration file: /etc/vsftpd/vsftpd.conf Package: ftp (client) Two types of login: (a) Anonymous login: Anyone can login using the username “anonymous” or “ftp”, with password field blank. Here the user will be restricted to…


dns

Bind DNS Service

DNS is a structured database system that maps a computer’s fully qualified domain name into an IP address. Computers in a network use IP addresses to locate and connect to each other, but IP addresses…