How does Ubuntu keep track of the “System restart required” flag in motd?
Check for the presence of /var/run/reboot-required.
Check for the presence of /var/run/reboot-required.
Based on the date displayed by your version of OpenSSL, it seems you are seeing the full version displayed there. Open SSL 1.0.1 was released on March 14th, 2012. 1.0.1a was released on April 19th of 2012. So, I’m going to go ahead and assert that openssl version -a is the proper, cross-distro way to … Read more
You need to edit two files: /etc/motd (Message of the Day) /etc/ssh/sshd_config: Change the setting PrintLastLog to “no”, this will disable the “Last login” message. And then restart your sshd.
You are right, the Ubuntu EC2 EBS images don’t come with swap space configured (for 11.04 at least). The “regular” instance-type images do have a swap partition, albeit only 896 MB on the one I tested. If some process blows up and you don’t have swap space, your server could come to a crawling halt … Read more
It’s possible that a process has opened a large file which has since been deleted. You’ll have to kill that process to free up the space. You may be able to identify the process by using lsof. On Linux deleted yet open files are known to lsof and marked as (deleted) in lsof’s output. You … Read more
I got the error message to go away by putting the following in my provisioning script, prior to any apt-get calls: export DEBIAN_FRONTEND=noninteractive This makes debconf use a frontend that expects no interactive input at all, preventing it from even trying to access stdin.
Have you had a look at RNG? Fedora/Rh/Centos types: sudo yum install rng-tools On deb types: sudo apt-get install rng-tools to set it up. Then run sudo rngd -r /dev/urandom before generating the keys. Reference: http://it.toolbox.com/blogs/lim/how-to-generate-enough-entropy-for-gpg-key-generation-process-on-fedora-linux-38022
You almost certainly have set the wrong character set in your PuTTY settings. Verify the character set on the remote system by running the command: locale This should return something like: LANG=de_DE.UTF-8 LC_CTYPE=”de_DE.UTF-8″ LC_NUMERIC=”de_DE.UTF-8″ LC_TIME=”de_DE.UTF-8″ LC_COLLATE=”de_DE.UTF-8″ LC_MONETARY=”de_DE.UTF-8″ LC_MESSAGES=”de_DE.UTF-8″ LC_PAPER=”de_DE.UTF-8″ LC_NAME=”de_DE.UTF-8″ LC_ADDRESS=”de_DE.UTF-8″ LC_TELEPHONE=”de_DE.UTF-8″ LC_MEASUREMENT=”de_DE.UTF-8″ LC_IDENTIFICATION=”de_DE.UTF-8″ LC_ALL= So check your PuTTY settings under Translation and ensure that … Read more
Simple: grep -h -P -o “^Package: \K.*” /var/lib/apt/lists/ppa.launchpad.net_*_Packages | sort -u Or more flexible: grep-dctrl -sPackage . /var/lib/apt/lists/ppa.launchpad.net_*_Packages For fancier querying, use apt-cache policy and aptitude as described here: aptitude search ‘~O LP-PPA-gstreamer-developers’
$ rpcinfo -p | grep nfs Port 111 (TCP and UDP) and 2049 (TCP and UDP) for the NFS server. There are also ports for Cluster and client status (Port 1110 TCP for the former, and 1110 UDP for the latter) as well as a port for the NFS lock manager (Port 4045 TCP and … Read more