changeKeywordAll

Purpose:

Enter:

changeKeywordAll <old_keyword> <new_keyword> <filename>

Where:

old_keyword

is the PAM keyword in the file that should be changed

new_keyword

is the new PAM keyword that should replace the old_keyword in the file.

filename

is the name of the PAM file that should have the keyword changed. Wild cards are valid

Example:

changeKeywordAll  USER1  USER2  MYTESTID.*

The above command would change the PAM keyword USER1 to USER2 in any PAM datapoint file whose name begins with ‘MYTESTID.’ in the current directory.  It reads each file and replaces ‘USER1’ with ‘USER2’

Notes:

Be sure to ‘cd’ to the directory containing the files to be changed before entering the command.

See Also: