Thursday 18 December 2008

Removing the default proxy setting for RedHat's "yum"

If you had set up the yum wizard to use an http proxy, these settings/environment variables are placed in /etc/sysconfig/rhn/up2date.

So, if you decide to remove/stop using this default proxy, you would need to modify the above file by setting the following variables to the respective values:

enableProxy=0 <- set this value to 0 (zero)
httpProxy= <- remove the proxy string
proxyUser= <- remove the username string
proxyPassword= <- remove the password string

Wednesday 19 March 2008

Accessing the console session (session ID 0) using Remote Desktop

1. Open the Group Policy snap-in (Gpedit.msc).
2. In the left pane, under the Computer Configuration branch, expand the Administrative Templates branch.
3. Expand the Windows Components branch.
4. Click the Terminal Services folder.
5. In the right pane, double-click "Sets rules for remote control of Terminal Services user sessions".
6. On the Setting tab, click Enabled.
7. In the Options box, click Full Control with users' permission, and then click OK

Another way to open the console session (session ID 0) is to issue the command:
mstsc /v:<server name or IP address> /admin /console