PDA

View Full Version : amlabel: running as user "root" instead of "backup"



edgaralz
May 17th, 2010, 03:41 AM
hi a new in this a want install amanda like root but when i try to make label
for ((i=1; $i<=9; i++)); do amlabel DailySet1 DailySet1-0$i slot $i; done
for ((i=10; $i<=25; i++)); do amlabel DailySet1 DailySet1-$i slot $i; done
amanda show me this

amlabel: running as user "root" instead of "backup"

how i can do to resolve this, sorry for mi english its not my language,

therm
June 9th, 2010, 07:16 AM
Hi,

why dont you label your tapes with user backup?

su - backup
for ((i=1; $i<=9; i++)); do amlabel DailySet1 DailySet1-0$i slot $i; done
for ((i=10; $i<=25; i++)); do amlabel DailySet1 DailySet1-$i slot $i; done

Regards,
therm