LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Talk (https://www.linuxquestions.org/questions/linux-newbie-8/talk-374361/)

Joe2003 10-18-2005 02:15 PM

Talk
 
Does anyone know how to use the talk command, ive read the man pages but cant figure it?? its just I cant use wall without su and trying to find alternative ways.

cheers

joe

Tinkster 10-18-2005 02:32 PM

Code:

visudo
i
ALL localhost = NOPASSWD: wall
<ESC>
:wq

Then with
Code:

sudo wall "HAH - I can bug you all"
you should be able to bug them all as anyone.

If that's NOT what you want, replace the first
ALL in the inserted line with the username you
want to be able to use it.


Cheers,
Tink

Joe2003 10-18-2005 03:25 PM

yeah, thats cool but I need to be able to use root, is there anyway to talk to an individual without having root password???

Tinkster 10-18-2005 03:39 PM

Same as above, with write instead of wall.

Code:

ALL localhost = NOPASSWD: /usr/bin/write
sudo /usr/bin/write tink tty2 <enter>
Hey, what do you think you're doing?<Ctrl-D>


Cheers,
Tink


All times are GMT -5. The time now is 12:33 AM.