Break the problem down. If this happens outside of atd (‘Even when i
do:’…) then forget about atd for now. See if you can sudo to some other
account to run some other command. See if you can sudo to news and run
some other command. Perhaps try disabling AppArmor to see if that could
be trying to prevent something malicious. Which user are you running the
initial ‘at’ command as (to add it to that user’s queue)?
Good luck.
luuk-34 wrote:
> i my logs i get this error:
> Feb 6 14:14:05 opensuse atd[18940]: PAM audit_log_acct_message()
> failed: Operation not permitted
>
> its related to a script, with next contents:
> #!/bin/bash
>
> # get/send news
> /usr/sbin/fetchnews -w -vv
>
> at -f ~luuk/bin/MyFetchnews2 “now +1 minutes”
> <end-of-script>
>
> The command fetchnews needs to be run with ‘root’ permissions (or
> ‘news’), so i choose to run my script under ‘root’.
>
> Even when i do:
> sudo -u news /usr/sbin/fetchnews -w -vv
> the problem remains.
>
> what is the cause, and how to solve the errors from ‘atd’ ??
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/