Forum Discussion

EuropeanITCrow1's avatar
Jan 22, 2015

Strange log: The current role does not allow access to the vi editor, or, an unsupported editor was specified, resetting to nano

Hello,

 

I’ve noticed in 11.4.1 that every time one special user connects via SSH I’m getting the following log:

 

Jan 22 14:34:54 $HOSTNAME warning -tmsh[3623]: 01420010:4: The current role does not allow access to the vi editor, or, an unsupported editor was specified, resetting to nano

 

The affected user has the following settings: Role: Guest Partition Access: All Terminal Access: tmsh

 

How can I get rid of this message and is this a normal behavior?

 

Thanks a lot! Otto

 

3 Replies

  • i Haven't seen that error before. In 11.5.1 HF3, I can't recreate the error based on your role settings there. Have you opened a case?
  • Hi Otto,

     

    as I understand, only a single user is affected?

     

    Maybe you are using a reserved name? Please check /etc/passwd for defined user list.

     

    Maybe the user was initially created not via TMOS but via shell?

     

    Thanks, Stephan

     

  • Hi and thanks to Jason and Stephan for responding!

     

    I think I could find out what was causing this log:

     

    Giving the command "list cli preference all-properties" I've seen that the default editor for the affected user was vi. After changing this entry to nano I got rid of this message!

     

    I can't fully understand why the preference was set to vi because I tried to simulate this in a VE and a new guest user automatically has nano as a default editor there. So I suspect that we added this user in a previous version where this default setting wasn't made for guest users...

     

    Regards Otto