[sudo-users] Sudo user cannot execute commands
Carville, Stephen
scarville at LANDAM.com
Mon May 19 12:01:43 EDT 2008
> -----Original Message-----
> From: sudo-users-bounces at courtesan.com [mailto:sudo-users-
> bounces at courtesan.com] On Behalf Of Valdemir Santos
> Sent: Monday, May 19, 2008 8:28 AM
> To: sudo-users at sudo.ws
> Subject: [sudo-users] Sudo user cannot execute commands
>
> Hi:
>
> Can you tell me why user valdemir cannot run "w" command using sudo ?
>
>
> # User privilege specification
> root ALL=(ALL) ALL
> valdemir ALL=/usr/bin/w
This gives valdemir permission to run /usr/bin/w as root.
> solaris / > id
> uid=2142(valdemir) gid=10(staff)
> solaris / > sudo -u valdemir w
> Sorry, user valdemir is not allowed to execute '/usr/bin/w' as
valdemir
> on
> ugmtzsux007.
But he is trying to run it as valdemir.
--
Stephen Carville <scarville at landam.com>
Systems Engineer
Land America
1.626.667.1450 X1326
#####################################################################
That which does not kill us often hurts us a lot.
More information about the sudo-users
mailing list