Sponsored Content
Top Forums UNIX for Advanced & Expert Users "Signed Linux" - Only executing signed programs Post 302500729 by Corona688 on Tuesday 1st of March 2011 11:18:14 AM
Old 03-01-2011
Not merely execution bits, but file and account control in general...

The point remains the same: We don't know his goals, and he hasn't returned to describe them, so this kind of scheme is likely to be severe overkill.
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

Expect: spawn id exp5 not open while executing "expect "$" { send "sudo su -\r" }"

Hi All, i am trying to ssh to a remote machine and execute certain command to remote machine through script. i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as expect: spawn id exp5 not open while executing "expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies
GNUPG_SIGN(3)								 1							     GNUPG_SIGN(3)

gnupg_sign - Signs a given text

SYNOPSIS
string gnupg_sign (resource $identifier, string $plaintext) DESCRIPTION
Signs the given $plaintext with the keys, which were set with gnupg_addsignkey before and returns the signed text or the signature, depending on what was set with gnupg_setsignmode. PARAMETERS
o $identifier -The gnupg identifier, from a call to gnupg_init(3) or gnupg. o $plaintext - The plain text being signed. RETURN VALUES
On success, this function returns the signed text or the signature. On failure, this function returns FALSE. EXAMPLES
Example #1 Procedural gnupg_sign(3) example <?php $res = gnupg_init(); gnupg_addsignkey($res,"8660281B6051D071D94B5B230549F9DC851566DC","test"); $signed = gnupg_sign($res, "just a test"); echo $signed; ?> Example #2 OO gnupg_sign(3) example <?php $gpg = new gnupg(); $gpg->addsignkey("8660281B6051D071D94B5B230549F9DC851566DC","test"); $signed = $gpg->sign("just a test"); echo $signed; ?> PHP Documentation Group GNUPG_SIGN(3)
All times are GMT -4. The time now is 09:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy