Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
The issue I am facing is that, when I type in the command "shutdown -h now" as a root user, it is not logged anywhere in syslog, auth.log or kern.log.
But when a user with sudo permission does the same, it is logged in auth.log.
So, where can I find the logs for the first case?.
history
(which includes date & time if setup to record it). I'd also suggest upgrading your system (it should be 14.04.6 (14.04.4 was released 18-Feb-2016 so your system looks long behind in upgrades and thus security fixes) – guiverc Mar 07 '19 at 07:02