[sudo-users] Sudoers doubt

Russell Van Tassell russell+sudo-users at loosenut.com
Tue Aug 26 15:16:29 EDT 2008

On Tue, Aug 26, 2008 at 09:14:19AM -0300, Valdemir Santos wrote:
> Hi:
> Can you tell me why the bpmedia command doesn´t work in this example ?
> root at solaris_1> # su - elex
> Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
> [elex at solaris_1]/export/home/elex> sudo -l
> Senha da conta do elex:
> User elex may run the following commands on this host:
>     (ALL) !/usr/bin/vi, !/usr/xpg4/bin/vi, !/usr/ucb/vi, !/bin/vi,
> /opt/openv/netbackup/bin/admincmd/bpmedia, /usr/Operador/Operador/nt,
> [elex at smmtzsux001]/export/home/elex> sudo bpmedia -help
> sudo: bpmedia: command not found

It's probably not in your path... try:

  sudo /opt/openv/netbackup/bin/admincmd/bpmedia -help

Russell M. Van Tassell
russell at loosenut.com

If life is a waste of time, and time is a waste of life,
then let's all get wasted together and have the time of our lives. 

More information about the sudo-users mailing list