LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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
  Search this Thread
Old 03-12-2002, 08:33 PM   #1
Road
Member
 
Registered: Jan 2002
Distribution: Debian Based only but have tried most others.
Posts: 82

Rep: Reputation: 15
Talking to others logged in a Shell


I want to communicate with others when they log onto a shell on my linux box. we currently use SSH and the Talk Daemon is not running (I hear its a big Security whole). Is there any other options or at least can send a global message over like Root does when you shutdown. Thanks for you help.
 
Old 03-12-2002, 09:10 PM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
You could install the talk demon, but bind it to localhost (or firewall it with ipchains/iptables). I don't know if there are any security implications with it being accessed only from localhost.

Another option might be installing jabber (http://www.jabber.org/) and finding a text client.

Finally there is the option that we at us-lot.org have done, which is to run an irc server on localhost (no external ports allow access to it) and run epic4 or xchat/mirc down and ssh pipe to get to it.
 
Old 03-12-2002, 09:44 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
you can send global messages with wall command.. i think root only has rights but i am sure you could change that....
only one i can think of off top of my head...

downside is you have to create the message as a text file first.. in most cases.. hmmmm

-trickykid
 
Old 03-12-2002, 10:55 PM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
wall accepts input from STDIN

Code:
wall
message
more message
yet more message
still more message
Ctrl+D
 
Old 03-13-2002, 12:42 AM   #5
Road
Member
 
Registered: Jan 2002
Distribution: Debian Based only but have tried most others.
Posts: 82

Original Poster
Rep: Reputation: 15
Thanks

You guys rock!! I will try all your ideas!
 
Old 03-13-2002, 04:02 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
also "write" doesn't erquire a daemon, and just dumps text on to the first log in console of the specified user
 
Old 03-13-2002, 04:11 AM   #7
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
The problem with write is that you have to give other people permission to write to your console. This is not always what you want.
We used to play around with that at school years ago. Make people's screen scroll with large amounts of random text.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script to calculate the time a user is logged in racer_mec Linux - Newbie 2 02-08-2005 12:40 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 05:27 PM
talking about movies titanium_geek General 2 11-19-2003 08:13 PM
Shell Scripting: Users "**Never logged in**" cparker15 Linux - General 1 10-02-2003 04:48 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration