Introduction
In the past few years, a number of serious flaws in Windows have been exposed, including MS03-026 [ref 1], the flaw that Blaster [ref 2] used to spread in 2003, right up to the recent Mocbot/Wargbot worm [ref 3] which exploited MS06-040 [ref 4] from August 2006. The number of distinct pieces of malware [...]
Continue reading about Using Nepenthes Honeypots to Detect Common Malware
Hey There,
I’m off to start a new work assignment today (after sleeping in late for a week), so, as you’re reading this I may be trying not to fall asleep on the train or wishing I had slept more and/or was dead In any event, this week, I thought we’d start getting back [...]
Continue reading about Simple Cumulative Math Using Awk On Unix or Linux
How to use useradd in Solaris to add a user
You must be root (superuser) to add a user. An easy way to remember the syntax of the useradd command in Solaris is to run it with no options. Follow the resulting usage information including the parts that you require. Important options are:
-d home-directory-path
This is the [...]
Continue reading about Add a user from the command line in Solaris
Requirements
RedHat Linux (should apply to 7.x and up)
This tutorial covers changing your hostname in RedHat Linux without having to do a reboot for the changes to take effect. I’ve tested this on RedHat 7.3, 9, Fedora Core [...]
Continue reading about Change your Hostname without Rebooting in RedHat Linux
These two scripts are very important for the system admin who regularly works with mail servers and somehow forgets to backup his system username and password! Let’s say somehow we lost the usernames and passwords of the mail server. In this case the admin has to manually create all the users and then change the [...]
Continue reading about Using Bash Script to Mass Create Users And Change Passwords
General Information
This guide will let you know how to manage FreeBSD accounts using pw, a critical application which can manipulate a lot of things that have to do with the /etc/passwd file and /etc/groups file. It can also set certain things like how long the account can be active, until what date it is active and [...]
Continue reading about Managing Users/Groups With pw on *BSD
If you just wanted to change your own password or other user passwords use passwd command.
I was asked to setup a PHP based interface to change the password. Since my knowledge of php is limited. Here is what I did:
Required tools/setup:
You must have following tools/software installed
=> Shell script to change password
=> Sudo access
=> Apache [...]
Continue reading about Change Linux or UNIX system password using PHP script
