How know DATE of [last login - FTP] of users ?

000

Well-Known Member
Jun 3, 2008
549
30
78
Hi,

as Root is possible know date of last login of X user ?, of all users ?
and last DATE of login into cPanel ?

with what command ?
( or from WHM ) ?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
You will need to review the log files to determine when login attempts occurred. FTP logs are stored in /var/log/messages and cPanel access logs are available in /usr/local/cpanel/logs/access_log.

Thank you.
 

000

Well-Known Member
Jun 3, 2008
549
30
78
But if 50 users logIN x day...
Multiple times...
This is a LOT of logs...

Then no is possible know LAST DATE of X user logIN ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
You can simply search for specific usernames with the "grep" command. EX:

Code:
grep username /var/log/messages
Thank you.