Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Editionsecurity reset command line 4

Status
Not open for further replies.

davea2

Technical User
Mar 14, 2005
742
GB
Hi

Some time ago I came across a post here about resetting the security settings on the SE via a linux console login as root, but now cannot find it for the life of me!
Could anyone point me in the right direction please?

Thanks! :)
 
Login with Administrator (SSH) and Searcy in the menu.
Could be the configure menu.

BAZINGA!

I'm not insane, my mother had me tested!
 
I eventually found what i was after (not the actual post though)
It was

/opt/Avaya/clish

Cheers

 
Thanks for posting a resolution. It would be really cool if you could write a short FAQ detailing the proceedure and post it for later reference.

Dermis and feline can be divorced by manifold methods.*
*(Disclaimer for all advise given)--'Version Dependent'
 
It should be possible from the cli.

BAZINGA!

I'm not insane, my mother had me tested!
 
You can erase all security settings from the CLI if you're connected locally, but not via SSH that I've found.

Locally you can do the following:

Login as Administrator
Enter - /opt/Avaya/clish (This gives you the Avaya CLI)
Enter - admin
Login as root
You'll get Admin> prompt
Enter - root
Login as root (This will take you to the bash prompt)
Enter - /opt/Avaya/clish (For the Avaya CLI AGAIN)
Enter - admin
Login as root
You'll get Admin> prompt
Enter - at-commands
You'll get AT-commands> prompt
Enter - erasesecurity

This is with Release 11. It seems counter productive that you have to go through these loops, but that's the only combination that I've successfully used. Without entering root and logging in as root, you don't have the permissions to run the security command.
 
It makes sense for security reasons that you can't reset it via SSH, although since you can do it via Manager it doesn't do much :)

Locally I can just login as root and reset it.

resetsecurity_pvilur.jpg


"Trying is the first step to failure..." - Homer
 
Behold the power of 'screen' :)

Code:
AT-commands> erasesecurity
You do not have enough rights to issue this command. You have to be connected locally as root.

AT-commands> exit
Admin> exit
> exit
[root@005056A4E466 kyle]# screen -l
[root@005056A4E466 kyle]# /opt/Avaya/clish
*** Failed to open '/root/.clish' directory

********************************************
*              Avaya IP Office             *
*                                          *
*      WARNING: Authorised Access Only     *
********************************************

Welcome root it is Thu Sep  6 00:10:39 BST 2018
> admin
Please enter Service User:Administrator
Please enter Administrator password:
Incorrect credentials

Logging in as Linux User
Login Successful.
Admin> at-commands
AT-commands> erase
erasesecurity erasesmdr
AT-commands> erasesecurity
Reset security config
AT-commands>
 
Good stuff kyle [thumbsup2]

"Trying is the first step to failure..." - Homer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top