Passwords

From S23Wiki

Contents

[edit] your passwords

some hints like min. 8 letters, combined with numbers etc.

[edit] default passwords

The most common default password is <blank> or the 'Enter' password. (Don't forget to try just because its seem to be too easy to be true.)

default password list

  • Website with a huge collection of default passwords for routers, AP's, switches etc. Sorted by manufactor.

[edit] Things NOT to do

[edit] where passwords should NOT be

  1. on a post-it sticker attached to the monitor
  2. in public dumpfiles of mediawikis [1]
  3. on this wiki page ;)
  4. tattooed to your forhead
  5. the name of your new born child
  6. your mantra
  7. in a dictionary

[edit] what passwords u should NOT use

A common passwords list by Openwall Project public domain

This is a list of over 3000 passwords most commonly seen on a set of Unix systems in mid-1990s, sorted for decreasing number of occurrences (that is, more common passwords are listed first).

[edit] FTP archives:

derived exclusively from the ox.ac.uk archive above, but files uncompressed

includes the ox.ac.uk archive and more


[edit] Warning: ironical

[edit] Examples: Good Passwords

something like

susi
peter
123456
qwertz/qwerty
asdfg
letmein
admin
root
irule
owned

or

(very good one)
g33k

[edit] Reset forgotten passwords

[edit] Mediawiki

UPDATE user SET user_password = MD5(CONCAT(user_id, '-',MD5('somepass'))) WHERE user_name = 'whatever';


[edit] bash script

put this into a file resetpass.sh

#!/bin/bash
# mediawiki - reset a user password
read -p "Which username to you want to reset? " username
read -p "Enter new password: " password

mysql -u root -p wikidb -e "UPDATE user SET user_password = MD5(CONCAT(user_id, '-',MD5('$password'))) WHERE user_name = '$username';"
if [[ $? -eq 0 ]]
then
echo "Ok. Updated password of '$username' to '$password'."
exit 0
else
echo "Error. Could not reset password."
exit 1
fi

> chmod +x resetpass.sh

>./resetpass.sh

[edit] MySQL

MySQL#Reset_forgotten_root_password

[edit] Windows

Microsoft: How to log on to Windows XP if you forget your password

[edit] Linux

Wenn du von einem anderen Medium bootest und auf einem System mit aktivierten Shadow Passwörtern die /etc/shadow bearbeitest und dort das verschlüsselte Passwort schlicht entfernst,also das (nur) das Passwortfeld leer lässt (::) kann man sich je nach Distribution direkt ohne Pass einloggen (Suse) oder muss zuerst auf einem anderen System ein bekanntes Passwort verschlüsseln und den daraus resultierenden encrypteten String einfügen (Debian).

How to Reset forgotten Root passwords

Personal tools