Connectrix Brocade: Commands returning "No chassis permission for the user admin" when ran by the default admin account.
Summary: Why are some commands returning "No chassis permission for the user admin" when run by the default admin account?
Symptoms
The following message is returned when running some chassis level commands by the default admin account:
sw0:FID128:admin> sshutil delknownhost -all sshutil: No chassis permission for the user admin
If a second local account is created with admin privileges, the same command is successful for that user.
Cause
Due to an issue with an internal file in FOS, the default admin account is unable to run certain commands which result in a message of "No chassis permission for the user admin". If there are other switches in the same fabric as the impacted switch that is not exhibiting the behavior, the distribute command can be ran on the working switch to push the settings to the impacted switch.
Resolution
The following example pushes the Password Database and Password Configuration Policy to the switch with a domain ID of three.
#distribute -p PWD -d "3"
If all switches in the fabric are impacted by the issue, Technical support must be engaged to create a serviceshell session in order to run the passwddefault command on one of the impacted switches.
Once performed, the distribute command can then be ran on the recovered switch to push the working configuration to the other switches in the fabric.