Displaying 20 results from an estimated 6000 matches similar to: "[Bug 120] New: sshd fails pty chown() when run as non-root userid"
2002 Feb 18
4
[Bug 120] sshd fails pty chown() when run as non-root userid
http://bugzilla.mindrot.org/show_bug.cgi?id=120
------- Additional Comments From markus at openbsd.org 2002-02-19 04:29 -------
can you allocate ptys as non-root?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2002 Apr 17
0
[Bug 120] sshd fails pty chown() when run as non-root userid
http://bugzilla.mindrot.org/show_bug.cgi?id=120
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Keywords| |help-wanted
------- You are receiving this mail because: -------
You are
2001 Sep 28
1
openssh-2.9.9p2 assumes pid_t, uid_t, etc. are not 'long'
openssh-2.9.9p2 assumes that pid_t, uid_t, gid_t, and mode_t are no
wider than int. GCC complains about this assumption on 32-bit Solaris
8 sparc, where these types are 'long', not 'int'. This isn't an
actual problem at runtime on this host, as long and int are the same
width, but it is a problem on other hosts where pid_t is wider than
int. E.g., I've heard that 64-bit
2002 Sep 11
1
tru64 sia: move call of session_setup_sia() to do_setusercontext(), letting grantpty() and friends handle pty perms
Hi-
Under privsep, I experimented with moving the session_setup_sia() out of
do_child() and into do_setusercontext(), which is where the uids/gids are set
to the final execution user. The call is made with a NULL tty, and this
is functional provided that any later pty allocation uses grantpty() to
set the device permissions. Logging in with this method shows that a utmp
entry does get made for
2001 Nov 27
2
3.0.1p1 losing tty modes?
Hello,
openssh-3.0.1p1 appears to transmit and parse tty modes correctly,
but later in the code it uses vhangup() to close all tty references and
reset the tty to default modes. I don't think that vhangup() should be
needed on Unix98 ptys, possibly not even on BSD ptys, and I am probably
wrong, so please tell me where. Of course vhangup() clears all tty modes,
so you need to save them
2014 Dec 28
2
Compiling a static openssh server
Hello,
I'm trying to compile a static openssh-server, simply by running:
export LDFLAGS=-static
./configure
make sshd
but the linker shows the warnings I've quoted on the bottom of this mail.
The warnings say that I cannot use NSS functions when statically compiling.
This makes sshd not work because at runtime, every call to getpwnam returns
0.
Do you know a way to compile openssh
2012 Mar 06
6
openssh static build - mission impossible?
I am trying to build a static version of ssh, sshd and sftp, but after banging my head against the wall for the best part of the last 3 days I am about to give up...
Since I plan to use this on an embedded device (building dropbear is *NOT* an option!), I've excluded as many openssh configure options as I can but, ultimately, failed. This is my setup:
export LDFLAGS=' -pie -z relro -z
2001 Nov 04
2
no error messages on I/O errors
rsync-2.4.6-2mdk
I ran an rsync into a file system that filled up. I got no error message
out of rsync - it just stopped and exited sliently. I stuck an fprintf
into the receiving code and verified that the proper error was being
generated - it just never gets printed by the rsync sending process.
I submitted a bug report about it; but, I can't believe that other
people haven't had
2007 Dec 21
17
[Bug 1419] New: Fix PTY handling on Mac OS X
https://bugzilla.mindrot.org/show_bug.cgi?id=1419
Summary: Fix PTY handling on Mac OS X
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: bitbucket at mindrot.org
2014 Feb 11
1
[SOLVED] Re: What magic did openssh do to handle programs like VIM?
Hi Darren,
As you suggested, I've incorporated pty and enabled raw mode in my
client program.
VIM runs fine ;-P
Now I only need to pass in the terminal window size and handle several signals
Thanks for the heads up!
On Mon, Feb 10, 2014 at 4:59 PM, Darren Tucker <dtucker at zip.com.au> wrote:
> On Mon, Feb 10, 2014 at 7:39 PM, Aaron Lewis <the.warl0ck.1989 at gmail.com>
2001 Oct 13
3
2.2.19+ext3 or 2.4.1x+ext3 ?
I've not been happy with the stories about the "stable" 2.4.x kernels.
Everywhere I read people saying "not for production use".
Would you recommend adding ext3 to 2.2.19 (ext3-0.0.7a) or moving to
2.4.1x and using ext3 there (ext3-0.9.12)?
--
-IAN! Ian! D. Allen Ottawa, Ontario, Canada idallen@ncf.ca
Home Page on the Ottawa FreeNet: http://www.ncf.ca/~aa610/
2008 Jul 28
0
PTY allocation without being root
Hello everyone,
Some of you might already know what I've been doing lately, but I'd
better introduce myself properly: since February this year I've been
working on redesigning the TTY layer for the FreeBSD operating system. I
hope to get my work integrated next month (the 10th of August). The new
TTY layer will have some minor improvements with respect to performance,
but one of the
2001 Sep 04
2
converted ext2->ext3 root won't mount on boot as ext3
Kernel 2.4.8 on an Athlon 500.
e2fsprogs-1.23
ext3 compiled as a module.
I used "tune2fs" to make /boot and /home into ext3, and remounted them OK.
(I am so amazed to see the system come right back without an lengthy
fsck on these two file systems after a power off! Well done!)
I also used "tune2fs -j" on /, it created a /.journal file. The debugfs
features command shows
2002 Sep 02
1
incomplete smbmount smbfs Win98SE iso8859-1 translation in kernel 2.4.18
I'm getting only partial iso8859-1 translation from an smbfs mount from
my Win98SE machine. The smbfs mounted file system shows most lower-case
accented characters fine; but, it substitutes underscores for most of
the upper-case accented characters (and a few lower-case ones too):
# uname -a
Linux elm 2.4.18-8.1mdkian3 #7 Sat Aug 17 15:19:44 EDT 2002 i686 unknown
(Mandrake 8.2 Linux with all
2002 Jun 29
0
fd passing pty handling
We don't currently support SVR4-style fd passing which involves
I_SENDFD/I_RECVFD ioctls. I'm not sure if that might help some
p platforms with privsep.
Some platforms that use STREAMS ptys use a set-uid root helper
to handle the privileged portions of pty creation. grantpt(3)
has a bit more info.
on Solaris 8 it's: /usr/lib/pt_chmod
on HP-UX it's: /usr/lbin/chgpt
Perhaps this
2013 Jun 04
1
PTY allocation?
I'm running a 5.0p1 derivative SSH server (that for various reasons I
can not upgrade), on a host system that does not support PTYs.
Attempts to connect to that sshd via sftp are failing due to an
inability to allocate a pty. I can't really see a reason that an sftp
session requires a pty. Is this addressed in later versions? Should
I patch my system to avoid even trying to
2011 Jul 23
2
openssh PTY allocation
We recently upgraded to openss 5.8p2 from a somewhat older version.
This broke openssh login to ScreenOS devices. These devices don't
support PTY allocation. Apparently, ssh now reacts to PTY allocation
failure by failing the login. This is a change from the previous
behavior. The simple workaround is ssh -T $device.
I see in the ChangeLog that some device would hang with PTY allocation
2009 Apr 22
2
purge-empty-dirs and max-file-size confusion
I want to use --min-size to copy just large files (and their necessary
parent directories), but everything I've tried copies *all* the source
directories, and creates them empty on the destination even if they
don't have any big files in them. I only want the minimal directory
hierarchies that contain the big files. This doesn't work:
$ rm -rf /tmp/foo
$ rsync -ai --min-size
2002 Jan 29
2
what is patched and what is not?
I'm trying to pick a kernel for ext3.
Looking at the web page (http://www.zip.com.au/~akpm/linux/ext3/), I see
little that clues me in to the fact that "most" of ext3 is already in
(some|most|all) of the 2.4 series kernels.
Am I correct that most of the patches listed on the web page now are
actually bug fixes to the existing ext3 code, as opposed to previous
patches that actually
2005 May 18
3
odd line in current CVS for firewall
>From a diff of my current shorewall firewall script with the new one
from the CVS today :
$ diff -w /usr/share/shorewall/firewall /usr/src/shorewall/s/firewall
[...]
673c910
< for network in $networks; do
---
> for networks in $networks; do
I don''t think that "for networks in $networks" works well.
--
-IAN! Ian! D. Allen Ottawa, Ontario,