Unable to log commands run by 'root' user to syslog server
search cancel

Unable to log commands run by 'root' user to syslog server

book

Article ID: 399230

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Syslog is not logging commands run by 'root' user in NSX manager and NSX edge nodes.

Cause

This is expected behavior.

Resolution

As of now there is no option to log root user actions.

Additional Information

On NSX manager and edges direct SSH using 'root' user can be disabled using following command. 
nsx> clear ssh root-login

If SSH using 'root' user is disabled then access to root requires logging to admin and then switching to root.

This can be re-enabled using following command -
nsx> set ssh root-login