Re: crontab for nobody

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



On Sunday 20 July 2008 20:03:45 John Horne wrote:
> On Sun, 2008-07-20 at 19:20 +0100, Anne Wilson wrote:
> > On Sunday 20 July 2008 18:04:10 Chris Clonch wrote:
> > > On Sunday 20 July 2008 11:50:21 Anne Wilson wrote:
> > > > On Sunday 20 July 2008 16:24:31 Robert - elists wrote:
> > > > > > > What does 'crontab -u nobody -l' show ?
> > > > > >
> > > > > > Nothing at all - it just returns to the prompt.
> > > > > >
> > > > > > Anne
> > > > >
> > > > > Anne,
> > > > >
> > > > > It should say "no crontab for nobody" or show the crontab
> > > > >
> > > > > Eh?
> > > >
> > > > It doesn't do either
> > > >
> > > > Anne
> > >
> > > Sounds like there is an empty crontab for nobody.  Should be able to
> > > verify this by 'ls -l /var/spool/cron/crontabs/nobody'.  What if you
> > > try to remove it by running 'crontab -l nobody -r'?
> >
> > I can't get that to run, Chris.
> >
> > crontab: usage error: only one operation permitted
>
> I think what was meant was:
>
>     ls -l /var/spool/cron/nobody
>
> to see what the size etc of the crontab was for nobody,
>
-rw------- 1 root root 0 Jul  7 16:07 /var/spool/cron/nobody
> then
>
>     crontab -u nobody -r
>
>
> to remove it if it was empty.
>
That seems to have done it, thanks.

Anne

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux