[sudo-users] sudoers variable
Goncalves Daniel-WDG033
Daniel.Goncalves at motorola.com
Tue Dec 6 16:50:47 EST 2005
Hi all,
I'm trying to use sudo with variable into sudoers. Example:
Cmnd_Alias = /bin/tar -zvxf /tmp/test.tar.gz --directory $PATHTEST/
And I'm using the command from user shell:
PATHTEST=/root
sudo /bin/tar -zvxf /tmp/test.tar.gz --directory $PATHTEST/
But, all the time I receive the message: User is not authorized to execute this command.
Do you have any idea ?
thanks.
DDG.
More information about the sudo-users
mailing list