Re: gethostname returns loginname on "Pather Server" version
Re: gethostname returns loginname on "Pather Server" version
- Subject: Re: gethostname returns loginname on "Pather Server" version
- From: Justin Walker <email@hidden>
- Date: Fri, 6 Feb 2004 16:48:51 -0800
On Friday, February 6, 2004, at 11:19 AM, Allan Nathanson wrote:
Here's a question. You say that gethostname() returns "admin" (as in
the login name). Does this name change if you login as another user?
I would guess that the name "admin" was entered into some text field
when the system was originally configured and has remained the same
ever since.
It would be instructive if Sanjay could look at the copy of
/etc/hostconfig on the system that is causing him grief, to see what
the line that begins "HOSTNAME=" says.
Cheers,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.