كيف أن يرسل يحصل [لينوإكس] نادلة بريد إلكترونيّ إنذار على جذر [لوجن]

أن يحسن الأمن من النادلة, خصوصا [وب سرفر] أيّ يعرض إلى الإنترنت ويمكن مستقطعات عالميّ نطاق, هو جيّدة أن يمكّن نادلة أن تلقائيّا أرسلت إشعار بريد إلكترونيّ إلى يعرف [إميل دّرسّ] [إفرتيم] أحد ما [لوغ ون] كجذر إلى المضيفة. استعملت أن يشكّل الآليّة بريد إلكترونيّ إشعار يقظة إلى تقصير [إميل دّرسّ] على كلّ حادث من جذر [لوغن] على النادلة, المرشدة تالي.

  1. [لوجن] إلى النادلة عن طريق [سّه] يستعمل كجذر [إيد.]
  2. ضمنت أنّ أنت [أت هوم] دليل الجذر. ال [أبن وب] ال [.بشبروفيل] ل يحرّر يستعمل [بيك] أو [في] ب يطبع واحدة من الأوامر تالي في أمر قشرة قذيفة خطّ:

    [بيك] [.بشبروفيل]
    [في] [.بشبروفيل]

  3. مرّرت إلى أسفل إلى النهاية من المبرد وأضفت الخطّ تالي:


    صدى "إنذار - جذر قشرة قذيفة منفذة فوق: " `تاريخ ``الذي ` | بريد إلكترونيّ - [س] "إنذار: جذر منفذة من `الذي | قطعة - [د] " (" - [ف2] | قطعة - [د]")" - [ف1] `" [أوسرإكسمبل.كم]

    استبدلت [أوسرميل.كم] مع الحقيقيّة بريد إلكترونيّ حساب عنوان أنّ أنت تريد إلى الجذر منفذة إنذار إشعار يكون يرسل إلى. لاحظت أنّ أنت يستطيع غيّرت النص يحتوي في البريد إلكترونيّ إنذار أيضا. كتبت النص [سترتينغ ويث] إنذار أولى كبريد إلكترونيّ جسم, وأنت يستطيع أضفت في أخرى [إينفو] مثل [هوست نم] أو غيّرت ال [ووردينغس]. الثاني إنذار البريد إلكترونيّ عنوان أيّ أنت يستطيع غيّرت إلى ك خاصّة أيضا.

الآن [لوغوت] و [لوجن] ثانية كجذر, أنت سوفت استلمت بريد إلكترونيّ إنذار في [إينبوإكس] ك. الأمن خدعة سوفت أعمال على كثير نكهة شعبيّة [لينوإكس] مثل [ردهت], [سنتوس], [أوبونتث], [فريبسد] و [إتك.].

مهمّة: هذا صفحة [مشن-ترنسلتد] أيّ يكون زوّدت "بما أنّ" دون كفالة. [مشن ترنسلأيشن] يمكن كنت يصعب أن يفهم. رجاء أحلت مادة أصليّة إنجليزيّة كلّما يمكن.

شاركت وأسهمت أو حصلت دعم فنّيّة وساعدت في ي [ديجتل] حياة ساحات.



2 Responses to “How to Get Linux Server Sends Email Alert on Root Login”

  1. Linux - wysyłanie maila o logowaniu na konto roota « Barni.LOG
    August 12th, 2007 03:10
    1

    [...] Linux - wysyłanie maila o logowaniu na konto roota Bardzo użyteczny skrypcik [...]

  2. Jon
    May 3rd, 2008 05:43
    2

    ‘who -m’ makes the output much cleaner when using this on a system that has multiple users logged on…

    -m reports only hostname and user associated with stdin terminal

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

linux email alerts - linux turn off mail notification - change root email - linux change root email - linux mail root - linux change root email address - linux root mail - mail alerts in linux - email when root logs on - linux root login alert - turn off mail notification linux - change root email address - linux root email address - email alerts linux - linux server email security notifications - linux mail change from address - email alert when linux server is login - Change root mail - root mail linux - linux email alert - linux root login mail - linux send email login - send email on login linux - email for root - linux send email on ssh login - linux notify on login - linux login notification - linux email root logs - linux mail from address - set root mail - linux system send alerts rss -news - server email notifications - linux server status mail - linux root email as different user - ssh alert linux - where do we find mail for root + linux - mail logins linux - mail root linux - redhat linux directory file access email alert notification - linux mail to root - all - linux root alert - linux some one is sending mail from my server who - server to email logs linux - linux email root - ubuntu mail command line server change root email address - set email alerts in linux - email notification root freebsd - linux mail on user login - Linux ubuntu ids alerte sms -