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

000

Well-Known Member
Jun 3, 2008
242
8
68
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,913
2,203
363
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
242
8
68
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,913
2,203
363
You can simply search for specific usernames with the "grep" command. EX:

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