The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
sudo command is not working inside a script when placed in cron
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
sudo command is not working inside a script when placed in cron
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
02-12-2009
vbe
Moderator
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,585
The -u is an option to give the users name you want to be when executing the command/program...
Type sudo -l to see what you are entitled to
What OS are you on? By the look of it it seems linux / OSX which have different behaviour
vbe
View Public Profile
Find all posts by vbe
Find vbe's past nominations received
Find vbe's present nominations given