sudo - unable to lookup host via gethostbyname()

2002-10-24 Thread Shawn Lamson
Hi all - 

I changed my hostname from callerio to callerio.piscat.nj and now when
i 
invoke sudo i get the followin message:
slamson@callerio:~$ sudo -v
sudo: unable to lookup callerio.piscat.nj via gethostbyname()

this follows across reboots, if however i echo callerio back into 
/proc/sys/kernel/hostname
I no longer get that message... after giving that message sudo
continues to function normally, whatever hostname is set to.  Any idea
what causes this?  

Shawn

=
Shawn Lamson
Debian Gnu\Linux Sid
Kernel 2.4.19-custom
XFree86 Version 4.2.1

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: sudo - unable to lookup host via gethostbyname() SOLVED

2002-10-24 Thread Shawn Lamson
Thanks Morten and Anthony; 
changing /etc/hosts to reflect the new hostname eliminated that error
message.

Shawn
--- Morten Bo Johansen [EMAIL PROTECTED] wrote:
 Shawn Lamson [EMAIL PROTECTED] wrote:
 
 SL Hi all - 
 
 SL I changed my hostname from callerio to callerio.piscat.nj
 SL and now when i invoke sudo i get the followin message:
 SL slamson@callerio:~$ sudo -v sudo: unable to lookup
 SL callerio.piscat.nj via gethostbyname()
 
 Do you have callerio.piscat.nj in /etc/hosts?
 
 
 Regards,
 
 Morten
 
 -- 
 A no smoking section in a resturant is like having a no peeing
  section in a swimming pool. (from /. posting)
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: sudo - unable to lookup host via gethostbyname()

2002-10-24 Thread Morten Bo Johansen
Shawn Lamson [EMAIL PROTECTED] wrote:

SL Hi all - 

SL I changed my hostname from callerio to callerio.piscat.nj
SL and now when i invoke sudo i get the followin message:
SL slamson@callerio:~$ sudo -v sudo: unable to lookup
SL callerio.piscat.nj via gethostbyname()

Do you have callerio.piscat.nj in /etc/hosts?


Regards,

Morten

-- 
A no smoking section in a resturant is like having a no peeing
 section in a swimming pool. (from /. posting)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: sudo - unable to lookup host via gethostbyname()

2002-10-24 Thread Anthony Campbell
On 24 Oct 2002, Shawn Lamson wrote:
 Hi all - 
 
 I changed my hostname from callerio to callerio.piscat.nj and now when
 i 
 invoke sudo i get the followin message:
 slamson@callerio:~$ sudo -v
 sudo: unable to lookup callerio.piscat.nj via gethostbyname()
 
 this follows across reboots, if however i echo callerio back into 
 /proc/sys/kernel/hostname
 I no longer get that message... after giving that message sudo
 continues to function normally, whatever hostname is set to.  Any idea
 what causes this?  
 
 Shawn

Have you made the necessary change in /etc/hosts?

I've been caught in this way in the past.

AC

-- 
[EMAIL PROTECTED]||  http://www.acampbell.org.uk
using Linux GNU/Debian ||  for book reviews, electronic 
Windows-free zone  ||  books and skeptical articles


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]