วันพฤหัสบดีที่ 6 สิงหาคม พ.ศ. 2552

How to disable the "Turn Off Computer" button in windows XP?

Today tip is very useful particularly for those users who want to restrict the common users to shutdown public computer in common areas. You can disable the "Turn off Computer" button on the start menu and a common user will not "Turn Off, Restart and Stand By" a computer. Using registry editor, you can implement this task in all windows XP versions with minimum effort.

Follow the given steps to disable Turn off Computer" button on the start menu:

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 NoClose.







Now assign number 1 in value data box and close the registry editor.







Now close the registry editor and restart your computer after any changes to go into effect.

But next time, if you want to enable "Turn Off Computer" button on start menu then simply change the value of data box to 0 or delete NoClose DWORD

ป้ายกำกับ: ,

How to configure Linux Files Permissions?

Three types of permission read write and execute, Ever file and folder have three relations owner group and
others
[ Read = r write = w execute = x ] [ owner = u group = g other = o ]
[root@pc1 ~] # Ls -Ld /disk
1= nature of object [d=dir -=file L=link]
2= first three permission for owner [ rwx ]
3= second three permission for group members [ r-x]
4= third three permission for others [r-x]
5= number of inodes contain by this directory
6= owner of directory
7= group of directory
8= size of directory
9= creating date of object
10= name of object

google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);
[root@pc1 ~] # Ls -L /disk
Drwxr-xr – x 2 root root 4096 Jan 1 1988 dir1
Drwxr-xr – x 2 root root 4096 Jan 1 1988 dir2
Drwxr-xr – x 2 root root 4096 Jan 1 1988 dir3
Changing permission = give write permission to other on /disk
[root@pc1 ~] # chmod 0+w /disk
Give read write and execute permission for group on /disk
[root@pc1 ~] # chmod g+rwx /disk
Assigning read writ and execute permission to user, group and other with single command
[root@pc1 ~] # chmod u+rwx , g+rwx, o – rwx /disk
Assigning different permission with different commands which separate with semicolon
[root@pc1 ~] # chmod u+rwx /disk ; chmod g+rwx /disk ; chmod 0+rx /disk
Using number system =----- [ Read = 4 ] [ Write = 2 ] [ Execute = 1 ]
rwx=7
r-x=5
---=0
Assigning full permission to owner and no permission for group and others
[root@pc1 ~] # chmod 700 /disk
Assigning full permission for owner and group no permission for other
[root@pc1 ~] # chmod 700 /disk
Assigning full permission to all
[root@pc1 ~] # chmod 777 /disk
Assigning full permission for owner and read, and execute for group and others
[root@pc1 ~] # chmod 755 /disk
Assigning no permission for all
[root@pc1 ~] # chmod 000 /disk
Assigning sticky bit permission for other
[root@pc1 ~] # chmod o+t /disk
Assigning suid permission for owner
[root@pc1 ~] # chmod u+s /disk
Assigning sgid permission for group[root@pc1 ~] # chmod g+s /disk


google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);

ป้ายกำกับ: , , ,

How to enable the Windows Task Manager and Regedit Editor?

Today tip will help you to unlock the windows Regedit Editor and Task Manager. Normally the reason of this message is that your computer has been infected by virus, trojan, or piece of spyware and message look like" Registry editor has been disabled by your administrator" or "Task Manager has been disabled by your administrator". By default Windows Task Manager and registry editor status is enabled, but a user can also disable or enable it manually. Some time a registry hack applies on both editors to disable it. Before proceeding further, first scan your system with up-to-date antivirus, and then follow the given steps to enable it.
To enable this feature, you will need to be logged into your computer with administrative rights.
First go to the link of registry tools to access the useful script file and download it to your computer hard disk.
Now double click on this file to run this .vbs file and then a small message will appear on screen.
Here click on Open button to execute this file and you will get a confirmation message on screen.
Click on Ok button to finish the process and now you can run the both windows editors.

ป้ายกำกับ: , ,