SFTP on Ubuntu

SFTP Group and Service Creating Users Repeat the process below for every SFTP only user you want to add to the server. create user sudo adduser sftpuser1 prevent ssh login & assign SFTP group sudo usermod -g sftpusers sftpuser1sudo usermod -s /bin/nologin sftpuser1 chroot user (so they only see their directory after login) sudo chown […]

Read more
MySQL backup user and permissions for batch

I have been looking for a user and assign specific permission to backup my database using a batch program. First create a user using below query. CREATE USER ‘backup’@’localhost’ IDENTIFIED BY ‘secret’; Use below query to assign permission he would require to create backup of databases. GRANT SELECT, SHOW VIEW, RELOAD, REPLICATION CLIENT, EVENT, TRIGGER, […]

Read more
Reset LINUX root password

Forgot your root password! Thinking of reinstalling OS and loosing current data. Not to worry this remarkable opensource OS are meant to be user-friendly. Follow these steps and you can reset your password without a re-installation. Hit shift key at the beginning of boot Select Advanced and go into recovery mode Using the arrow keys […]

Read more
Node.js and npm for behind proxy networks

Setup Node.js and npm for behind proxy networks The Systems that are all present inside the proxy requires npm proxy setup separately. npm uses a configuration file to apply the proxy setting, which can be modified through command prompt. npm config set proxy http://proxyhost:proxyport npm config set https-proxy http://proxyhost:proxyport To Remove proxy npm config rm […]

Read more
Who am I

Hi! Thanks for stopping by. I am born and brought up from Andaman & Nicobar Islands, a group of tiny islands in the Bay of Bengal with tribal habitat, culture, large rainy forests, sandy sea shore and rich natural vegetation, I had a wonderful childhood and memories from there, I have a Bachelor in computer […]

Read more