For those who seek help in different areas of software and hardware platform.

How to disable a user's login without disabling the account under Linux-Unix

Let's say I create a user named "larry" using the adduser command. How can I make sure this user will not be able to login into the system directly, without disabling the account. In short, I want the account to be accessible via su - larry, but I do not want it to be accessible via a regular login prompt.

There are two methods to prevent a user from being able to login:
  1. you can lock the user by editing /etc/passwd
  2. by directly issuing the passwd command with the -l switch

How to install Windows updates without Internet Connection/WSUS

WSUS Offline Update created and maintained by Torsten Wittrock. It’s main purpose is to download all critical and security related Updates to a local folder and execute the required ones on a system, without the necessity to be connected to the internet or a working WSUS Server.

It supports Updates for Windows XP, Windows Vista, Windows 7, Server 2003, Server 2003 R2, Server 2008 and Server 2008 R2 both, Office 2003, Office 2007 and Office 2010. One can select the required languages, in- or exclude Service Packs, .Net Frameworks, C++ Runtime libraries, Windows Defenders definitions, Microsoft Security Essentials and so on. Updates can come either from Microsoft Update directly or also from your WSUS Server.

How to edit windows hosts file

Hosts file is the file used by Microsoft TCP/IP for windows. It shows the mapping of the IP address with its corresponding Host name. It helps to access any web site or web page easily. Mapping the IP addresses with their Host names also help to resolve DNS issues.

Hosts file is generally READ ONLY, in other words you cannot modify them in general. To edit a host file, you need to remove it from READ ONLY constraint and then move it anywhere else to edit it. It can be edited using NOTEPAD.

Video Tutorials