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
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
To update the password on MS SQL Server 2005:
SP_PASSWORD @NEW = 'new_password', @loginame = 'sa'
microsoftpasswordresetsp_password
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
If you need to make sure your password is working for a particular domain, try running a program as that domain\username.
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