Using "Dapper Drake" 6.06 LTS for 386 architecture, I edited
/etc/hostname directly, and somewhat later discovered that I was locked
out of sudo with the message "sudo: unable to lookup [new server name"
via gethostbyname()," after (I believe) at least one restart.  I had no
idea a script should be invoked when the hostname is changed.

Pat72's comment about simply sudoing the same command over and over
allowed me to unlock it, after between 10 and 20 tries.  So this method
of bug reporting seems good to participate in, even to the minor extent
of clarifying that it seems to happen when /etc/hostname is directly
edited, too.

-- 
Changing hostname using "hostname" breaks sudo
https://bugs.launchpad.net/bugs/113778
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to