Tag Archives: Linux

OpenSSH deny access for users groups and hosts

In an organization where when a server goes live an administrator would need to create a users with variable privileges . Some users will have special permissions with root credentials. We here are trying to block that privileged users from direct ssh log in. To Deny a User Open /etc/ssh/sshd_config file: # vi /etc/ssh/sshd_config Append following names (directives): DenyUsers username …

Read More »

Google command line – GoogleCL

Now access Google services from command line. Google’s new utility called GoogleCL allow you to handle Google services from command line. Initial stage you can use some of the services. That are Blogger, Calendar, Contacts, Docs, Picasa, YouTube . using this tool we can easily upload albums to Picasa web. Import export contacts. add/ remove google contacts. upload videos to …

Read More »

SSH login without password using RSA key authentication

With RAS key authenticating mechanism, you can login (using SSH ) to a server without providing the password. RSA is an algorithm for public-key cryptography. This process is most suitable for working automated process. For automating backups or run some jobs frequently in a trusted server this will contribute an important role. And the other advantage of RSA key authentication …

Read More »

Install android on x86 Based desktop or laptop

Now you can test android without an android supported phone, this will help you to review android OS. Android is a Linux based Operating system for Mobile and tablet devices like netbooks. Here I used Oracle VirtualBox (Virtualization platform ) to install Android. You can install to hard disk directly. X86 Based OS image is available for download. Here I …

Read More »

Know the service running in a port – Linux

In our previous article we explained the steps for windows. Here you can find the steps to identify the service running in a port on linux . Here we used commands “fuser” and “PS”. I am using apache2 web server  on port 80. Replace your port number with 80 (my example with port 80 ) Run following command to find …

Read More »

keytool IUI to manage SSL Certificate in Glassfish Web Server

To setup SSL in different java based web servers like Apache, Tomcat, Glassfish, we generally use the keytool command line to create certificate, generate CSR etc…,  which is a bit complicated and confusing if you are not well versed with the keytool command line, We can make our life much more easier, by using Keytool IUI which is GUI version …

Read More »

Use AWK to print column’s from file

In many times, we all may required an output of specific column in a file, for example we want to know the users in the system, for this we need to open passwd file in /etc folder and view, but the file is having so much of information, it is time consuming  to takeout user name, in that case we …

Read More »

Debian lenny Colorful Bash prompt and file names

Fancy bash and ls color is helpful feature in linux. Once we install Debian lenny, the bash prompt and ls result will show in normal ( black and white ). so i planed to make some changes in the profile file. This will helpful for Linux server administrators. To change in to a colorful prompt do following, Open /etc/profile It …

Read More »

“alias” use it for a good reason

In Linux we all work with lots of log files, like mail, squid, application etc…., all these files located in its own folder, for example, if we want to look for squid access log to monitor the site access, generally we do tail -f /var/log/squid/access.log, this involves lots of typing, we can make this simple with alias command in linux …

Read More »