Modifying the Security Database
Go Up to Using gsec Commands
To change existing entries in the security database, use the modify
command. Supply the user name for the entry to change, followed by the option indicating the items to change and the corresponding values to which to change them.
For example, to set the user ID of user “cbrown” to 8 and change the first name to “Cindy”, enter the following commands:
GSEC> modify cbrown -uid 8 -fname cindy
To verify the changed line, use display
followed by the user name:
GSEC> display cbrown user name uid gid full name --------------------------------------------- CBROWN 8 0 CINDY BROWN
- Note: To modify a user name, first delete the entry in the security database, then enter the new user name and re-enter the other information.