Author: Surendra Anne

rdesktop – A Remote desktop utility to access Window’s from Linux

I have windows 2003 domain controller & RHEL 5 machines. I want to access applications which are installed on windows domain controller from RHEL5 machine.  what should I do ?  As most of the time we will be accessing our Linux machines from windows using putty/ssh. so how to access Windows from linux? it’s simple there is an utility in linux called rdesktop which will do the work. Just install the applicaionStep1:Install rdesktop utility#yum install rdesktopStep2: Logging in to remote server#rdesktop  hostname/ipExample:#rdesktop 178.1.23.4Issues in using rdesktopIssue1:I am unable to connect to remote windows server?          1)This issue is manly due security issues such as port blocking, rdesktop uses rdp protocol which uses 3389 port, so this port should not be blocked.           2)On windows system we have to enable remote desktop option, this can be done as below       right click on my computer          ||          ==>properties              ||              ==>Remote tab                  ||                  ==>check mark remote desktop option                      ||                      ==>apply and ok Now try to login to itIssue2:I cant see display properly for remote system(resolution problem and window size problem)           To resolve this issue we have to use rdesktop utility with some options#rdesktop -g resolution -a colors ipaddhere -g is for specifying resolution and -a for specifying colors depthfor example i want a good resolution  and color depth of 24 bit use following command#rdesktop -g 90 -a 24 178.2.13.4Please let...

Read More

What is Sudo and how to implement it in Linux?

Sudo (su “do”) the name it’self indicates that switching user and to do some command as other user specifically as a root user. The difference between su and sudo is that, su is switch user so that we should know the password of user to whom we are going to switch to get his rights. In most of the cases we use su to switch from regular user to root user. But this is a security threat for the superuser password it’self, as we have to share this to people who want to login as root user. Its not advisable to use su command to switch user to root account. If an admin wants to give a normal user some/all admin rights depending on his/her requirements so that he can execute some system level commands and all this is done without knowing root user password. How to implement sudo permissions for an user? To use sudo the sudo package should be installed on the server. Step1: quarry for the sudo package #rpm -q sudo Step2: If the sudo package is not installed install it by below command #rpm -ivh sudo.versionno.arch.rpm Step3: Configuring sudousers #visudo there is no space between vi and sudo in the above command and we have to edit sudousers file like this. when you execute the above command it opens a temporary file which contains all sudo related configuration in it. You will find something like below # sudoers file. #...

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.