Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-0308:23 AM
Trouble using CSF file to disable apc account
I'm having trouble using a csf file to mass configure user and user preferences FA176542 to disable the apc super user account.
I'm experiencing this problem on an older AP8841 PDU (with AP9538 NMC2 running rpdu2g 7.0.8), but the same csf works fine on a newer AP8841 with 0N-1570 NMC3.
My apc.csf is simply:
user -n apc -cp {currentpassword} -e disable
The event log states:
Invalid parameter in CLI script file apc.csf on Line 1
I'm wondering if it's a bug in the 7.0.8 firmware?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-0310:03 AM
A difference between NMC2 and NMC3 is that NMC2 prompts for confirmation when disabling the hard-coded user and NMC3 doesn't. My guess is that the prompt occurs to the .csf and it fails because it's non-interactive. It's looking like a bug and I've opened a case with support.
***NMC2
admin@apc>user -n apc -cp apc -e enable
E000: Success
admin@apc>user -l
E000: Success
Name User Type Status
---- --------- ------
apc Super User Enabled
device Device Disabled
admin Administrator Enabled
readonly Read-Only Disabled
test Administrator Disabled
admin@apc>user -n apc -cp apc -e disable
Note: Disabling the Super User account may have undesired effects! Ensure
at least one user on the system is enabled and has Administrator privileges.
Continue disabling the Super User account (y/N)?
E100: Command Failed
*** NMC3
admin@apc>user -n apc -cp abcd1234 -e enable
E000: Success
admin@apc>user -l
E000: Success
Name User Type Status
---- --------- ------
apc Super User Enabled
device Device Disabled
admin Administrator Enabled
readonly Read-Only Disabled
test Administrator Enabled
pduadmin@apc>user -n apc -cp abcd1234 -e disable
Note: Disabling the Super User account may have undesired effects! Ensure
at least one user on the system is enabled and has Administrator privileges.
E000: Success
pduadmin@apc>