I think you need to put the redirection after the <<EOF, like
But, what's your system? On linux you can usually do sh /dev/stdin and skip the fifo step entirely, like
or even just
If you want to upgrade to real encryption, you can use
to turn code into ASCII ciphertext and
to turn ciphertext back into real text. The AES encryption/decryption part will ask you for a password in a secure manner.
Hi.
I want to execute a script when it's encrypted with "crypt".
I tried with "sh <script_crypted>", but it's incorrect because the commands into "script" can not be executed because they are encrypted.
:confused: (1 Reply)
Can we execute an encrypted shell script .
I encrypted a shell scripts with crypt with keys and tried to execute it it gave me segmentation faul??
Can somebody answer this one please??
If we can is there any settings i need to change??
Thanks (2 Replies)
Hello all,
I have a file - 12.txt
cat 12.txt
===============================================
Number of executions = 2 Total execution time (sec.ms) = 0.009883
Number of executions = 8 Total execution time (sec.ms) = 0.001270
Number of... (23 Replies)
After I move the file to a directory, I need to gzip and encrypted.
I never do this in a shl script, I do it from the command line and it works..
cd /home/nelnet
spinel:/home/nelnet$ gpg -e 2010_11_07_05_11_xxxxxx_bills.dat.gz
`/home/nelnet/.gnupg/gpg.conf'
`/home/nelnet/.gnupg/gpg.conf'... (3 Replies)
Hello,
I am facing a very strange problem when I run my script manuallu ./Fetchcode which is using to connect with MKS integrity from linux end it workks fine but when I run it from cron it doesn't work.Can someone help me
1) How could I check my script when it is running from cron like... (3 Replies)
Hello Everyone,
How do we run vi/vim encrypted shell script without decryption on multiple servers. It is a simple bash script and vim -nx <filename> has been used to encrypt with desired password. Now I have few errors, the syntax is absolutely fine as I have run that script multiple times on... (0 Replies)
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
Hi All,
I have a shell script test.sh. I encrypted it using the command
vi -x test.sh , and protected it with a password to view the file.
When i tried to execute the file with ./test.sh..It is trying to execute the encrypted file but not he original one.
Can someone help me with how to... (1 Reply)
How to keep encrypted password in a shell script.?
I have the file which has the following:
a.sh
-----
username=abc
password=abc
I will be using this username and password in another script. But I don't want to reveal the password in the script. How to keep the password... (3 Replies)
Hi,
can it be possible to pass and argument to an encrypted script?
for example.. Say I have this script which takes one input..
> cat aa
#!/bin/ksh
UNAME=$1
echo "Hi $UNAME.."
> aa TEST
Hi TEST..
Now I encrypted this code.. (6 Replies)
Discussion started by: akore83
6 Replies
LEARN ABOUT PHP
putnext
putnext(9F) Kernel Functions for Drivers putnext(9F)NAME
putnext - send a message to the next queue
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void putnext(queue_t *q, mblk_t *mp);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
q Pointer to the queue from which the message mp will be sent.
mp Message to be passed.
DESCRIPTION
putnext() is used to pass a message to the put(9E) routine of the next queue in the stream.
RETURN VALUES
None.
CONTEXT
putnext() can be called from user or interrupt context.
EXAMPLES
See allocb(9F) for an example of using putnext().
SEE ALSO put(9E), allocb(9F), put(9F), qprocson(9F)
Writing Device Drivers
STREAMS Programming Guide
NOTES
The put() and putnext() functions should be called only after qprocson() is finished.
SunOS 5.10 18 Feb 1998 putnext(9F)