I think you copied from the wrong environment.
Ensure that
works on the command line. Then create the wrapper.sh from THIS environment!
And, if the current user is "nobody", create the crontab entry as "nobody"!
Does any one knows a work around for the crontab bug when connecting using ssh to a Solaris 8 system?
When you submit a crontab job through a ssh session, the job will not be executed, SunSolve has reported no fixing patches? (3 Replies)
Apologies if this has been mentioned elsewhere, my search skills may be lacking somewhat today.
I have a script that does the following (as a test):
find . -name "*.txt" -exec file {} \; >>$sFullFilePath
Now, the variable is set up up correctly in the script too. When I run the script... (1 Reply)
foreach x ( *.foo)
echo "move file?"
set move=$<
if($move == y) then
echo "enter new pathname:"
set path=$<
mv $x $path/$x
endif
end
ok guys, im creating this script so i can move files with *.foo extensions and *.bar... (6 Replies)
Hi all,
I'm having this scenario which for the moment I cannot resolve. :(
I wrote a script to make a dump/export of the oracle database. and then put this entry on crontab to be executed daily for example.
The script is like below:
cat /home/oracle/scripts/db_backup.sh
#!/bin/ksh
... (3 Replies)
Why is the result of this command off (or less) by one hour
date --date "1979-10-26 +54 hours" +%Y%m%d%H
The result is
1979102805
It actually should be
1979102806
It does it with adding minutes as well and only occurs on Oct. 26, from what I can tell. What's going on here? (9 Replies)
Hello,
i have page domain.com/form.php
the form fields on form.php are named:
name=ipaddress
name=port
and submit button is named: submit
i want to ask how the linux command will look like to submit the form filled with:
ipaddress: 127.0.0.1
port: 80
I tried various curl and... (5 Replies)
my problem is this: when I run a script from the command line it works but returns a failure if I run it from crontab.
Basically I wanted to send a file to hdfs,
I thought it was related to the fact that crontab do not know the path to hdfs so I put the full path but it still does not work: here... (16 Replies)
Discussion started by: beautymind
16 Replies
LEARN ABOUT DEBIAN
ikisite-wrapper
ikisite-wrapper(1) General Commands Manual ikisite-wrapper(1)NAME
ikisite-wrapper - suid wrapper for ikisite
SYNOPSIS
ikisite-wrapper subcommand options
DESCRIPTION
ikisite-wrapper is a wrapper around ikisite. It is designed to be safely made suid root, though it is not currently suid by default.
A few ikisite subcommands can be run using the wrapper without any authorisation at all. These include: create, branch, list, sitelookup,
checklock, updatecustomersite, and enabledns. So making the wrapper suid allows any user to create a site.
Other ikisite subcommands can only be run using the wrapper by users who specify a nonce in the IKISITE_NONCE environment variable. These
include: delete, changesetup, domains, and deletenonce.
A site's current nonces are stored in its .ikisite-nonce file. A nonce can be generated by root or the site's user via using the creat-
enonce subcommand, but it's usually generated by passing --createnonce to the create or branch subcommands. This allows anyone to create or
branch a site and then use the nonce to allow further configuration of it (and delete it if something goes wrong).
Subcommands that can be called by the wrapper either without or with a nonce should be sure to fully validate their inputs.
SEE ALSO ikisite(1)AUTHOR
Joey Hess <joey@ikiwiki.info>
ikisite-wrapper(1)