Posts

Showing posts with the label Windows

Login remotely to a ADS authenticated RHEL system

This week I was trying to get an RHEL system to authenticate me using my Active Directory credentials. After a bit of looking around, I cam across this wonderful step-by-step procedure to get it done: Attaching a RHEL6 server install to Active Directory for authentication Everything was going on well. I was able to do a local login using: ssh myuser@MYDOMAIN@localhost I just thought it might be cool to try logging in to my newly configured ADS authenticated box over SSH from another machine. So I tried, ssh myuser@MYDOMAIN@192.168.0.1 which obviously didn't work. The shell was treating "MYDOMAIN@192.168.0.1" as the hostname. With a little bit of playing around I found out that the following worked: ssh "MYDOMAIN\myuser"@192.168.0.1 It looks like specifying the domain the way usually Windows expects it really did work if it was enclosed in quotes!

Installing Windows 8 without an optical drive

Finally managed to get Windows 8 installed on a laptop without a optical disc drive. This was a Lenovo ideapad S405 which came pre installed with Windows 8, but since I was more inclined to use Linux on it, I had somehow managed to get Ubuntu installed on it. Now, I'm usually a Fedora guy, but for some reason the driver for the mouse/touchpad which comes compiled into the kernel was less stable in the version of Fedora that I was using, hence the brief switch to Ubuntu. Now when I had to give the laptop away to someone who's going to use Windows most of their time, I had to make sure that I could install Windows back onto it. I must say, that in spite of being warned by the salesman at the store to maintain a backup of Windows 8 if I was to wipe out Windows form the laptop; I did not follow his advice. I started off obtaining the iso for Windows 8, which could then be restored onto a USB drive with at least 4GB of storage capacity. When I tried directly restoring the iso image...

Accents in Windows 8 on a Mac

Having been used to the Compose Key in Linux, I was trying to find out a way to type Portuguese (accented) characters in Windows 8 installed on a Macbook Pro. After reading up about the Dead key and use of AltGr key, I started experimenting with different key combinations. My keyboard layout was set to US (English). While playing around with different keys, I just found out that you could use the left "control" key in almost the same way as you would use the "Compose Key" on Linux. For example,   <Ctrl>` a  gives you,   à  While using the control key, do mind the fact that in many instances, "CTRL"+<some aplhabet> are bound to some default actions, like <CTRL>+o opens a new file, etc. Well, that seems to work well only in the address bar of Chrome. So, next I figured that you can actually use others keys as well instead of just the <Ctrl> key if you change your keyboard layout to US-International Keyboard layout. <Alt> + ...

Backslashes and MinGW32

I was trying to create a directory today inside an existing directory in MinGW32 on Windows 8. When I tried executing the following command, mkdir code\project it just didn't complain about anything, but it did create a directory - not exactly the way I intended it to. It created a directory "codeproject" by simply stripping off the backslash from the command. If you still need to use backslashes only, then you should enclose the path in quotes like, mkdir "code\project" else, you could use forward slashes instead of backslashes.