[root@server ~]# cat /etc/vsftpd/vsftpd.conf # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive … Continue reading vsftpd.conf file parameters
Day: August 14, 2016
Exit and Exit Status
The exit command terminates a script, just as in a C program. It can also return a value, which is available to the script's parent process. Every command returns an exit status (sometimes referred to as a return status or exit code). A successful command returns a 0, while an unsuccessful one returns a non-zero … Continue reading Exit and Exit Status
How to Download package
[root@puppetagent ~]# yum install yum-utils [root@puppetagent ~]# yumdownloader glibc-2.17-106.el7_2.6.x86_64 [root@puppetagent ~]# ls -l |grep glib -rw-r--r-- 1 root root 3760408 May 12 23:39 glibc-2.17-106.el7_2.6.x86_64.rpm
Ip address classification
Internet Protocol (IP) addresses are usually of two types: Public and Private. If you have ever wondered to know what is the difference between a public and a private IP address, then you are at the right place. In this post I will try to explain the difference between a public and a private IP … Continue reading Ip address classification
Make Rhel-7 & in Graphical mode and runlevel
How To make rhel-7 as graphical desktop yum grouplist yum groups install "GNOME Desktop" or yum groupinstall "GNOME Desktop" yum groups install "Server with GUI" or yum groupinstall "Server with GUI" systemctl set-default graphical.target systemctl start graphical.target How to change the runlevel in rhel-7 or centos-7 systemctl list-units --type=target systemctl get-default systemctl set-default multi-user.target systemctl … Continue reading Make Rhel-7 & in Graphical mode and runlevel
How do I changing run levels 3 to 5?
Default run level is defined in /etc/inittab file. In order to change Linux runlevel from 3 to 5, you need to modify this file. Please follow the instructions outlined below: 1) Login as root user 2) Open /etc/inittab file using vi text editor or gedit GUI text editor # vi /etc/inittab OR Open terminal command … Continue reading How do I changing run levels 3 to 5?
How to Trouble Shoot(REMOTE HOST IDENTIFICATION HAS CHANGED)
How to Trouble Shoot(REMOTE HOST IDENTIFICATION HAS CHANGED) mohammedrafi@NOC-RAFI:~$ ssh -v root@linuxmadeeasy.in OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to linuxmadeeasy.in [192.169.173.171] port 22. debug1: Connection established. debug1: identity file /home/mohammedrafi/.ssh/id_rsa type 1 debug1: identity file /home/mohammedrafi/.ssh/id_rsa-cert type -1 debug1: identity … Continue reading How to Trouble Shoot(REMOTE HOST IDENTIFICATION HAS CHANGED)
ssh logins audit
[root@server ~]# tail /var/log/secure Aug 14 08:50:43 server polkitd[618]: Loading rules from directory /etc/polkit-1/rules.d Aug 14 08:50:43 server polkitd[618]: Loading rules from directory /usr/share/polkit-1/rules.d Aug 14 08:50:43 server polkitd[618]: Finished loading, compiling and executing 2 rules Aug 14 08:50:43 server polkitd[618]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Aug 14 08:50:48 server sshd[816]: Server … Continue reading ssh logins audit
