Thursday Jul 15, 2010

last

Just a quick tip as this question came across the opensolaris-help forum - "How can I (as admin) find out when a certain user e.g. "karl" most recently logged in and most recently logged out of a system?"

The simple answer is last:

bleonard@opensolaris:~$ last karl 
karl      pts/5        10.0.1.9         Thu Jul 15 11:12   still logged in
karl      sshd         10.0.1.9         Thu Jul 15 11:12   still logged in
karl      pts/5        opensolaris      Thu Jul 15 11:11 - 11:12  (00:00)
karl      sshd         opensolaris      Thu Jul 15 11:11 - 11:12  (00:00)

About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today