Displaying 20 results from an estimated 1000 matches similar to: "$HOME instead of pw->pw_dir question."
2002 Jan 27
0
IdentityFile patch
By the way, I noticed in the previous IdentityFile patch I forgot to
expand tilde. I fixed this by making the change in ssh.c instead of
readconf.c, which is probably where it belongs, as far as the existing code
is concerned:
diff -ur openssh-3.0.2p1/auth.c openssh-3.0.2p1I/auth.c
--- openssh-3.0.2p1/auth.c Sun Nov 11 17:06:07 2001
+++ openssh-3.0.2p1I/auth.c Sun Jan 27 12:05:14 2002
@@ -44,7
2003 Jan 18
0
[Patch] User-dependent IdentityFile
Here is the user-dependent IdentityFile patch for openssh3.5 (BSD version),
which allows private key files to be placed system wide (for all users) in
a secure (non-NFS) mounted location.
This addresses an important security hole on systems where home directories
are NFS mounted, particularly if there are users who use blank passphrases
(or when lpd is tunneled through ssh on systems running lpd
2002 Jan 27
1
[PATCH] Add user-dependent IdentityFile to OpenSSH-3.0.2p1
Here is a patch to allow private key files to be placed system wide (for
all users) in a secure (non-NFS) mounted location on systems where home
directories are NFS mounted. This is especially important for users who use
blank passphrases rather than ssh-agent (a good example of where this is
necessary is for tunnelling lpd through ssh on systems that run lpd as user
lp).
IdentityFile now accepts
2008 Apr 28
7
[Bug 1461] New: session.c: don't chdir() after chroot() if chroot_path==pw->pw_dir
https://bugzilla.mindrot.org/show_bug.cgi?id=1461
Summary: session.c: don't chdir() after chroot() if
chroot_path==pw->pw_dir
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.0p1
2002 Nov 05
2
[PATCH] Add a chroot_users option to sshd
This patch adds a new option to sshd, chroot_users. It has the effect of
chroot()ing incoming ssh users to their home directory. Note: this option
does not work if UsePrivilegeSeparation is enabled.
Patch is based on OpenSSH 3.4p1.
*** servconf.h@@\main\1 Tue Oct 1 17:25:32 2002
--- servconf.h Wed Oct 2 06:17:48 2002
***************
*** 131,136 ****
--- 131,137 ----
char
2016 Apr 19
2
llvm::sys::path::home_directory() implementation for unix
I recently was using llvm code from a process that I manually spawned as a child process and noticed that llvm::sys::path::home_directory() only works if "HOME" is set in the process environment:
bool home_directory(SmallVectorImpl<char> &result) {
if (char *RequestedDir = getenv("HOME")) {
result.clear();
result.append(RequestedDir, RequestedDir +
2004 Nov 30
2
getpwuid vs. getpwnam
This issue has probably been brought up before, but I'll mention it anyway.
I just downloaded and built openssh 3.9p1 on Solaris 8. In my
environment, I have two root accounts. The normal one and an alternate
one (rjohn - uid 0) with it's own home directory (/export/home/rjohn).
After building and installing openssh, I was having trouble getting my
RSA authentication to work. In
2004 Feb 27
1
[PATCH] Getting AFS tokens from a GSSAPI-delegated TGT
Here is a patch I just wrote and tested which may be of interest to
those who wish to use KerberosGetAFSToken (currently requires Heimdal
libkafs) in combination with GSSAPIDelegateCredentials. The patch is
in the public domain and comes with no warranty whatsoever. Applies
to pristine 3.8p1. Works for me on Solaris and Tru64.
I'd probably have used Doug Engert's patch from 2004-01-30 if
2001 Mar 14
1
[PATCH]: contrib/cygwin/README
Hi,
I have a small patch here which changes the Cygwin README file so
that the following fact is mentioned.
OpenSSH never uses $HOME to search for user config files but the
value in the pw_dir field in /etc/passwd.
This might be of minor interest for generic U*X folks but that's
an important fact for Cygwin users. When /etc/passwd is automatically
created under WinNT/2K it uses the values
2001 Jun 06
0
snk authentication
Here is a little patch against 2.9p1 that performs the SNK (also known
as TIS authserv) challenge-response automaticly instead of asking the
user. hope you find it useful.
--larry
-------------- next part --------------
diff -NuBw openssh-2.9p1/Makefile.in openssh/Makefile.in
--- openssh-2.9p1/Makefile.in Thu Apr 26 20:31:08 2001
+++ openssh/Makefile.in Wed Jun 6 16:15:56 2001
@@ -43,9 +43,9
2000 Oct 24
2
feature request & patch submit: chroot(2) in sshd
Hello,
whereas most people take passwd/shadow/ldap/<whatever> as the place where
decision on a chrooted environment / sandbox for certain users is met (just
set the given usershell appropriateley), I needed a somewhat different
approach. Below is a tiny patch to 2.2.0p1 which enhances the sshd-config
by two options and, when set, places all users / users of a certain group
immediately in
2018 Oct 04
2
vpopmail
Quoting Eric Broch <ebroch at whitehorsetc.com>:
> On 10/4/2018 7:27 AM, Rick Romero wrote:
>>
>> Quoting Eric Broch <ebroch at whitehorsetc.com
>> <mailto:ebroch at whitehorsetc.com>>:
>>
>>>
>>> On 10/4/2018 6:34 AM, Rick Romero wrote:
>>>>
>> Quoting Aki Tuomi <aki.tuomi at open-xchange.com
>>
2001 Jul 29
1
add version 2 identities by default, too
[ I'm not subscribed to this list; please CC any followups to me as
well ]
When a user invokes "ssh-add" with no arguments, I think we should
default to adding both version 1 and version 2 keys. Here's a patch
against the source included with my Debian package of OpenSSH:
walters at space-ghost:/usr/src/ssh/openssh-2.9p2$ diff -u ssh-add.c~ ssh-add.c
--- ssh-add.c~ Thu Apr
2011 Jun 13
2
use variable value to create new variable name
Hi,
Is it possible (and how) to use a variable value to create a name of a new R
variable? I want to do something like this:
for (i in 1:3) {
newvarialbe_#i# = somedata
}
where #i# is a value stored by i. In the first loop, there will be
newvariable_1, in second newvariable_2 and so on.
Thanks in advance,
Maciek
[[alternative HTML version deleted]]
2018 Oct 04
3
vpopmail
Quoting Eric Broch <ebroch at whitehorsetc.com>:
> On 10/4/2018 6:34 AM, Rick Romero wrote:
>
>> ?
Quoting Aki Tuomi <aki.tuomi at open-xchange.com>:
> On 03.10.2018 23:30, Eric Broch wrote:
>
>> Hello list,
>>
>> I run Dovecot with the vpopmail driver and have found that it
>> authenticates against the clear text password in the vpopmail
2020 Mar 18
2
Headsup on feature removal
Hi Aki and Remo,
switch from vpopmail driver to SQL driver (if you are using vpopmail
with mysql as backend) is very simple.
First you need to setup the right query for vpopmail database:
# cat /etc/dovecot/dovecot-sql.conf.ext
### Vpopmail
driver = mysql
connect = host=192.168.1.2 dbname=vpopmail user=vpopmail password=Vp0pM4iL
default_pass_scheme = MD5-CRYPT
### Query to get a list of all
2001 Jun 04
1
[PATCH]: Add check_ntsec to ownership/mode tests
Hi,
I have added calls to `check_ntsec()' to the code which checks
for the ownership and modes of identity files and directories.
As you might know, check_ntsec() tests if owner/modes are
supported by the OS (9x/ME=no, NT/W2K=yes), the filesystem
(FAT/FAT32=no, NTFS=yes) and the current Cygwin settings
(ntea/ntsec).
Corinna
Index: auth-rhosts.c
2001 Jan 03
1
chroot.diff
Hi there, everyone;
I've had a few requests for an updated version of my chroot patch. (the
version found in contrib is outdated)
So, here it goes, updated to 2.3.0p1; "chroot.diff" is a plain diff for
session.c (apply, compile and go). "chroot+configure.diff" is the same
patch, plus an option to "configure" for enabling/disabling chroot support
(./configure
2010 May 05
2
NoMachine Makes OpenSSH Win32 Port Available
Hi all,
We are happy to inform you that we have made available a Win32 port of
OpenSSH. We have also created a dedicated area on our website along with
the relevant build and installation instructions:
http://www.nomachine.com/contributions.php.
While still in the early stages and requiring a little more evolvement,
the port includes both the client and the server and implements a majority
of
2020 Sep 16
3
Problems with x2go
On Sep 15, 2020, at 19:32, Jack Bailey via CentOS <centos at centos.org> wrote:
>
> This is not the answer to your question, but if this is a new install and not an existing installation, consider NoMachine <https://www.nomachine.com/>. It's free and so much better than x2go it's hard to even compare the two.
It is ?free? only for noncommercial use. It isn?t open