LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-17-2004, 02:24 PM   #1
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 280

Rep: Reputation: 30
Spy on people who are logged in?


Hey, in AIX there was a way to watch people who have telnetted/sshed into my machine- watch what they type on the command line. Can I do that in linux? My friend is helping me install something and I want to watch how he does it.

thanks
 
Old 03-17-2004, 02:46 PM   #2
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
Can't you look in the history file, ~/.bash_history, afterwards? Provided of course that you have bash as your shell, and that the history is enabled.
 
Old 03-17-2004, 03:03 PM   #3
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 2;Red Hat 7.3;Red Hat 9;SuSE 9.1
Posts: 135

Rep: Reputation: 15
You could install a VNC server, two people can share the same desktop.

go look at http://www.realvnc.com
 
Old 03-17-2004, 05:27 PM   #4
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 280

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by skunkburner
You could install a VNC server, two people can share the same desktop.

go look at http://www.realvnc.com
I have vnc, but each time you log in, it opens a new x session. On windows, we'd be sharing the same screen, but in linux we get different ones.
 
Old 03-18-2004, 03:26 AM   #5
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 2;Red Hat 7.3;Red Hat 9;SuSE 9.1
Posts: 135

Rep: Reputation: 15
If you start vncserver with -alwaysshared and connect both to the same desktop
ie 192.168.1.1:1 (the colon and 1 at the end tells the vnc client to connect to desktop 1)
you'll both see the same desktop.
 
Old 03-18-2004, 03:38 AM   #6
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
Isn't vnc a big security risk? What about passwords and encyption?

<EDIT>
It seems I've managed to blurt out a premature question again, so this is Yet Another Edit on my behalf

The security can be significantly improved with SSH: http://www.uk.research.att.com/archive/vnc/sshvnc.html
</EDIT>


Last edited by Bebo; 03-18-2004 at 03:46 AM.
 
Old 03-18-2004, 05:27 AM   #7
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 2;Red Hat 7.3;Red Hat 9;SuSE 9.1
Posts: 135

Rep: Reputation: 15
Yes VNC can be security risk, with a max password length of 8 it can be brute forced easily.
But as Rotwang only wanted to watch how a friend installed something, for the short while that would take security isn't really an issue. After all SSH doesn't have a 100% security record either. (and I don't know how to share ssh sessions : ).
 
Old 03-18-2004, 10:25 AM   #8
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 280

Original Poster
Rep: Reputation: 30
The vnc suggestions is good as an alternative. But does anyone know a way to do what I described- to view other people's command line sessions? Kind of like on the old BBS days where the sysop could jump in...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get people to use Linux? I'm bad at converting people over. Mr. Hill Linux - Newbie 31 10-19-2008 09:16 AM
If root becomes a SPY :-O Nad0xFF Linux - Security 21 04-08-2005 01:11 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM
People logged in through kdm don't show up in utmp Tinkster Slackware 4 03-31-2003 01:40 PM


All times are GMT -5. The time now is 08:58 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration