search for: envstr

Displaying 20 results from an estimated 22 matches for "envstr".

Did you mean: endstr
2012 Apr 24
9
Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables
...'ve read the following blog post: http://puppetlabs.com/blog/the-problem-with-separating-data-from-puppet-code/ Back with puppet < 0.25, we''d use "global variables" (not even node inheritance). manifest/sites.pp had something like: $envname = ''prod'' $envstr = '''' $dns_servers = [ ''10.0.0.42'', ''10.10.1.42'' ] import "classes/*.pp" node ''server1.hostingcompanyAlpha.com'' { $httpd_maxclients = 300 $yum_base = "http://mirrors.hostingcompanyAlpha.com/ftp.centos.org/&qu...
2002 Jan 24
1
PATCH: krb4/krb5/... names/patterns in auth_keys entries
...ions.h --- 3_0_2p1.1/auth-options.h Wed, 21 Nov 2001 10:38:46 -0500 +++ 3_0_2p1_w_named_keys.1(w)/auth-options.h Thu, 24 Jan 2002 10:52:24 -0500 @@ -16,6 +16,8 @@ #ifndef AUTH_OPTIONS_H #define AUTH_OPTIONS_H +#include "key.h" + /* Linked list of custom environment strings */ struct envstring { struct envstring *next; @@ -31,6 +33,8 @@ extern struct envstring *custom_environment; int auth_parse_options(struct passwd *, char *, char *, u_long); +void auth_set_key_env(Key *k); void auth_clear_options(void); + #endif Index: 3_0_2p1.1/auth-options.c --- 3_0_2p1.1/auth-options.c...
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
...ar problem: diff -ru vixie-cron-3.0.1~/env.c vixie-cron-3.0.1/env.c --- vixie-cron-3.0.1~/env.c Mon Dec 16 22:42:55 1996 +++ vixie-cron-3.0.1/env.c Mon Dec 16 22:55:52 1996 @@ -115,8 +115,9 @@ { long filepos; int fileline; - char name[MAX_TEMPSTR], val[MAX_ENVSTR]; + char name[MAX_ENVSTR], val[MAX_ENVSTR]; int fields; + int Error = 0; filepos = ftell(f); fileline = LineNumber; @@ -128,8 +129,14 @@ name[0] = val[0] = ''\0''; fields = sscanf(envstr, "%[^ =] = %[^\n#]",...
2001 Aug 15
0
[ossh patch] principal name/patterns in authorized_keys2
.../k/21_auth-optio 1.1 644) +++ 2_9_p2_w_named_keys.2/auth-options.h Tue, 03 Jul 2001 13:57:30 -0400 willian (OpenSSH/k/21_auth-optio 1.1.1.1 644) @@ -16,6 +16,8 @@ #ifndef AUTH_OPTIONS_H #define AUTH_OPTIONS_H +#include "key.h" + /* Linked list of custom environment strings */ struct envstring { struct envstring *next; @@ -37,6 +39,9 @@ int auth_parse_options(struct passwd *pw, char *options, char *file, u_long linenum); + +void +auth_set_key_env(Key *k); /* reset options flags */ void auth_clear_options(void); Index: 2_9_p2.1/auth-options.c --- 2_9_p2.1/auth-options.c Th...
2001 Oct 04
1
patch - forceshell
...ions.c Sun Mar 18 16:13:47 2001 +++ openssh-2.9p2_forceshell/auth-options.c Wed Oct 3 09:57:24 2001 @@ -29,6 +29,8 @@ /* "command=" option. */ char *forced_command = NULL; +/* "shell=" option. */ +char *forced_shell = NULL; /* "environment=" options. */ struct envstring *custom_environment = NULL; @@ -98,6 +100,35 @@ packet_send_debug("Pty allocation disabled."); no_pty_flag = 1; opts += strlen(cp); + goto next_option; + } + cp = "shell=\""; + if (strncasecmp(opts, cp, strlen(cp)) == 0) { + opts += strlen(cp); + for...
2000 Feb 01
3
logging RSA key IDs
Hi. To compartmentalize things a bit (e.g., to help limit the damage should one of my machines be hacked and my private RSA keys stolen) I use different RSA key pairs on my different client machines. So it occurs to me that it would be nice if ssh could log which key was used when logging in to a particular account that has more than one entry in .ssh/authorized_keys. Right now it simply says
2012 Aug 17
3
[LLVMdev] RFC: MCJIT enhancements
...hods to llvm::Triple: > > > > Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr) > > Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr, const Twine &EnvStr) > > bool hasExplicitObjectFormat() const > > ObjectFormatType getObjectFormat() const > > StringRef getObjectFormatName() const > > bool isOutputObjectFormatELF() const > > bool isOutputObjectFormatCOFF() const > > bool isOutputObjectFormatMachO() const &g...
2012 Aug 16
2
[LLVMdev] RFC: MCJIT enhancements
...4. Add the following methods to llvm::Triple: Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr) Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr, const Twine &EnvStr) bool hasExplicitObjectFormat() const ObjectFormatType getObjectFormat() const StringRef getObjectFormatName() const bool isOutputObjectFormatELF() const bool isOutputObjectFormatCOFF() const bool isOutputObjectFormatMachO() const static const char * getObjectFormatName(ObjectFormatType Kind...
2002 Jul 25
3
[PATCH] prevent users from changing their environment
...5 +++ auth-options.c 24 Jul 2002 16:55:25 -0000 @@ -133,7 +133,8 @@ goto next_option; } cp = "environment=\""; - if (strncasecmp(opts, cp, strlen(cp)) == 0) { + if (options.permit_user_env && + strncasecmp(opts, cp, strlen(cp)) == 0) { char *s; struct envstring *new_envstring; --- session.c 22 Jul 2002 11:03:06 -0000 1.145 +++ session.c 24 Jul 2002 16:55:27 -0000 @@ -899,7 +899,7 @@ auth_sock_name); /* read $HOME/.ssh/environment. */ - if (!options.use_login) { + if (options.permit_user_env && !options.use_login) { snprintf(buf,...
2012 Aug 17
0
[LLVMdev] RFC: MCJIT enhancements
...e:**** > > ** ** > > Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, > const Twine &ObjFmtStr)**** > > Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, > const Twine &ObjFmtStr, const Twine &EnvStr)**** > > bool hasExplicitObjectFormat() const**** > > ObjectFormatType getObjectFormat() const**** > > StringRef getObjectFormatName() const**** > > bool isOutputObjectFormatELF() const**** > > bool isOutputObjectFormatCOFF() const**** > > bool isOutputObjectForm...
2012 Sep 05
2
[LLVMdev] RFC: MCJIT enhancements
...4. Add the following methods to llvm::Triple: Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr) Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr, const Twine &EnvStr) bool hasExplicitObjectFormat() const ObjectFormatType getObjectFormat() const StringRef getObjectFormatName() const bool isOutputObjectFormatELF() const bool isOutputObjectFormatCOFF() const bool isOutputObjectFormatMachO() const static const char * getObjectFormatName(ObjectFormatType Kind...
2012 Aug 28
0
[LLVMdev] RFC: MCJIT enhancements
...4. Add the following methods to llvm::Triple: Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr) Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr, const Twine &EnvStr) bool hasExplicitObjectFormat() const ObjectFormatType getObjectFormat() const StringRef getObjectFormatName() const bool isOutputObjectFormatELF() const bool isOutputObjectFormatCOFF() const bool isOutputObjectFormatMachO() const static const char * getObjectFormatName(ObjectFormatType Kind...
2000 May 24
0
'command' option in authorized_keys
...-2.1.0p2/session.c Wed May 24 12:56:12 2000 @@ -96,6 +96,7 @@ /* RSA authentication "command=" option. */ char *forced_command = NULL; +char *original_command = NULL; /* original command from protocol. */ /* LEE */ /* RSA authentication "environment=" options. */ struct envstring *custom_environment = NULL; @@ -343,6 +344,7 @@ packet_integrity_check(plen, 0, type); } if (forced_command != NULL) { + original_command = command; command = forced_command; debug("Forced command '%.500s'", forced_command); } @@ -911,6 +913,8 @@...
2012 Sep 05
0
[LLVMdev] RFC: MCJIT enhancements
...hods to llvm::Triple: > > > > Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr) > > Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr, const Twine &EnvStr) > > bool hasExplicitObjectFormat() const > > ObjectFormatType getObjectFormat() const > > StringRef getObjectFormatName() const > > bool isOutputObjectFormatELF() const > > bool isOutputObjectFormatCOFF() const > > bool isOutputObjectFormatMachO() const &g...
2012 Sep 07
2
[LLVMdev] RFC: MCJIT enhancements
...t;> >> >> >> Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr) >> >> Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr, const Twine &EnvStr) >> >> bool hasExplicitObjectFormat() const >> >> ObjectFormatType getObjectFormat() const >> >> StringRef getObjectFormatName() const >> >> bool isOutputObjectFormatELF() const >> >> bool isOutputObjectFormatCOFF() const >> &g...
2011 Oct 08
3
[PATCH] add log= directive to authorized_hosts
Attached is a patch which adds a log= directive to authorized_keys. The text in the log="text" directive is appended to the log line, so you can easily tell which key is matched. For instance the line: log="hello world!",no-agent-forwarding,command="/bin/true",no-pty, no-user-rc,no-X11-forwarding,permitopen="127.0.0.1:7" ssh-rsa AAAAB3Nza....xcgaK9xXoU=
2012 Aug 16
0
[LLVMdev] RFC: MCJIT enhancements
On Wed, Jul 25, 2012 at 12:24 AM, Kaylor, Andrew <andrew.kaylor at intel.com>wrote: > > -------------------------------**** > > ELF Support on Windows**** > > -------------------------------**** > > **** > > There are various reasons that it would be nice to be able to support > generation of ELF objects on Windows through the MCJIT interface, one of >
2012 Sep 07
0
[LLVMdev] RFC: MCJIT enhancements
...4. Add the following methods to llvm::Triple: Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr) Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, const Twine &ObjFmtStr, const Twine &EnvStr) bool hasExplicitObjectFormat() const ObjectFormatType getObjectFormat() const StringRef getObjectFormatName() const bool isOutputObjectFormatELF() const bool isOutputObjectFormatCOFF() const bool isOutputObjectFormatMachO() const static const char * getObjectFormatName(ObjectFormatType Kind...
2003 Jan 29
0
[PATCH] features for restricted shell environments
...th-options.c 29 Jan 2003 20:39:19 -0000 1.7 @@ -133,7 +135,7 @@ goto next_option; } cp = "environment=\""; - if (options.permit_user_env && + if (!auth_restricted(RESTRICT_ENV, pw) && strncasecmp(opts, cp, strlen(cp)) == 0) { char *s; struct envstring *new_envstring; @@ -217,8 +219,6 @@ } cp = "permitopen=\""; if (strncasecmp(opts, cp, strlen(cp)) == 0) { - char host[256], sport[6]; - u_short port; char *patterns = xmalloc(strlen(opts) + 1); opts += strlen(cp); @@ -243,8 +243,7 @@ } patterns[i] =...
2014 Jul 15
3
GSSAPI
If I am trying to build OpenSSH 6.6 with Kerberos GSSAPI support, do I still need to get Simon Wilkinson's patches? --- Scott Neugroschl | XYPRO Technology Corporation 4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |