Ubuntu shows updates / security updates on shell logins

Richard June rjune at bravegnuworld.com
Wed Nov 4 17:11:19 UTC 2009


On Wed, Nov 4, 2009 at 11:02 AM, Jason L Tibbitts III <tibbs at math.uh.edu> wrote:
>>>>>> "RWMJ" == Richard W M Jones <rjones at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list

-- 
Richard June
Orion Technology Solutions
574.933.1576
http://www.oriontechnologysolutions.com




More information about the devel mailing list