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.
    last
  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
    lastb
  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:
    lastlog
  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.

Share

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...

31,903 Responses

  1. Theresa Hunter says:

    chewable viagra rx pharmacy viagra viagra triangle chicago

  2. Hi I am so thrilled I found your blog, I really found you by error, while I was looking on Bing for something else, Regardless I am here now and
    would just like to say thanks for a remarkable post and a
    all round thrilling blog (I also love the theme/design), I don’t have time to browse it all
    at the minute but I have bookmarked it and
    also included your RSS feeds, so when I have time I will be back to read
    more, Please do keep up the fantastic b.

  3. cialis 20 says:

    cialis dopo prostatectomia cialis 20 prezzo cialis lascia tracce nel sangue cialis per cosa si usa

  4. cialis farmacia cialis spedizione 24 ore cialis bruciore di stomaco rimedi come potenziare l’effetto del cialis

  5. curry 7 says:

    I intended to write you this very little remark to be able to say thanks a lot over again just for the marvelous techniques you have provided in this article. This is so seriously open-handed of people like you to give extensively just what many of us could possibly have made available as an electronic book in making some money for their own end, most importantly seeing that you might have done it if you ever wanted. These pointers in addition worked as a good way to fully grasp someone else have the same keenness just as my own to figure out more regarding this problem. I think there are thousands of more fun periods up front for individuals who view your site.

  6. kobe shoes says:

    My spouse and i felt relieved Jordan managed to do his research by way of the precious recommendations he was given from your own web page. It is now and again perplexing to simply find yourself freely giving key points which the rest could have been trying to sell. So we see we need the writer to be grateful to because of that. These illustrations you have made, the simple blog menu, the relationships you will make it easier to promote – it’s all amazing, and it’s helping our son in addition to our family consider that this theme is entertaining, and that is tremendously essential. Many thanks for everything!

  7. I must express my thanks to you for rescuing me from this particular issue. Because of looking out through the internet and meeting tricks which were not beneficial, I was thinking my life was well over. Being alive devoid of the approaches to the issues you have sorted out all through the website is a serious case, and the kind that could have adversely damaged my career if I had not noticed your web site. Your skills and kindness in touching every item was tremendous. I am not sure what I would’ve done if I hadn’t discovered such a step like this. I can also at this point look forward to my future. Thank you very much for this expert and effective help. I will not think twice to suggest your web blog to any individual who needs and wants support about this subject matter.

  8. Thank you a lot for providing individuals with such a brilliant chance to read in detail from here. It’s usually so cool and as well , packed with fun for me personally and my office acquaintances to search the blog really thrice in a week to read through the latest issues you will have. And of course, I am always impressed with your breathtaking solutions served by you. Certain 4 facts in this posting are clearly the simplest we’ve ever had.

  9. Thanks for finally talking about >Melihat riwayat
    login di Linux – Zullab <Liked it! https://hhydroxychloroquine.com/

  10. George Longo says:

    chewable viagra best viagra alternative viagra cost canada

  11. Cialis experience forum rgeneric cialis
    buy cialis no prescription australia

  12. come il viagra acquistare viagra online sicuro il viagra puo non funzionare che cosa significa viagra

  13. cose il viagra costo del viagra generico in farmacia viagra pagamento in contanti alla consegna come avere un erezione senza viagra

  14. There is definately a great deal to find out about this issue.
    I like all of the points you made.

  15. Payday loans says:

    Awesome blog! Do you have any suggestions for
    aspiring writers? I’m hoping to start my own site soon but I’m a little
    lost on everything. Would you suggest starting with a
    free platform like WordPress or go for a paid option? There are so many options out
    there that I’m totally overwhelmed .. Any ideas? Appreciate it!

  16. CBD Edibles says:

    what color is the cbd capssul

  17. Howdy! Do you use Twitter? I’d like to follow you if that would be okay.

    I’m definitely enjoying your blog and look forward to new updates.

  18. Online pet pharmacy shoppers drug mart pharmacy canadian pharmacy online review

Leave a Reply

Your email address will not be published. Required fields are marked *