You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I've just found that that the recent_account_logins() function in linux_json_api.sh script doesn't provide any check whether the "From" column of lastlog output is a non-empty string. It results in a weird formatting of the Recent Logins section on the Dash:
The awk script in the recent_account_logins() that the lastlog's output is piped to, just prints a hardcoded set of columns, which just "shifts" some of them to the left if one is an empty string, making the first part of the date appear in the IP column.
Hi!
![image](https://user-images.githubusercontent.com/43439937/114101600-3c724380-98c6-11eb-8e18-0fd2c254ff38.png)
I've just found that that the recent_account_logins() function in linux_json_api.sh script doesn't provide any check whether the "From" column of lastlog output is a non-empty string. It results in a weird formatting of the Recent Logins section on the Dash:
The awk script in the recent_account_logins() that the lastlog's output is piped to, just prints a hardcoded set of columns, which just "shifts" some of them to the left if one is an empty string, making the first part of the date appear in the IP column.
My lastlog's output:
I am willing to fix this issue, when I find some time. Just wanted to inform you about the issue.
The text was updated successfully, but these errors were encountered: