search for: tty's

Displaying 20 results from an estimated 3292 matches for "tty's".

Did you mean: ttm's
2010 Mar 02
2
Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)
...9, 1 Mar 2 18:06 parport1 crw-rw---- 1 root lp 99, 2 Mar 2 18:06 parport2 crw-rw---- 1 root lp 99, 3 Mar 2 18:06 parport3 crw-r----- 1 root kmem 1, 4 Mar 2 18:06 port crw------- 1 root root 108, 0 Mar 2 18:06 ppp crw-rw-rw- 1 root tty 5, 2 Mar 2 18:10 ptmx drwxr-xr-x 2 root root 0 Mar 2 18:05 pts lrwxrwxrwx 1 root root 4 Mar 2 18:06 ram -> ram1 brw-r----- 1 root disk 1, 0 Mar 2 18:06 ram0 brw-r----- 1 root disk 1, 1 Mar 2 18:06 ram1 brw-r----- 1 roo...
2001 Mar 21
1
Tru64 UNIX SIA in 2.5.2p1 is hosed (still)
The recent patch posted by Steve VanDevender <stevev at darkwing.uoregon.edu> for fixing the session code on Tru64 isn't quite right -- it still fails in the case of NO tty being allocated. The problem is that s->tty is a char[TTYSZ] rather than a char *, and hence can't hold a NULL. Calling sia_ses_init() with the tty being an empty string doesn't signify no tty, and hence will cause a failure. The "no tty" case should have tty passed as NUL...
2003 May 16
3
open and euid security flaw in 5.0-Current?
On a FreeBSD 5.0 the behaviour of screen when connecting to other users sessions have changed. Previously: 1. login as userA start a screen as userA and disconnect 2. login as root su - userA "screen -r" 3. result failure as userA cant access the ttyX with such a message Current: 1. login as userA start a screen as userA and disconnect 2. login as root su - userA "screen -r" 3. result failure as userA cant access the ttyX but no message After looking around in screen's code I found that after doing a seteuid( userA ) an open on r...
2014 Nov 25
3
[PATCH] mllib: use Unix.isatty
Make use of Unix.isatty instead of our TTY.isatty_stdout, as the supported OCaml provides the former already. --- mllib/common_utils.ml | 10 +++++----- mllib/progress.ml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index 295981c..9fcd8dd 100644...
2012 Jun 07
7
[PATCH] xen/hvc: Fix polling mode to work with kdb/kgdb
Fix the polling section of the hvc driver to use the global "last_hvc" variable, rather than the ttys. With this change debugging a xen dom0 kernel is possible via the following kernel parameter: kgdboc=hvc0 Signed-off-by: Ben Guthro <Benjamin.Guthro@citrix.com> diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index 2d691eb..3750e74 100644 --- a/drivers/tty/hvc/...
2014 Aug 27
1
pty_setowner and tty permissions
Hi, while looking into Cygwin's tty code, I stumbled over this problem: Every time you log in to Cygwin via sshd, the pty's permissions are set like this: $ ls -l `tty` crw--w--w- 1 user group 136, 2 Aug 27 13:06 /dev/pty2 Since Cygwin sets the permissions more tight to begin with, I was wondering why the permi...
1997 Sep 26
1
tty chowning
About a year ago I outlined a scheme for arranging chowning of the tty end of ptys without needing root privileges. Since then, I haven''t had time to actually implement it. I was thinking about the problem again today, and, having learned a bit about sessions and controlling ttys and stuff, was able to come up with a simpler mechanism. First, observe that t...
2002 Jun 28
3
AIX usrinfo() cleanup.
Can we do this? Or should we drop the whole char *tty; ? There will be no way of setting the TTY= correctly while using privsep (Mainly for multiple streams over single session). The only thing we really could do is do: In do_setusercontext() if (use_privsep) aix_usrinfo(pw, NULL); and back in the old spot put: if (!use_privsep) aix_usrinfo(p...
2002 Jun 27
1
No TTY prealloc; Tru64 can't do post-auth privsep
Well, after digging around and thinking some more, I'm giving up on the idea of preallocating a TTY to get post-auth privsep working on Tru64. I don't think it will work, because just allocating a TTY doesn't fix the problem - there's no valid way to tie that TTY back to the client process (because it hasn't requested a TTY yet and may not ever do so). The problem is that the Tru6...
2014 Sep 28
2
Re: Why libguestfs guest exist exceptionally?
...-machine accel=kvm:tcg \ -m 500 \ -no-reboot \ -no-hpet \ -serial stdio \ -net user,vlan=0,net=10.0.2.0/24 \ -net nic,model=virtio,vlan=0 \ -kernel /var/tmp/.guestfs-0/kernel.27302 \ -initrd /var/tmp/.guestfs-0/initrd.27302 \ -append 'panic=1 noapic console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/vdb selinux=0 guestfs_vmchannel=tcp:10.0.2.2:33186 guestfs_verbose=1 TERM=vt100'Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory Back to tcg a...
2013 Oct 22
2
doveadm: Fatal: open(/dev/tty)
I received this message today, and remembered, you can't do that... $ doveadm pw -s SHA512-CRYPT Enter new password: doveadm(dan): Fatal: open(/dev/tty) failed: No such file or directory </pre> It seems if you have no tty, you can't create a password. Surely there is a better way to do this? Looking at the code, it's trying to open the tty and turn off echo. For the record: FreeBSD 8.4-RELEASE-p3 And yes, there is no console....
2014 Sep 28
2
Why libguestfs guest exist exceptionally?
...f=virtio,cache=unsafe -machine accel=kvm:tcg -m 500 -no-reboot -no-hpet -serial stdio -net user,vlan=0,net=10.0.2.0/24 -net nic,model=virtio,vlan=0 -kernel /var/tmp/.guestfs-0/kernel.28754 -initrd /var/tmp/.guestfs-0/initrd.28754 -append 'panic=1 noapic console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/vdc selinux=0 guestfs_vmchannel=tcp:10.0.2.2:45041 guestfs_verbose=1 TERM=vt100' Could not access KVM kernel module: No such file or directory failed to initialize KVM: No such file or directory Back to tcg...
2014 Sep 28
0
Re: Why libguestfs guest exist exceptionally?
...> -no-reboot \ > -no-hpet \ > -serial stdio \ > -net user,vlan=0,net=10.0.2.0/24 \ > -net nic,model=virtio,vlan=0 \ > -kernel /var/tmp/.guestfs-0/kernel.27302 \ > -initrd /var/tmp/.guestfs-0/initrd.27302 \ > -append 'panic=1 noapic console=ttyS0 udevtimeout=600 > no_timer_check acpi=off printk.time=1 cgroup_disable=memory > root=/dev/vdb selinux=0 guestfs_vmchannel=tcp:10.0.2.2:33186 > guestfs_verbose=1 TERM=vt100'Could not access KVM kernel module: No > such file or directory > failed to initialize KVM: No such file o...
2013 Apr 04
3
/dev/tty only on a new container
Hi folks :), I migrated the host from the Debian Squeeze to Ubuntu 12.10. Old containers work but I can't use the ssh command, /dev/tty is missing. On a new container, /dev/tty is here. The libvirt configuration is the same. Any ideas? Thanks. -- Sebastien Douche <sdouche at gmail.com> Twitter: @sdouche / G+: +sdouche
2012 May 16
1
lxc: Add /dev/tty to lxcContainerPopulateDevices() ?
...quot;/dev/zero" }, { LXC_DEV_MAJ_MEMORY, LXC_DEV_MIN_FULL, 0666, "/dev/full" }, { LXC_DEV_MAJ_MEMORY, LXC_DEV_MIN_RANDOM, 0666, "/dev/random" }, { LXC_DEV_MAJ_MEMORY, LXC_DEV_MIN_URANDOM, 0666, "/dev/urandom" }, }; Can we add '/dev/tty' to this list ? We were trying to run 'smbpasswd -a user' inside a container without /dev/tty and the fopen("/dev/tty", "w+") in smbpasswd made /dev/tty a regular file, breaking man(1), less(1), and ofcourse smbpasswd :-) Sure we can add /dev/tty to container's...
2014 Dec 01
3
Problem with /dev/tty in LXC established with virt-install
I have created a LXC container with debootstrap followed by virt-install like this: host=mylxc1 debootstrap wheezy /home/lxc/$host virt-install -c lxc:// -n $host --filesystem /home/lxc/$host,/ --ram 1024 I am confused about the /dev filesystem in this container. Specifically the device '/dev/tty'. >From inside the container: ~# ls -la /dev/tty ls: cannot access /dev/tty: No such file or directory # mknod -m 666 /dev/tty c 4 0 mknod: `/dev/tty': Operation not permitted A LXC container created and started with the native LXC commands (lxc-create/lxc-start) has a functioning /d...
2014 Sep 28
2
Re: Why libguestfs guest exist exceptionally?
...t; -no-hpet \ >> -serial stdio \ >> -net user,vlan=0,net=10.0.2.0/24 \ >> -net nic,model=virtio,vlan=0 \ >> -kernel /var/tmp/.guestfs-0/kernel.27302 \ >> -initrd /var/tmp/.guestfs-0/initrd.27302 \ >> -append 'panic=1 noapic console=ttyS0 udevtimeout=600 >> no_timer_check acpi=off printk.time=1 cgroup_disable=memory >> root=/dev/vdb selinux=0 guestfs_vmchannel=tcp:10.0.2.2:33186 >> guestfs_verbose=1 TERM=vt100'Could not access KVM kernel module: No >> such file or directory >> failed to initialize...
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 al...
2011 Nov 08
3
[PATCH RFC v2 0/3] Support multiple VirtioConsoles.
...pplies to linux-next/next-20111102. This series implements support for multiple virtio_consoles using KVM. This patchset addresses several issues associated with trying to establish multiple virtio consoles. I'm trying to start a guest via KVM that supports multiple virtual consoles, with getty's on each, and with some being console devices. These patches let me establish more than one VirtioConsole (I'm running eight at the moment), and enable console output appearing on one of them. It still doesn't successfully generate console output on multiple VirtioConsoles. Let me a...
2011 Nov 08
3
[PATCH RFC v2 0/3] Support multiple VirtioConsoles.
...pplies to linux-next/next-20111102. This series implements support for multiple virtio_consoles using KVM. This patchset addresses several issues associated with trying to establish multiple virtio consoles. I'm trying to start a guest via KVM that supports multiple virtual consoles, with getty's on each, and with some being console devices. These patches let me establish more than one VirtioConsole (I'm running eight at the moment), and enable console output appearing on one of them. It still doesn't successfully generate console output on multiple VirtioConsoles. Let me a...