More diagnostics.
when crontab line is "* * * 7 * echo [`whoami`]"
running the job prints "[backup]"
if line == "echo `mt -f /dev/nst0 status`"
output == "mt: /dev/nst0: Permission denied"
command line:
[EMAIL PROTECTED]:~$ echo [`whoami`]
[backup]
[EMAIL PROTECTED]:~$ echo `mt -f /dev/nst0 sta
On Mon, 2005-01-03 at 09:55 -0800, Jeremy T. Bouse wrote:
> First I would check that the 'backup' user is part of the 'tape'
> group.
[EMAIL PROTECTED]:~$ grep tape /etc/group
tape:x:26:backup
> If not a permissions setting of 660 owned by root:tape would give
> exactly what you describe
On Mon, Jan 03, 2005 at 10:45:48AM -0700, Glenn English wrote:
> Amanda is installed and commands and scripts are working well from the
> command line (I did have to add the sbins to backup's path to run the
> amanda utilities).
>
> But when I run a shell script as a cron job as user backup, acce
Amanda is installed and commands and scripts are working well from the
command line (I did have to add the sbins to backup's path to run the
amanda utilities).
But when I run a shell script as a cron job as user backup, access to
the tape drive is denied -- /dev/nst0 is root:tape, permissions are
4 matches
Mail list logo