parsed.org

Tips by tag: authentication

Open a Backgrounded SSH Tunnel by cygnus on May 06, 2006 12:10 AM

If you want to open an SSH tunnel in the background, use the -N and -f switches:

ssh -Nf -L2121:localhost:21 user@host
authenticationencryptionsecurityshellsshtunnel
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
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
Testing Authentication by xinu on Aug 19, 2006 03:32 PM

A way to test whether your domain login credentials are working is via net use on the commandline like so:

c:\> net use \\<computername>\IPC$ /user:<domain>/<username> *

The * forces it to ask for your password. Otherwise, you can replace * with your password to do it all at once. Also, net use supports smartcard authentication, etc.

Thanks to Scott Morrison (a.k.a. "Plaid") for the tip!

authenticationcommandsnetsmartcardwindows
RSS