Handling resolv.conf on Ubuntu Server 14.04 LTS
gheskett at wdtv.com
Sat Jun 14 13:22:04 UTC 2014
On Saturday 14 June 2014 03:43:58 Niki Kovacs did opine
And Gene did reply:
> Le 14/06/2014 08:45, Tom H a écrit :
> > 2) It's best to use 'service <service> restart' but in the case of
> > '/etc/init/networking.conf' it's best to use 'ifdown eth0 ; ifup
> > eth0' (IIRC 'service networking restart' and '[initctl] restart
> > networking' error out).
> The problem with that is that if I invoke it in an SSH session on a
> root server, I'm kicked out.
And you should be as you are restarting the service that is the ssh path.
Is there some reason you cannot log in again?
> In a nutshell, how do I go about this on a root server ?
Use minicom to a serial port? Will have to be hard-wired of course.
Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
More information about the ubuntu-users