on windoze

C:\> set username=scott
C:\> set password=tiger
C:\> sqlplus %username%/%password%@connect_string

on unix
use ops$ authentication.

HTH