RMAN connections to a database are specified and authenticated in the same way as SQL*Plus connections to a database.
The only difference is that RMAN connections to a target or auxiliary database require either the
SYSBACKUP privilege. Any user can be granted this privilege.
Recovery Manager: Release 22.214.171.124.0 – Production on Mon Apr 10 09:31:25 2017
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target “ravi@TESTDB1 as sysbackup”
target database Password:
connected to target database: TESTDB1 (DBID=123456789)
As a best practise: As shown above, enter passwords in RMAN only when requested by an RMAN prompt. Good security practise requires that you not enter passwords in plain text on command line.