How to list all available WIFI access points with Linux.

Listing all available WIFI access points can be a hassle on Linux, but iwlist makes this very easy. It can be used to list verbose information about any WIFI access points that are near you. Used as root, it will list comprehensive information about each access point. Cell 08 – Address: 10:13:31:22:30:41 Channel:11 Frequency:2.462 GHz … Read more

How to enable sudo on your Linux system with the visudo command.

The visudo command for Linux allows a user to edit the sudoers file and change permissions for users on the system. Open the sudoers file this way. NEVER edit it with a standard text editor. ┌─[jason@neo]─[~] └──╼ $su Password: root@neo:/home/jason# visudo┌─[jason@neo]─[~] └──╼ $su Password: root@neo:/home/jason# visudo This is the result of my editing. I have … Read more

How to block access to the .htaccess file on an Apache web server.

Blocking access to the .htaccess file on your Apache web server blocks access to the file by curious web users that want to see what directives are in it. The code below added to the .htaccess file will forbid all access to the .htaccess file by web users while still allowing it to function. #Deny … Read more

How to use the runas command in Windows to elevate privileges.

The runas command in Windows allows a user to elevate their level of privileges to run a command as the Administrator user. The example below shows the usage of the runas command to open another cmd window as the Administrator user. C:\Users\mike\Documents\openvpn>runas /user:Scott\Dobbo cmd Enter the password for Scott\Dobbo: Attempting to start cmd as user … Read more