Re: User specific "/etc/hosts" ?



Unruh wrote:
"howa" <howachen@xxxxxxxxx> writes:


David Schwartz =BCg=B9D=A1G

howa wrote:
rather than the main /etc/hosts

can each user has their own version of file?

thanks.
No, but you can likely achieve whatever result you're trying to
achieve. Linux gives you a lot of control over applications that do
things the normal way. (But there may be little to nothing you can do
about applications that do things their own way.)

DS

well, for example, i need to get file using wget
http://www.mycompany.com

use the IP address.

http://111.222.333.44


but i mycomapny.com cannot be allowed to define in /etc/hosts, what can
i do?

Why not? And why is www.mycompany.com not in the dns tables?

Maybe he does not have internet access ;-)

--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 < http://giovanni.homelinux.net/ >
.



Relevant Pages

  • Re: User specific "/etc/hosts" ?
    ... Unruh 寫道: ... Linux gives you a lot of control over applications that do ... And why is www.mycompany.com not in the dns tables? ...
    (comp.os.linux.networking)
  • Re: Linux Applications for OS X
    ... I hear that you can get most Linux applications installed for OS X. ... If you're willing to live with an ancient version of GNOME (the version in Fink) or build GNOME yourself against Apple's X11. ...
    (comp.sys.mac.advocacy)
  • Re: Big Mac Hoax 2: "OS X is Unix"
    ... moving from OS X to Linux I would also have to relearn... ... * We disagree as to which OS, OS X or Ubuntu, has a more consistent UI. ... Applications are, by their nature, system-wide files. ... * Standard OS X software packages have no dependency issues. ...
    (comp.sys.mac.advocacy)
  • Re: Linux Applications for OS X
    ... I hear that you can get most Linux applications installed for OS X. ... If you're willing to live with an ancient version of GNOME or build GNOME yourself against Apple's X11. ... You just named a large portion of the *nix apps with specific Mac ports, ...
    (comp.sys.mac.advocacy)
  • Re: The argument for fs assistance in handling archives
    ... because Apple customers are a captive lot... ... applications, ... > into a niche market). ... and Linux will be reduced to aping them when it should be leading ...
    (Linux-Kernel)