On Wed, Nov 4, 2009 at 11:02 AM, Jason L Tibbitts III <tibbs(a)math.uh.edu> wrote:
>>>>> "RWMJ" == Richard W M Jones
<rjones(a)redhat.com> writes:
RWMJ> Newly installed Ubuntu 9.10, when you log in over ssh you may see:
RWMJ> 34 packages can be updated. 10 updates are security updates.
What a terrible idea. My users, who are welcome to ssh into a number of
machines at my site, have no need to see that information.
It's a good idea for one off jobs where the primary user is also the
admin, but not so good for shared systems. Personally I think a better
plan would be to display that information *only* if the user is
flagged as an administrator, group root, wheel, etc.
RWMJ> Actually I was trying to work out how it's implemented.
Get information, append to /etc/motd. You could parse yum output in a
cron job if you really wanted it. It would almost certainly be better
to mail that information, though, if the admin really wants it. I often
go some time without actually having to ssh into many of my server.
- J<
--
fedora-devel-list mailing list
fedora-devel-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
--
Richard June
Orion Technology Solutions
574.933.1576
http://www.oriontechnologysolutions.com