Re: amanda troubles

2005-01-03 Thread Glenn English
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

Re: amanda troubles

2005-01-03 Thread Glenn English
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

Re: amanda troubles

2005-01-03 Thread Jeremy T. Bouse
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 troubles

2005-01-03 Thread Glenn English
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