Displaying 5 results from an estimated 5 matches for "chroot_directory".
2009 Feb 26
2
[Bug 1564] New: non-accessible user's home directory not reported when ChrootDirectory=none
...COM
Created an attachment (id=1608)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1608)
suggested patch
ChrootDirectory=none is the same as not specifying ChrootDirectory at
all. In both cases, sshd should report when the user's directory can't
be cd into. It does that only when chroot_directory is NULL. There is a
missing check for "none" in session.c:
/* Suppress missing homedir warning for chroot case */
#ifdef HAVE_LOGIN_CAP
r = login_getcapbool(lc, "requirehome", 0);
#endif
if (r || options.chroot_directory == NULL)...
2009 Dec 02
9
[Bug 1679] New: chroot and shell check ambiguity
https://bugzilla.mindrot.org/show_bug.cgi?id=1679
Summary: chroot and shell check ambiguity
Product: Portable OpenSSH
Version: 5.3p1
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: alex at
2007 Jul 01
1
Differences in deliver and IMAP
...sbmV0d29yay5jby51awBhYzI5Y2U4NHN5ZA==
dovecot: Jul 01 16:51:46 Info: auth(default):
sql(andy.shellam at mailnetwork.co.uk,82.165.38.62): query: SELECT
<user_field> as user, <password_field> as password, <home_directory> AS
userdb_home, <mail_directory> AS userdb_mail, <chroot_directory> AS
userdb_chroot, <uid_field> AS userdb_uid, <gid_field> AS userdb_gid FROM
<user_table> WHERE <user_field> = 'andy.shellam at mailnetwork.co.uk'
dovecot: Jul 01 16:51:46 Info: auth(default): client out: OK 1
user=andy.shellam at mailnetwork.co.uk
doveco...
2017 Jun 16
2
[PATCH] allow relative path in streamlocal forwarding
..._subsystems = 0;
options->max_startups_begin = -1;
options->max_startups_rate = -1;
@@ -355,6 +356,7 @@ fill_default_server_options(ServerOptions *options)
CLEAR_ON_NONE(options->authorized_principals_file);
CLEAR_ON_NONE(options->adm_forced_command);
CLEAR_ON_NONE(options->chroot_directory);
+ CLEAR_ON_NONE(options->fwd_opts.streamlocal_bind_root_directory);
for (i = 0; i < options->num_host_key_files; i++)
CLEAR_ON_NONE(options->host_key_files[i]);
for (i = 0; i < options->num_host_cert_files; i++)
@@ -417,6 +419,7 @@ typedef enum {
sAuthorizedKeysCommand,...
2015 Sep 07
7
[Bug 2458] New: do not print warning about missing home directory in chroot
...5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: mail at eworm.de
Created attachment 2695
--> https://bugzilla.mindrot.org/attachment.cgi?id=2695&action=edit
do not print warning about missing home directory in chroot
Since setting options.chroot_directory to NULL after successful chroot
the following error message is back:
Could not chdir to home directory /home/user: No such file or
directory
Remember that we are inside a chroot and do not print error message
about missing home directory.
--
You are receiving this mail because:
You are watching...