• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gethostname returns loginname on "Pather Server" version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: gethostname returns loginname on "Pather Server" version (From: Allan Nathanson <email@hidden>)

  • Prev by Date: Re: gethostname returns loginname on "Pather Server" version
  • Next by Date: Re: gethostname returns loginname on "Pather Server" version
  • Previous by thread: Re: gethostname returns loginname on "Pather Server" version
  • Next by thread: Re: gethostname returns loginname on "Pather Server" version
  • Index(es):
    • Date
    • Thread