01 January , 2019

Melihat riwayat login di Linux

Memiliki server memang harus mau rutin melakukan pengecekan secara berkala. Karna kita tidak tau kapan serangan itu akan terjadi. Dari hal yang mudah saja ketika kita membuka user root kita pasti akan ada saja orang yang mencoba masuk dengan user root. Nah pada artikel kali ini saya akan membagikan tutorial untuk melihat riwayat login dari server kita. Sebenernya ini hal sepele tapi mungkin akan berguna jika kita rutin melakukan pengecekan pada server kita.

Oke berikut saya berikan tutorialnya :

  1. Pertama menggunkan perintah “last” untuk mengetahui user apa dan kapan saja yang berhasil masuk.
  2. Dan akan terlihat informasi seperti ini
    Anda bisa melihat usernamenya, sesi atau proses apa, alamat IP asal atau sumbernya, hari dan tanggal juga jam, berapa lama loginnya. Cukup detail.
  3. Selanjutnya mengetahui usaha user yang gagal login dengan mengetikkan command berikut
  4. Maka akan muncul informasi seperti berikutJika tampilan kosong seperti di atas maka itu artinya server kita aman.
  5. Terakhir adalah melihat login terbaru dari masing – masing username yang ada di Linux, ketikkan perintah berikut di terminal:
  6. Akan muncul informasi seperti berikut

Dari beberapa tool diatas kita bisa memantau dan melacak kapan saja ada akses masuk ke servernya, cocokkan dengan aktivitas anda apakah memang saat tersebut sedang menggunakan server anda. Kalau ada yang tidak cocok patut diperhatikan dan pengamanan perlu ditingkatkan lagi.


Nurul Hidayat

Hello, saya adalah seorang software developer khususnya dibidang web. saya sangat menyukai Shell Scripting & Security semoga tulisan-tulisan kecil saya bisa bermanfaat.

You may also like...

32,809 Responses

  1. My family every time say that I am wasting my time here at web,
    except I know I am getting experience all the time by reading such
    nice articles.

  2. sm 카지노 says:

    What’s up every one, here every person is sharing these know-how, therefore it’s good to read
    this web site, and I used to pay a quick visit this
    weblog all the time.

  3. Canadian family pharmacy scam muscle relaxant disposing of prescription drugs

  4. I precisely needed to thank you very much yet again. I’m not certain the things that I would’ve followed in the absence of the advice discussed by you relating to that topic. It absolutely was a very difficult condition for me personally, nevertheless seeing this expert form you managed the issue made me to leap over contentment. I’m just grateful for this advice and thus trust you realize what a powerful job you are putting in teaching people through the use of a blog. I am sure you haven’t come across any of us.

  5. Needed to compose you this very small word to help say thank you yet again considering the wonderful ideas you’ve provided above. It has been so pretty generous of people like you to give publicly all that a few individuals could possibly have offered for sale for an ebook to end up making some bucks for themselves, specifically given that you might well have done it if you ever desired. Those good ideas likewise served like a fantastic way to be sure that some people have a similar dreams like my personal own to find out a great deal more with regards to this condition. I’m sure there are millions of more pleasurable moments up front for people who examine your website.

  6. goyard says:

    My spouse and i got so joyous when Raymond managed to do his web research through the entire precious recommendations he grabbed through the weblog. It is now and again perplexing to just happen to be giving away tricks others have been making money from. We remember we have the blog owner to thank because of that. Most of the illustrations you made, the simple site menu, the relationships you help foster – it’s got many excellent, and it’s really facilitating our son and the family feel that this idea is amusing, and that’s extremely vital. Thanks for the whole lot!

  7. Does your site have a contact page? I’m having problems locating it but, I’d like to send you an e-mail.
    I’ve got some suggestions for your blog you might be interested in hearing.

    Either way, great website and I look forward to
    seeing it develop over time.

  8. I really like what you guys are usually up too. Such clever work and
    reporting! Keep up the great works guys I’ve incorporated
    you guys to our blogroll.

Leave a Reply