Monday 22 August 2011

How to disable/enable the windows hotkeys combinations?

Today tip help you to restrict your computer users to play with windows hotkeys combinations. Yon can disable any specific windows hotkeys or all combination keys for users.  Using registry editor, you can implement this task in all windows versions with minimum effort.
Follow the given steps to disable windows hotkeys combinations:
To use this feature, you will need to be logged into your computer with administrative rights.
Click Start button and type regedit in Run option then press Enter for next.
Here locate the location to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
 
Here in right side panel, right click to create a new DWORD value with the name NoWinKeys
(it is case sensitive) or modify the existing value called NoWinKeys values and assign number 1 in value data box.
 
Now close the registry editor and restart your computer after any changes to go into effect.
But next time, if you want to enable windows hotkeys combinations then simply change the value of data box or delete the NoWinKeys DWORD item.
 

How can I delete files in Windows XP/2003 without having them go to the Recycle Bin?

You can delete files immediately without having them move to the Recycle Bin first.
There are 2 ways to do so:
The first and easiest (also works for other versions of Windows) is to delete the file, files or directories while pressing SHIFT.
The second method is to go to do it via Group Policy:
1.       Go to the Start menu, select Run and type gpedit.msc
2.       In Group Policy select User Configuration, Administrative Templates, Windows Components, Windows Explorer and find the "Do not move deleted files to the Recycle Bin" setting.
3.       Set it to be enabled.

To display your Username and Computer Name on the 'My Computer'

Here is a tip for those who like to hack the registry.
Preliminary step, show the 'My Computer' icon, go to Control Panel, Display, Desktop (Tab), Customize Desktop, Check My Computer.
Principle: Find the setting for the My Computer object in the HKey_Classes_Root, substitute two variables for the original setting.   Warning: This is a particularly difficult registry change to make so export the registry FIRST. Regedit, File (menu), Export.
Getting Started
a) Use regedit to locate [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} rename LocalizedString to LocalizedString.Old.  I advice this step in case anything goes wrong and you want to revert to how it was.
b) Create a new VALUE type Expand_SZ name it LocalizedString  Set the value of LocalizedString to %Username% at %Computername%
Press F5 to refresh the 'My Computer', there is no need to logoff and certainly do not reboot.



Creating LDAP entry

All the information you can store in a Network Information Service (NIS) can also be stored in an LDAP server. This article describes how to use the 389 Directory Server to function as a Network Information Service by showing how to store the list of service as an example.

Creating an LDAP entry

 
1. Create a new organizational unit called Services that will hold all your services.
 
2. Select the Services organizational unit. Right click an empty space in the right pane, select New then click Other.
New Object 
3. In the New Object window, select ipservice and click OK.
 
4. Fill in the Full name, ipserviceport and ipserviceprotocol and click the Change button.
Change Naming Attribute 
5. In the Change Naming Attribute window, check cn and uncheck ipserviceprotocol. Click the OK button to close the Change Naming window and click OK again to close the Property Editor window.
Directory Services 
6. You should now have a service entry.

Configuring the Client

 
1. Edit the file /etc/ldap.conf and update at least the items below with the appropriate values for your environment.
host ldap.acme.local
base dc=acme,dc=local
nss_base_services ou=Services,dc=acme,dc=local?one
Edit nsswitch.conf 
2. Edit the file /etc/nsswitch.conf and add ldap in the services entry. This will tell the system to also look in the LDAP server when enumerating the list of service.
Edit nsswitch.conf 
3. To test, type in the command below. You should be able to see the entry you added.
getent services

Postfix SMTP Server Setup Howto for RHEL/CentOS 5

Installing and setting up Postfix SMTP Server in Red Hat Enterprise Linux 5 or CentOS 5 is easy. Postfix has secure default settings so we just need to open it up a bit.

Install Postfix and Mail Transport Agent Switcher

 
1. If you did not add postfix and system-switch-mail-gnome during the CentOS installation, you can add it now using Package Manager tool.

Switch to Postfix from Sendmail

By default, Sendmail is the active SMTP server. Here’s how to change it.
Mail Transport Agent Switcher Shortcut 
1. Click System, select Administration, and click Mail Transport Agent Switcher. This will launch the system-switch-mail window.
2. In the system-switch-mail window, select Postfix and click Ok.

Configure Postfix

 
1. Click Applications, select System Tools then click File Browser. This will launch the File Browser window.
 
2. In the Location field, type in /etc/postfix and press Enter. If you don’t see the Location field, click the notepad button to toggle to text-based location bar.
 
3. Double click on the file main.cf to open it for editing. We need to make it listen to network request, accept mails bound to our domain and use maildir which is a better mailbox format than mbox the default.
Find the following keys and change its values as follows
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
home_mailbox = Maildir/
In main.cf, lines starting with # are comments. Save the file after completing your changes.
NoteMake sure that all mail_spool_directory lines are commented out. Otherwise, it will override the setting in the home_mailbox line above.
4. Restart the postfix service. Learn how to restart services here.

Test Postfix

Terminal1. Click Applications, select Accessories, and click Terminal. This will launch the Terminal window.
2. In the Terminal window, type in the highlighted commands below.
Sample postfix session. Replace johndoe with any valid user account. The dot after the line test is a command that should be typed in.
NoteIf you need to add new user accounts,
[root@mail ~]# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.acme.local ESMTP Postfix
ehlo localhost
250-mail.acme.local
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:<johndoe>
250 2.1.0 Ok
rcpt to:<johndoe>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
test
.
250 2.0.0 Ok: queued as 9729067C17
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@mail ~]#

To check if the mail indeed exists
[root@mail ~]# cd /home/johndoe/Maildir/new
[root@mail new]# ls
1185669817.Vfd00I18012M795756.mail.acme.local
[root@mail new]# cat 1185669817.Vfd00I18012M795756.mail.acme.local
Don’t worry, you don’t have to type in the whole filename above. Just type in the first few characters say 118 then press Tab to activate automatic completion.
From johndoe@mail.acme.local  Thu Feb 22 21:48:28 2007
Return-Path: <johndoe@mail.acme.local>
X-Original-To: johndoe
Delivered-To: johndoe@mail.acme.local
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
        by mail.acme.local (Postfix) with SMTP id 9729067C17
        for <johndoe>; Thu, 22 Feb 2007 21:48:26 -0500 (EST)
Message-Id: <20070222134827.9729067C17@mail.acme.local>
Date: Thu, 22 Feb 2007 21:48:26 -0500 (EST)
From: johndoe@mail.acme.local
To: undisclosed-recipients:;

test

[root@mail mail]#
NoteIf you encounter any problems, check the log file at /var/log/maillog.
NoteReview your Postfix aliases configuration file. There are some predefined email aliases that might conflict with your existing mail accounts like sales, marketing, info, etc.

Active Directory

Active Directory is a Microsoft Windows Server technology that provides a variety of network services including LDAP-like Directory services, Kerberos based authentication, and DNS based naming service. It also includes a set of graphical tools that makes managing it a cinch. This article describes how to utilize this powerful technology in the Linux environment.
Active Directory User Account in Linux
Add caption

Active Directory User Accounts in Linux


The Active Directory user accounts can be integrated into Linux in such a way that the AD user accounts appears as if they are native user accounts of Linux. There are two ways to accomplish this
  1. Using Identity Management for Unix/Services For Unix
    Identity Management for Unix is available in Windows 2003 R2 and above while Services For Unix is supported on Windows NT 4.0 and above. IMU/SFU requires more effort to implement but provides more control over user accounts.
  2. Using Samba
    Samba on the other hand is easier to implement due to its template based nature but gives less control over user accounts. In Samba, everyone belongs to the same group and uses the same login shell.

Active Directory Network Services in Linux

Active Directory Network Services in Linux
Windowslinux.co.in
Active Directory includes Kerberos authentication and an LDAP-like Directory services which you can utilize in the various network services of Linux. Below is a sample diagram of Linux network services which can use Active Directory.
change password address book distribution list mailbox quota mailbox location ldap authentication kerberos authentication synchronize ad integration update email squirrelmail dovecot sasl

Five Windows Phone 7 tips

If you recently picked up a Windows Phone 7 device, it's probably your first time using the operating system. It's new to us, and with a new OS comes a host of fresh tricks, features and tips to uncover.
We did some digging for you, and discovered five essential tips that every WP7 owner should master. Watch the video above to get the tips.
  1. Three-in-one calculator: On the face of it, the built-in calculator is one for basic computing. However, you can rotate your device left and right to get access to a scientific calculator.
  2. Launch camera while locked: If your phone is ever locked when you need to capture a photo-worthy moment, now you're in luck: hold and press the camera button for three seconds while the device is locked to take a quick snapshot.
  3. Remove, rearrange apps: To remove an app from the start screen, press and hold it, then tap the icon at the top-right corner. To rearrange an icon, tap and drag it to the desired location.
  4. Add a contact, website to the start screen: If you have a website that you visit often (like Facebook, of course), or a contact that you want to put on speed dial, you can pin them to the start screen. Head to the website you want to add, and zoom in on the area of the page you'd like to display as the icon. Then tap the three dots at the bottom, and select "Pin to start".
    To add a contact to the start screen, go to "People", tap and hold the contact you'd like to add and select "Pin to start".
  5. Learn the settings: Windows Phone 7 has two ubiquitous features: three dots and long pressing. You'll find the three dots in nearly every app, as they give you access to a menu full of settings. Long pressing is takin to right clicking. If you ever want to access more options for a specific element (like a calendar item) long press it to discover a menu of options.



Browser Name:
Browser Version:
Browser Code Name:
User-Agent: