[Wylug-help] [SOLVED} 'at' command and apache user

Gary Stainburn gary.stainburn at ringways.co.uk
Fri Jun 17 08:39:36 UTC 2011


/etc/shadow needs !! instead of x
/etc/passwd needs /bin/bash instead of /sbin/nologin

I can now set up email reminders using the 'at' command from a web 
interface :D

On Thursday 16 June 2011 18:58:49 Gary Stainburn wrote:
> Hi Folks,
>
> 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 at ringways.co.uk>
>   To: apache at ringways.co.uk
>   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.
>
> Gary



-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 



More information about the Wylug-help mailing list