How do I get a file ex: /var/log/messages to continualy be printedto a regular terminal?

George Toft plug-discuss@lists.plug.phoenix.az.us
Tue, 04 Mar 2003 08:35:56 -0500


Entelin wrote:
> =

> How do I get a file ex: /var/log/messages to continualy be printed to a=

> regular terminal? (just a normal text mode terminal, not a external
> display or anything) I want to set up one window for messages, another
> for named.run, etc.. I dont want a login prompt or anything on it.
> =

> Thanks :)
> =

> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


/var/log/messages is owned by root, which means you either have to set
up an unpriv user to view them using sudo, or be logged in as root to
view that file.  Be careful about logging in as root to view a file -
make really sure that terminal is secure - if you walk away, can someone
else press ^C and add something (like a useraccount) for you while you
are away?  I recommend the sudo route, and will provide a sudoers entry
to help you out (yes, that's what I do, even on my home systems).

George
-- =

Discover . . .         | Free Computer Security Information
        <=B7=B7=B7> Secure   | http://www.georgetoft.com/security
         Networking    | =

@http://georgetoft.com | Lock your box - keep your affairs private!