|
Home > Archive > Unix administration > October 2007 > /etc/hosts file
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Rakesh UV 2007-10-19, 7:32 am |
| Hi,
i need to add some machines names to my /etc/hosts but i do
not have root privileges.
The way each user can have his on .bashrc, .profile , etc,
can we have a hosts file, where we are free to give whatever name to
out favorite machine, with out disturbing the administrator
I know that we can use alias some machine to ip-address, but is there
any direct method
Rakesh UV
| |
| Thorbjoern Ravn Andersen 2007-10-19, 7:32 am |
| Rakesh UV <uvrakesh@gmail.com> writes:
> i need to add some machines names to my /etc/hosts but i do
> not have root privileges.
What problem are you trying to solve?
If it is that you want to add new machines without to put them in DNS,
then consider using Zeroconf/Bonjour/Rendezvous for this.
Apple has a package for Windows.
For Linux it is sufficient to have Avahi installed on each host, then
machine "foobar" is known as "foobar.local.".
I use this in a mixed Mac/Windows/Linux environment (physical and
virtual) it works well.
--
Thorbjørn Ravn Andersen
|
|
|
|
|