For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

rado_74536's avatar
rado_74536
Historic F5 Account
Jul 25, 2013

tmsh don't recognise encrypted-password option

hello,

 

i'm would like to change the root and admin password on my f5. I have more than one and doing this on every one is not an option.

 

 

This is the error i'm getting:

 

(Standby)(tmos) modify /auth user admin encrypted-password "$1$.0....0"

 

Syntax Error: "encrypted-password" read-only property

 

 

My sw version is:

 

Standby)(tmos.sys.version) show

 

 

Sys::Version

 

Main Package

 

Product BIG-IP

 

Version 10.2.0

 

Build 1789.0

 

Edition Hotfix HF2

 

Date Tue Sep 14 12:10:57 PDT 2010

 

 

According to the documentation this options encrypted-password should be supported.

 

Ive research thin and

 

1, http://support.f5.com/content/kb/en..._Guide.pdf

 

it should be supported base on the tmsh documentation

 

2, there are not known issues for the sw release the customer has as far as i can see

 

http://support.f5.com/kb/en-us/prod...0-2-4.html

 

3. there is nothing on askf5, devcentral or google about it as wel.

 

 

Can someboby give me an advise how to change the pass in an automatic NON-INTERACTIVE way?

 

 

Thanks

 

Rado

 

3 Replies

  • A few things to consider:

     

     

    1. It appears to work in v11.3. Not sure when it was resolved.

     

     

    2. Are you sure you want to use encrypted-password? Simply using the password option with a clear text string will create an encrypted password value for the user object.
  • rado_74536's avatar
    rado_74536
    Historic F5 Account
    I've tested this and it doesn't work on my system. Why do you believe this 'password' option should work? We can''t upgrade to v11.

     

     

    (tmos) modify /auth user admin password mytestpass

     

    Syntax Error: one or more properties must be specified
  • Ah, you are correct. Unless I'm missing something, v10 does not offer a non-interactive way to set the password in TMSH.