parsed.org

Tips by tag: password

Generating Strong Passwords by cygnus on Apr 05, 2005 10:35 AM

Use the apg utility to generate strong mnemonic passwords:

$ apg -st

Please enter some random data (only first 8 are significant)
(eg. your old password):>
Coydgoceuk6 (Coyd-goc-euk-SIX)
Caculpyep7 (Cac-ulp-yep-SEVEN)
otevDet6 (ot-ev-Det-SIX)
Jiwacwarj6 (Ji-wac-warj-SIX)
gurkOnRyet1 (gurk-On-Ryet-ONE)
EbTarIv0 (Eb-Tar-Iv-ZERO)
apgcommandsgeneratemnemonicneatpasswordsecurityutilities
PostgreSQL Authentication by xinu on Apr 29, 2008 08:28 PM

If you intend to use passwords for local database authentication, you'll need to make an adjustment to the pg_hba.conf file:

# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK        METHOD

#local   all         all                                          ident sameuser
local   all         all                                          password
authenticationidentlocalpasswordpostgresqlpsql
Reset MSSQL Password by xinu on Jun 27, 2008 08:20 AM

To update the password on MS SQL Server 2005:

SP_PASSWORD @NEW = 'new_password', @loginame = 'sa'
microsoftpasswordresetsp_password
Resetting the Root Password by xinu on Sep 10, 2005 12:14 AM

Reset the root password:

1. Insert the Solaris install CD.
2. Issue STOP-A (Ctrl-Break).
3. Type: boot cdrom -s
4. fsck /dev/rdsk/c0t0d0s0
5. mnt /dev/dsk/c0t0d0s0 /a
6. cd /a/etc
7. TERM="vt100"; export TERM
8. vi shadow
9. on root line, delete everything in the second ":" delimited field.
10. exit out of file (ESC :wq! -or ESC ZZ)
bootcommandsconfigurationhackpasswordresetrootsolarisstartup
Run As User by xinu on May 10, 2006 09:19 AM

If you need to make sure your password is working for a particular domain, try running a program as that domain\username.

  1. Right-click on the short-cut and choose 'Run As...'
  2. Change the radio button to 'The following user:'
  3. Enter the domain\username & password.

If the app runs, your auth pair works.

Note: If you need to enable 'Run As' on your system, this Microsoft article will be helpful.

authenticationdomainpasswordwindows
RSS