RE: [gentoo-user] viewing consoles remotely

2006-06-09 Thread Daevid Vincent
> -Original Message- > From: Ryan Tandy [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 01, 2006 9:58 PM > > For your situation, assuming I've interpreted it correctly, > you should > get the user to SSH into your box, set their shell in /etc/passwd to > /usr/bin/screen -S (something

Re: [gentoo-user] viewing consoles remotely

2006-06-04 Thread Iain Buchanan
On Sat, 2006-06-03 at 18:24 -0700, Ryan Tandy wrote: > Iain Buchanan wrote: > > 1. sudo chmod u+s /usr/bin/screen > > 2. sudo chmod 755 /var/run/screen > > 3. screen -r sessionowner/[[pid.]tty[.host]] > > I think the little part of me that's even slightly security-conscious > just had a heart att

Re: [gentoo-user] viewing consoles remotely

2006-06-03 Thread Ryan Tandy
Iain Buchanan wrote: 1. sudo chmod u+s /usr/bin/screen 2. sudo chmod 755 /var/run/screen 3. screen -r sessionowner/[[pid.]tty[.host]] I think the little part of me that's even slightly security-conscious just had a heart attack. It's interesting that screen -r has the desired effect, though;

Re: [gentoo-user] viewing consoles remotely

2006-06-03 Thread Iain Buchanan
On Sat, 2006-06-03 at 10:04 +0200, Jure Varlec wrote: > On Friday 02 June 2006 06:57, Ryan Tandy wrote: > > Multi-user mode. Only works as root, regardless of who started the screen. > > AFAIK suid root is enough. Using it depends on your approach to security > though :) . Thanks for the tip, I

Re: [gentoo-user] viewing consoles remotely

2006-06-03 Thread Jure Varlec
On Friday 02 June 2006 06:57, Ryan Tandy wrote: > Multi-user mode.  Only works as root, regardless of who started the screen. AFAIK suid root is enough. Using it depends on your approach to security though :) . pgpscL0Ui4GUP.pgp Description: PGP signature

Re: [gentoo-user] viewing consoles remotely

2006-06-01 Thread Ryan Tandy
Iain Buchanan wrote: I am aware of screen, but AFAIK screen can't show the buffer locally on the console as well as remotely to a user, at the same time... thanks for the tips, # screen -x (name of screen) Multi-user mode. Only works as root, regardless of who started the screen. For your s

Re: [gentoo-user] viewing consoles remotely

2006-06-01 Thread Jeremy Olexa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain Buchanan wrote: > Hi all, > > A gentoo box I have with some custom apps starts up and outputs messages > from each of these apps to the consoles (ctrl-alt-F1 to ctrl-alt-F6). > > Is there any way of viewing this console output from a remote ssh

[gentoo-user] viewing consoles remotely

2006-06-01 Thread Iain Buchanan
Hi all, A gentoo box I have with some custom apps starts up and outputs messages from each of these apps to the consoles (ctrl-alt-F1 to ctrl-alt-F6). Is there any way of viewing this console output from a remote ssh session, or something similar? There used to be a program on QNX called ditto,