How to reset multiple users password on Linux

Wednesday, July 2nd, 2008

How to reset multiple users password on Linux?
Choose a new password using perl with crypt format
#perl -e ‘print crypt(”newpassword”, “salt”),”\n”‘
sal.HhR9nxBk6
Reset password for any userID larger than 499 with new default password “newpassword”
#for acc in $(awk -F: ‘{ if ($3 > 499) { print $1 }}’ /etc/passwd); do
usermod -p sal.HhR9nxBk6 $acc;
done
Reset password for [...]

How To Add Linux User To Group

Tuesday, June 24th, 2008

All Linux users have a user ID and a group ID and a unique numerical identification number called a userid (UID) and a groupid (GID) respectively. Groups can be assigned for a single user or a group or users together for a common security, privilege and access purpose.
/etc/group is an ASCII file which defines the [...]

How’s To Tutorial

Thursday, June 8th, 2006

I wrote few “How’s To tutorials” for the last few months.
There are:

Joomla
BackupPC
Logwatch
suPHP+Apache+PHP]
OpenLDAP
How to install Opera in Ubuntu
LinkSys Firmware Upgrade
SVNManager
GSpace
DenyHosts
How to disable IPV6
How To Configure Home Directories Permission on Linux
How to DENY SSH access for certain user on Linux
Using Active Directory for SuSE Linux 10 Authentication
How to Authenticate to Active Directory on SuSE Linux 9
How to [...]