Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
mitjab@server:/etc/update-motd.d$ dir
00-header  10-help-text  91-release-upgrade  98-fsck-at-reboot  99-footer

i need to remove all auto updates or notifiers in my ubuntu server becouse it is to slow. How can i remove or disable it. Now when i login to server it takes 30s to see server when i write username and passwd.

How can i disable all this..

if i run

mitjab@server:/etc/update-motd.d$ update-motd --disable
/usr/bin/python: can't find '__main__' module in '/usr/share/command-not-found'
share|improve this question

4 Answers 4

This command might work for you..

apt-get remove --purge update-motd

Or if you don't want remove anything, you can change file mode to 600 in /etc/update-motd.d/*

share|improve this answer
mitjab@server:/etc/update-motd.d$ sudo apt-get remove --purge update-motd [sudo] password for mitjab: Reading package lists... Done Building dependency tree Reading state information... Done Package update-motd is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. – senzacionale Jan 7 '12 at 14:17
it is not installed yet – senzacionale Jan 7 '12 at 14:17

In the files /etc/pam.d/login and /etc/pam.d/sshd cut out the string «session optional»

share|improve this answer

use dpkg to list what has put things in your motd:

dpkg -S /etc/update-motd.d/

uninstall it with apt-get:

(for example)
sudo apt-get remove --purge update-manager-core
sudo apt-get remove --purge landscape-common
sudo apt-get remove --purge update-notifier-common
share|improve this answer

You can remove execute permission:

chmod -x /etc/update-motd.d/*
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.