To do this you need to active the auditing tool , onaudit to capture all logins.
But this tools don't provide much useful information, so, based on audit information (date/time + user) maybe you can get the information on the OS , with
last command .
Remember the last command log only who do a login on the machine, not connection from TCP/IP port in the database....