Re: 'at' command and apache user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16Jun2011 18:58, Gary Stainburn <gary.stainburn@xxxxxxxxxxxxxx> wrote:
| Hopefully this is a quickie.  I've written a Perl script which
| 
| 1) I call to initialise - this then schedules another run using the 'at' 
| command
| 
| 2) is run by 'at' at the appropriate time to carry out the required task
| 
| This works fine under the developer user but when I call it from PHP in my web 
| server the 2nd part fails and generates the following email.
| 
| Subject: Output from your job       17
| From: Apache <apache@xxxxxxxxxxxxxx>
|   To: apache@xxxxxxxxxxxxxx
|   Date: Today 18:51:00
|    
| This account is currently not available.
| 
| I have tried creating /etc/at.allow and adding apache. /etc/at.deny us empty
| 
| it still doesn't work. Can anyone suggest what I need to do next please.

Might the account be "locked"? Check out the /etc/shadow file - "!!"
instead of "x" in the crypt field. May as well check the account has a
shell too: /bin/sh instead of /bin/false.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

"I wish it need not have happened in my time," said Frodo.
"So do I," said Gandalf, "and so do all who live to see such times.  But that
is not for them to decide.  All we have to decide is what to do with the time
that is given us."
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux