[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Admin terminal message



> > Slightly OT and very newbie, but how can I, as superuser, send messages to
> > the terminals of all logged-on users? (e.g. warning about reboots etc.)

dont think you can do through the gui?


but logged in as root
------- reboot with a message -------------
/sbin/shutdown -r now  rebooting get out
or
/sbin/shutdown -r 3  rebooting in 3 minutes

-r  will reboot
now or 3 (minutes for the timing of the reboot)
message following the time is echoed to all logged in terminals

if you want to send a message to a logged in user run
w to see whose logged in 

if fred is logged into pts/3 then

echo hi fred >>/dev/pts/3

will send a message to fred only. dont know how to echo to all users :(
b w g'



> >
> >
> > Per M Knutsen
> > http://nethut.no/~pknutsen
> >
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
> 
> Check out the wall command.
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
-- 
------------------------------------------------------
http://www.coolcat.net      http://www.coolcoach.net 
  1:01pm  up 12 days,  2:56
Do you remember when you only had to pay for windows when *you* broke them?