Posts Tagged ‘vim’

Basic System admin Tips in Debian

December 15, 2011 Leave a comment

How to change Log in message.(MOTD-Message of The Day)

sudo vim /etc/motd

 If you want to avoid /etc/motd to be overwritten with the old version upon reboot you also have to edit the following

sudo vim /etc/default/rcS

in this file change the EDITMOTD “yes” to “no”

Changing the computer name

sudo vim /etc/hostname

Categories: Sys Admin Tags: , ,
%d bloggers like this: