rename Command Rename a Database Record

Valid in the AC environment
capamsc141
Valid in the AC environment
Renames a record name in the database. The record is now known by its new name only.
You cannot rename records in the SEOS, UACC, and ADMIN classes.
To use the rename command, you must have sufficient authority over the record. 
PAM Server Control
makes the following checks until one of the conditions is met:
  • You have the ADMIN attribute.
  • The resource record is within the scope of a group in which you have the GROUP-ADMIN attribute.
  • You are the owner of the record.
  • You are assigned CREATE (for editres) access authority in the access control list of the resource class's record in the ADMIN class.
This command has the following format:
rename classNameoldresourceNamenewresourceName
  • className
    Defines the class to which the record you want to rename belongs.
  • oldresourceName
    Defines the current name of the record in
    PAM Server Control
    .
  • newresourceName
    Defines the new name you want to assign to the record.
Example
The user ADMIN 1 wants to rename the record
spree3
in class Host to
spree4
.
  • The security administrator has the ADMIN attribute.
rename host spree3 spree4