Search Results for: ftp

How to stop and remove/uninstall SSH server from Linux

How to uninstall SSH server in Linux Redhat/Ubuntu? Some times you in order to make your system more secure you want to stop unwanted service and remove them permanently so that your machine is not compromised. Such service include SSH, FTP etc which should be uninstall if they are not used. In this post we will see how to stop and uninstall SSH server in Redhat based and Ubuntu based machines. On Redhat based machine: Step1: Stop SSH service before uninstalling it. service sshd stop chkconfig sshd off Step2: Remove ssh package from the machine by using below yum command. yum remove openssh-server or to completely remove the package as well from the machine use below command yum erase openssh-server   On Ubuntu machines: Step1: Stop the ssh service before uninstalling it. /etc/init.d/ssh stop or service ssh stop Step2: Uninstalling ssh server package apt-get –purge remove openssh-server That’s it your done with stopping and uninstalling SSH server from Linux Redhat/Ubuntu based machines. Please comment your thoughts on...

Read More

What is UMASK and how to set UMASK in Linux/Unix?

UMASK (User Mask or User file creation MASK) is the default permission or base permissions given when a new file (even folder too, as Linux treats everything as files) is created on a Linux machine. Most of the Linux distros give 022 (0022) as default UMASK. In other words, it is a system default permissions for newly created files/folders in the machine. How to calculate UMASK in Linux? Though umask value is the same for files and folders, but calculation of File base permissions and Directory base permissions are different. The minimum and maximum UMASK value for a folder is...

Read More

CHOWN command in Linux/Unix explained with examples

CHOWN command explained with examples This is our second post in “Linux Files and folders” Series and first one is about chmod command in detail. chown is a command to change the ownership of a file/folder or even multiple files/folders at a time to a specified user/group. CHOWN stands for CHange file OWNer and Group. CHOWN syntax you can use man command to get full details about chown command. man chown chown options user:group file/folder In this post we will see some simple and complex examples which is required for every Linux system admin. I strongly believe learning through...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.