On 03/25/2013 11:19, Detlev Zundel wrote:
> I started debugging at and it turns out that 'at' cannot even read
> /etc/at.deny and thus concludes that no user except root should be
> allowed to use it (seen easily also in strace):
> 
> bash[2]$ strace -e open atq
[...]
> open("/etc/at.deny", O_RDONLY)          = -1 EACCES (Permission denied)
> You do not have permission to use atq.

I wouldn't expect strace to work on suid binaries.

> The installed rights confirm this:
> 
> bash[2]$ ls -l /etc/at.deny 
> -rw-r-----. 1 root bin 144 Nov 30  2009 /etc/at.deny

Why does the file belong to the "bin" group on your system? It should
belong to "daemon".

It does so in the binary package:
$ dpkg-deb -c at_3.1.13-2_amd64.deb | grep /etc/at.deny
-rw-r----- root/daemon     144 2012-06-09 13:46 ./etc/at.deny

Please also include the permissions of /var/spool/cron/at* and
/usr/bin/at if there are still problems.

Ansgar


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to