Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-06-2010, 11:30 AM   #1
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Configuring at

Is there a way to configure the at command to send to someone other than root?
Old 07-06-2010, 12:50 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,760
Blog Entries: 14

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
It is sent to the user that ran the at job.

From the "at" man page on CentOS 5:

If at is executed from a su(1) shell, the owner of the login shell will receive the mail.

The superuser may use these commands in any case. For other users, permission to use at is determined by the files /etc/at.allow and /etc/at.deny.

If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use at.
Of course you could make a script that sends an email to the user you want and call that from "at". Or you could alias the root user in your mail application (see /etc/aliases) so that all mail sent to root goes to the desired user instead (this however, wouldn't just be the "at" mail).
1 members found this post helpful.


at, mail

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring sunil_lc Linux - Networking 2 10-28-2003 12:30 PM
configuring X evian Linux - Distributions 7 07-05-2003 06:29 PM
Configuring X Nexer Linux - Newbie 8 05-06-2003 10:02 PM
configuring help n00bster Slackware 1 03-01-2003 02:15 AM
configuring X kingpin Slackware 7 06-26-2002 08:08 PM

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration