search for: chroot_path

Displaying 6 results from an estimated 6 matches for "chroot_path".

2006 Oct 09
1
About sftp-server root path
Hi, I saw in archive that some people made a patch to sftp-server, and that patch sets a root path. I'd like to know if there's an ideia to apply that patch in main tree of openssh? With the use of SSHFS [wich uses sftp-server], it would be interesting to have someting like that, because as we have netboot workstations, the access to devices [such as, floppy, cdrom and usb data] are
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 Platform: ix86...
2007 Jan 23
2
Re: [nut-commits] svn commit r731
...uot; -r <dir> chroots to <dir>\n"); > printf(" -u <user> switch to <user> (if started as root)\n"); > printf(" -V display the version of this software\n"); > @@ -834,6 +929,7 @@ > const char *user = NULL; > char *progname, *chroot_path = NULL; > struct passwd *new_uid = NULL; > + stype *serv; > > progname = argv[0]; > > @@ -845,34 +941,20 @@ > datapath = xstrdup(DATADIR); > > /* set up some things for later */ > -#ifndef HAVE_IPV6 > - > - listenaddr.s_addr = INADDR_ANY; > -#end...
2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
...> break; > case 'i': > +#ifndef HAVE_IPV6 > + if (!inet_aton(optarg, &listenaddr)) > + fatal_with_errno("Invalid IP address"); > +#else > listenaddr = xstrdup(optarg); > +#endif > break; > case 'r': > chroot_path = optarg; > @@ -829,6 +903,7 @@ > nut_debug_level++; > break; > > +#ifdef HAVE_IPV6 > case '4': > opt_af = AF_INET; > break; > @@ -836,6 +911,7 @@ > case '6': > opt_af = AF_INET6; > break; > +#endif &gt...
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
...52,8 +797,7 @@ > net_port = atoi(optarg); > break; > case 'i': > - if (!inet_aton(optarg, &listenaddr)) > - fatal_with_errno("Invalid IP address"); > + listenaddr = xstrdup(optarg); > break; > case 'r': > chroot_path = optarg; > @@ -784,6 +828,15 @@ > do_background = 0; > nut_debug_level++; > break; > + > + case '4': > + opt_af = AF_INET; > + break; > + > + case '6': > + opt_af = AF_INET6; > + break; > + > default: &g...
2008 Mar 31
80
[Bug 1452] New: (V_5_0) Bugs intended to be fixed in 5.0
https://bugzilla.mindrot.org/show_bug.cgi?id=1452 Summary: (V_5_0) Bugs intended to be fixed in 5.0 Classification: Unclassified Product: Portable OpenSSH Version: -current Platform: Other