Announcement Announcement Module
Collapse
No announcement yet.
Unable to put more receipients in 'mail' command Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to put more receipients in 'mail' command

    I am trying to set an alert mail whenever root access is done to my machine using mail command in bashrc file, but I couldn't put more recipients, I am trying like this.

    mail -s "Alert: Root Access" user@yahoo.com user2@yahoo.com user3@yahoo.com

  • #2

    If you are trying to put more receipients in 'mail' command, then you need to seperate each email account with comma (,)

    For example:-

    mail -s "Alert: Root Access" user@yahoo.com,user2@yahoo.com,user3@yahoo.com

    Comment


    • #3
      I have tried the same but that time no luck. Now am able to make it possible... Thanks dude.

      Comment

      Tag Cloud Tag Cloud Module
      Collapse
      Working...
      X