Entries by howto

How to create restricted user in Linux

Introduction Restricted users are made to run only specific commands allowed by the administrator to execute in terminal. So in order to restrict user following is the procedure. Step 1: Copy bash shell Copy bash shell from /bin/bash and paste it as new restricted bash shell. # cp /bin/bash /bin/rbash# chmod o+x /bin/rbash useradd -s /bin/rbash […]

How to create repository in Redhat 7 Linux

Introduction Repository is database of application installation and up-gradation of packages which are available on different Linux distributions. The packages of distros are available on official websites or you can extract them from official CD/DVD. We can easily install, upgrade or delete packages from repository. Step 1: Mount ISO from DVD or Folder In order […]

How to reset root password in Linux

Introduction If you forgot your root password, then it’s not a big deal. Below are the methods to reset root password in different linux distributions. Step 1: Power on Redat/CentOS 7 Server First power on your Redhat/CentOS 7 server. At the boot menu, select the Kernel you want to boot up and press e to […]

How to Install and Configure dnsmasq in Linux

Introduction Dnsmasq is a lightweight DNS forwarder and resource constrained routers and firewalls. It is widely used for tethering on smartphones and portable hotspots, and to support virtual networking in virtualisation frameworks. Dnsmasq is included in most Linux distributions like FreeBSD, OpenBSD and NetBSD. Step 1: Install dnsmasq First install dnsmasq package using yum command. […]

WiFi Router Security breaches

Introduction Wifi security breaches when the research and development team scanned 32 WiFi router firmware firmware products offered by more than 10 of the most popular home, SMB and enterprise wireless routers in the US, Europe and Asia Manufacturer: Asus, Belkin, Buffalo, Cisco, D-Link, EFM, Huawei, Linksys, Netis and TP-Link. Severity Level The firmware of […]

How to create FTP user and assign quota in Solaris

Introduction File Transfer Protocol(FTP) is a network protocol used for the transfer of files between a client and server on network. Step 1: Create User First create FTP user by using following method. # useradd test # passwd test Step 2: Create FTP user Directory Make a directory in ftpdata folder # cd /ftpdata/ # ls -l […]

4 ways to check size of physical memory in Linux

Introduction In this article we will see basic commands to check the physical memory on the server under Linux. Many beginners struggle to know their system well in the context of resources such as CPU, Memory, Disks, etc. So I decided to write this small item pointing command to check the RAM on the Linux […]

How to install snmp in Redhat 7/CentOS 7

Introduction SNMP stands for Simple Network Management Protocol. It is a protocol used to monitor servers. It is used for collecting information from, and configuring, network devices, such as servers, printers, hubs, switches, and routers on an Internet Protocol (IP) network.\ Step 1: Install SNMP # yum install -y net-snmp net-snmp-utils # cd /etc/snmp # […]

How to set session timeout

Step 1: Introduction The utmpx and wtmpx files are extended database files that have superseded the obsolete utmp and wtmp database files. The utmpx database contains user access and accounting information for commands such as who(1), write(1), and login(1). The wtmpx database contains the history of user access and accounting information for the utmpx database. […]

How to Install TOP package in Solaris 10

Step-1: PreRequisites For installation of top, download the following package. # wget http://www.sunfreeware.com/sparc/10/top-3.6.1-sol10-sparc-local.gz Step-2: Extract Zip File Extract top package using below command. # gunzip top-3.6.1-sol10-sparc-local.gz Step-3: Installation Install and configure top package as given below: # pkgadd -d top-3.6.1-sol10-sparc-local The following packages are available: 1 SMCtop top (sparc) 3.6.1 Select package(s) you wish to […]